Skip to main content

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.

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)

Source distribution for mcpshape 0.1.2
File Size Uploaded
mcpshape-0.1.2.tar.gz 132.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcpshape 0.1.2
File Interpreter ABI Platform
mcpshape-0.1.2-py3-none-any.whl Python 3 none any Details

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 log

Release 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 log

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page