Model Context Protocol server for Secure Proxy Manager — manage the proxy + WAF + DNS stack from an AI assistant/agent.
pip install spm-mcp==0.2.0 Copy PIP instructions
A Model Context Protocol server that exposes the Secure Proxy Manager management API as tools — so an assistant/agent (e.g. Claude) can inspect and drive your self-hosted Secure Web Gateway: query traffic and analytics, manage block/allow lists, toggle WAF rule categories, and reload config.
The server is read-only by default. The mutating tools are registered only with SPM_MCP_READONLY=false. The read tools return traffic data that anyone whose requests cross the proxy can shape (URLs, domains, user agents), so text in a log row can try to instruct the model; with the mutating tools available, an auto-approved call could disable a WAF category or open egress. Traffic output is wrapped in {"untrusted_data_notice": ..., "data": ...}, and every tool carries MCP annotations (readOnlyHint, destructiveHint) for the client's approval prompt. If you enable the mutating tools, do not auto-approve them.
SPM_URL=http://localhost:5001 SPM_USERNAME=admin SPM_PASSWORD=... \ uvx --from . spm-mcp Or in Claude Desktop / any MCP client — add to the MCP servers config:
{ "mcpServers": { "secure-proxy-manager": { "command": "uvx", "args": ["spm-mcp"], "env": { "SPM_URL": "http://localhost:5001", "SPM_USERNAME": "admin", "SPM_PASSWORD": "your-password" } } } } Or as a container (see Dockerfile) — an optional mcp service can be added to the stack's compose profile.
All 2 files in this release have provenance metadata.
mcp model-context-protocol proxy secure-web-gateway self-hosted waf
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.
All 2 files in this release have been uploaded with provenance metadata.
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.




