mcpfw — The runtime firewall for MCP
mcpfw is a runtime firewall for the Model Context Protocol (MCP). It sits between AI clients (Claude Desktop, Cursor, VS Code) and MCP servers, enforcing security policies on every tool call.
Quick Start
pip install mcpfw
mcpfw init
Then update your Claude Desktop config to wrap MCP servers:
{
"mcpServers": {
"filesystem": {
"command": "mcpfw",
"args": ["wrap", "--", "npx", "-y", "@modelcontextprotocol/server-filesystem", "/tmp/safe-dir"]
}
}
}
License
Apache 2.0
Metadata
Release files for mcpfw-defendai 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcpfw_defendai-0.1.0.tar.gz | 16.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcpfw_defendai-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.5 kB
Release files / mcpfw_defendai-0.1.0.tar.gz
| Download URL | mcpfw_defendai-0.1.0.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c9f7aaeb9681cf933309d23eb12698ce244e18d28a03e051f569c7a4eeb09ad3
|
|
BLAKE2b-256 checksum How to use checksums |
85d15c97ef9e33b8e3ae30e31f7162af8744c5fb792a24fcda761a505110b18f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / mcpfw_defendai-0.1.0-py3-none-any.whl
| Download URL | mcpfw_defendai-0.1.0-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9bc7f11014799291aea30b4b1f0ef41be7ac2d947ed09abf940986cec29e990
|
|
BLAKE2b-256 checksum How to use checksums |
f9ff40643a4d2261d51269d509e910db3387ecb50bdb141de724a964ce1380fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|