Skip to main content

The runtime firewall for Model Context Protocol (MCP)

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcpfw_defendai-0.1.0.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcpfw_defendai-0.1.0-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file mcpfw_defendai-0.1.0.tar.gz.

File metadata

  • Download URL: mcpfw_defendai-0.1.0.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for mcpfw_defendai-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c9f7aaeb9681cf933309d23eb12698ce244e18d28a03e051f569c7a4eeb09ad3
MD5 3558f9b56f77d9754c424408a15fec86
BLAKE2b-256 85d15c97ef9e33b8e3ae30e31f7162af8744c5fb792a24fcda761a505110b18f

See more details on using hashes here.

File details

Details for the file mcpfw_defendai-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mcpfw_defendai-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for mcpfw_defendai-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a9bc7f11014799291aea30b4b1f0ef41be7ac2d947ed09abf940986cec29e990
MD5 beba11ad95e6773b5ed3acbbd64641ef
BLAKE2b-256 f9ff40643a4d2261d51269d509e910db3387ecb50bdb141de724a964ce1380fa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page