Metadata-Version: 2.4
Name: agentforge-mcp
Version: 0.2.3
Summary: Model Context Protocol integration for AgentForge
Project-URL: Homepage, https://github.com/Scaffoldic/agentforge-py
Project-URL: Repository, https://github.com/Scaffoldic/agentforge-py
Project-URL: Documentation, https://github.com/Scaffoldic/agentforge-py
Project-URL: Changelog, https://github.com/Scaffoldic/agentforge-py/blob/main/CHANGELOG.md
Project-URL: Issues, https://github.com/Scaffoldic/agentforge-py/issues
Author: The AgentForge Authors
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: agent,ai,interop,mcp,model-context-protocol
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Python: >=3.13
Requires-Dist: agentforge-core~=0.2.3
Provides-Extra: mcp
Requires-Dist: mcp<2,>=1.0; extra == 'mcp'
Description-Content-Type: text/markdown

# agentforge-mcp

[Model Context Protocol](https://modelcontextprotocol.io)
integration for AgentForge (feat-013).

Adds the `mcp` protocol entry to `agentforge.yaml`:

```yaml
modules:
  protocols:
    - name: mcp
      config:
        servers:
          - name: filesystem
            transport: stdio
            command: "npx -y @modelcontextprotocol/server-filesystem /work"
          - name: github
            transport: stdio
            command: "uvx mcp-server-github"
            env:
              GITHUB_TOKEN: "${GITHUB_TOKEN}"
          - name: my-internal-tools
            transport: http
            url: "http://internal:8080/mcp"
        expose:
          enabled: true
          transport: stdio
          tools: ["lookup_user", "create_ticket"]
```

```bash
agentforge add module mcp
```

Each consumed MCP server's tools land in `agent.tools` with a
server-name prefix (`filesystem.read_file`,
`github.create_issue`). When `expose.enabled` is set, the agent
runs an MCP server alongside; other agents (Claude Desktop,
Cursor, LangChain) can call into it.
