MCP adapter for CapForge — ACM-controlled AI agent tool execution via the Model Context Protocol
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"capforge-mcp","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# CapForge MCP Adapter **ACM-controlled AI agent tool execution via the Model Context Protocol.** --- ## Overview `capforge-mcp` is the official [Model Context Protocol](https://modelcontextprotocol.io/) integration for [CapForge](https://github.com/shashank123r/capforge). It lets you protect every MCP tool invocation against an [Agent Capability Manifest (ACM)](https://github.com/shashank123r/capforge/blob/main/SPEC.md) — a signed policy document that defines what actions an agent is allowed to perform. Every tool call passes through `ACM.check()` before execution. Unauthorized attempts are rejected with a structured `MCPPermissionError`. ## Installation ```bash pip install capforge-mcp ``` Requires Python 3.12+. ## Quick Start ```python from capforge import ACM from capforge_mcp import ACMProtectedMCP # Load your signed capability manifest acm = ACM.load("manifest.json") # Create an ACM-protected MCP server mcp = ACMProtectedMCP("MyServer", acm=acm) # Register a protected tool @mcp.tool(resource="email", action="send") def send_email(to: str, body: str) -> str: return f"Sent to {to}: {body}" # Run the server mcp.run(transport="stdio") ``` ## API | Symbol | Description | |:-------|:------------| | `ACMProtectedMCP` | `FastMCP` wrapper with built-in ACM authorization | | `acm_protected` | Decorator for adding ACM checks to any MCP tool | | `MCPPermissionError` | Structured error raised on denied tool invocations | ## Dependency `capforge-mcp` requires the [capforge](https://pypi.org/project/capforge/) core package (`pip install capforge`) and the [MCP Python SDK](https://pypi.org/project/mcp/) (`mcp>=1.28,<2`). Both are installed automatically as dependencies. ## License Apache 2.0
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.