mcpshape
Reshape what MCP servers expose before a model sees it.
An MCP server as shipped offers every tool it has, described at whatever length its author chose, and most Clients take it whole or not at all. mcpshape is a local proxy between the servers you use and the Clients that use them. You add a server once as an Upstream, and mcpshape serves one or more Proxies for it, each a curated MCP server of its own: tools hidden, renamed, re-described, capped, rewritten in Python, or added, before a model sees them. Clients are pointed at the Proxy.
Install
Python 3.12 or newer, macOS or Linux.
uv tool install mcpshape
brew install voidfreud/mcpshape/mcpshape
Either line installs the command: the first from PyPI, the second from the Homebrew tap. From
this repository instead, uv tool install git+https://github.com/voidfreud/mcpshape; from a
checkout, uv tool install ., and uv sync with uv run mcpshape runs it in place. mcpshape
makes no network call except to your Upstreams.
First steps
mcpshape add github --stdio 'npx -y @modelcontextprotocol/server-github'
mcpshape upstream sync github
mcpshape tool hide github/default create_gist
mcpshape proxy install github/default --to claude-code
mcpshape daemon up
Every command explains itself with an example: mcpshape --help, and --help on any command.
How work lands is CONTRIBUTING.md.
Metadata
Release files for mcpshape 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mcpshape-0.1.2.tar.gz | 132.3 kB | With provenance | Details for mcpshape-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mcpshape-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for mcpshape-0.1.2-py3-none-any.whl |
Total release size: 288.9 kB
Release files / mcpshape-0.1.2.tar.gz
| Download URL | mcpshape-0.1.2.tar.gz |
|---|---|
| Size | 132.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
30ef3d99539a2af836e2710a98c4d052badbe1cf94f02e79ffd8c13f57ebf972
|
|
BLAKE2b-256 checksum How to use checksums |
a3d2be16cad23037f1627403335db4543664847dbdc5b6440d7ec56fb9da6578
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.
Transparency logRelease files / mcpshape-0.1.2-py3-none-any.whl
| Download URL | mcpshape-0.1.2-py3-none-any.whl |
|---|---|
| Size | 156.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
281e33535578775415cd769b740032b89f8f3cd71e731d8dd46ea196db21d510
|
|
BLAKE2b-256 checksum How to use checksums |
fe01cd1d14386b0d759fea22724ae6f4145334a26b135596d9fa7a81a0f3802d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.
Transparency logSecurity for mcpshape 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for mcpshape-0.1.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.