{"_id":"@cadreen/mcp","_rev":"2-7b9acc803e9499c625941140c09037d5","name":"@cadreen/mcp","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@cadreen/mcp","version":"0.1.0","license":"MIT","_id":"@cadreen/mcp@0.1.0","maintainers":[{"name":"timothy-billingrails","email":"timothy@billingrails.com"}],"bin":{"cadreen-mcp":"dist/index.js"},"dist":{"shasum":"3d0e04b81a4de8c46ecbc136dc16c3ce7cf1a16b","tarball":"https://registry.npmjs.org/@cadreen/mcp/-/mcp-0.1.0.tgz","fileCount":2,"integrity":"sha512-Bg+2hxyxfnebnDf5J03Sv1DfSTmLS7NijIck8+wkV/VgvekZqFRsXGoRMsr620lpx4bqaq+cSpMM95ElfXrh0A==","signatures":[{"sig":"MEUCID49t9rvzkEseVghPd4n596US4LPdIsNHXSfD+K5oVzLAiEAwuprazu6pbfM4OTGsGfdMSeW6Bg45qYb7NnQKwYz5kE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4931},"main":"dist/index.js","type":"module","engines":{"node":">=18"},"gitHead":"66f7936d58e62bfe45d8067f3449fe3ba2955b0a","scripts":{"dev":"tsx src/index.ts","build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"timothy-billingrails","email":"timothy@billingrails.com"},"_npmVersion":"11.6.1","description":"MCP server for Cadreen — intelligence infrastructure for agents","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.22.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.0.0","typescript":"^5.3.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.1.0_1784015905797_0.579782741584596","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@cadreen/mcp","version":"0.1.2","description":"MCP server for Cadreen — intelligence infrastructure for agents","license":"MIT","type":"module","main":"dist/index.js","bin":{"cadreen-mcp":"dist/index.js"},"scripts":{"build":"tsc","dev":"tsx src/index.ts","start":"node dist/index.js"},"dependencies":{"@modelcontextprotocol/sdk":"^1.0.0","zod":"^3.22.0"},"devDependencies":{"@types/node":"^20.0.0","tsx":"^4.0.0","typescript":"^5.3.0"},"engines":{"node":">=18"},"gitHead":"9cd017b219106605e90676eedabdd08ed4e56dc5","types":"./dist/index.d.ts","_id":"@cadreen/mcp@0.1.2","_nodeVersion":"22.14.0","_npmVersion":"11.6.1","dist":{"integrity":"sha512-ZUFF0LJIwfW0hX2IHQNr2nyTr2akVW8ns/F01r3V7EE92aPih/fbGT6cFwtTm2zlkiHgZMWDN81nNBosNbigqA==","shasum":"6449c9133363e6a8a09e1372c297b851572b852e","tarball":"https://registry.npmjs.org/@cadreen/mcp/-/mcp-0.1.2.tgz","fileCount":5,"unpackedSize":33990,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDdDcsYIMObfEkUVSnnI1omG49RX74WhHOtdzEtLQMRgAIgRj+NXtmfkB9iee8I93/orlesgeXkNuIeR87lH9KCt9g="}]},"_npmUser":{"name":"timothy-billingrails","email":"timothy@billingrails.com"},"directories":{},"maintainers":[{"name":"timothy-billingrails","email":"timothy@billingrails.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.1.2_1784619059480_0.9169033349759881"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-14T07:58:25.705Z","modified":"2026-07-21T07:30:59.779Z","0.1.0":"2026-07-14T07:58:25.933Z","0.1.2":"2026-07-21T07:30:59.618Z"},"license":"MIT","description":"MCP server for Cadreen — intelligence infrastructure for agents","maintainers":[{"name":"timothy-billingrails","email":"timothy@billingrails.com"}],"readme":"# @cadreen/mcp\r\n\r\nMCP server for [Cadreen](https://accomplishanything.today/infra/docs) — intelligence infrastructure for agents.\r\n\r\nThis server lets any MCP-compatible LLM use Cadreen's capabilities: intent routing, agent management, knowledge, governance, federation, external agents, and the Responses API.\r\n\r\n**22 tools** covering the full Cadreen API surface.\r\n\r\n## Install\r\n\r\n```bash\r\nnpm install -g @cadreen/mcp\r\n```\r\n\r\n## Configure\r\n\r\nSet your Cadreen API key:\r\n\r\n```bash\r\nexport CADREEN_API_KEY=\"sk_cadreen_...\"\r\n```\r\n\r\nOptional: set a custom base URL (default: `https://accomplishanything.today`):\r\n\r\n```bash\r\nexport CADREEN_BASE_URL=\"https://your-instance.cadreen.com\"\r\n```\r\n\r\n## Use with Claude Desktop\r\n\r\nAdd to your Claude Desktop config (`~/.claude/claude_desktop_config.json`):\r\n\r\n```json\r\n{\r\n  \"mcpServers\": {\r\n    \"cadreen\": {\r\n      \"command\": \"cadreen-mcp\",\r\n      \"env\": {\r\n        \"CADREEN_API_KEY\": \"sk_cadreen_...\"\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n## Use with any MCP client\r\n\r\n```bash\r\n# Run the server\r\ncadreen-mcp\r\n\r\n# Or with npx\r\nnpx @cadreen/mcp\r\n```\r\n\r\nThe server communicates over stdio using the MCP protocol.\r\n\r\n## Hosted SSE\r\n\r\nPrefer not to install anything? Cadreen exposes a hosted MCP SSE endpoint — connect any MCP-compatible client directly to Cadreen without installing the npm package.\r\n\r\n- **SSE endpoint:** `GET /api/v1/cadreen/mcp/sse`\r\n- **Message endpoint:** `POST /api/v1/cadreen/mcp/message`\r\n\r\nPoint your MCP client at `https://accomplishanything.today/api/v1/cadreen/mcp/sse` with your `CADREEN_API_KEY` and Cadreen acts as an MCP server over SSE.\r\n\r\n## Available Tools\r\n\r\n| Tool | Description |\r\n|------|-------------|\r\n| **Intent** | |\r\n| `cadreen_intent` | Send a request. Describe what you want done. |\r\n| **Agents** | |\r\n| `cadreen_agents_list` | List all agents in your workspace. |\r\n| `cadreen_agents_create` | Create a new agent. |\r\n| `cadreen_agents_get` | Get agent details, status, and health. |\r\n| **Knowledge** | |\r\n| `cadreen_knowledge_search` | Search an agent's knowledge base. |\r\n| `cadreen_knowledge_add` | Teach an agent something new. |\r\n| **Governance** | |\r\n| `cadreen_governance_list` | List governance policies. |\r\n| `cadreen_governance_create` | Create a governance policy. |\r\n| **Federation** | |\r\n| `cadreen_federation_list` | List federation links. |\r\n| `cadreen_federation_create` | Create a federation link. |\r\n| **Responses** | |\r\n| `cadreen_responses_create` | Create an OpenAI-compatible response. |\r\n| **External Agents (A2A)** | |\r\n| `cadreen_external_agents_list` | List external A2A connections for an agent. |\r\n| `cadreen_external_agents_list_all` | List all external connections across workspace. |\r\n| `cadreen_external_agents_connect` | Connect to an external agent via Agent Card URL. |\r\n| `cadreen_external_agents_get` | Get connection details, status, and capabilities. |\r\n| `cadreen_external_agents_approve` | Approve a pending connection. |\r\n| `cadreen_external_agents_suspend` | Suspend an active connection. |\r\n| `cadreen_external_agents_revoke` | Revoke a connection permanently. |\r\n| `cadreen_external_agents_delete` | Delete a connection. |\r\n| `cadreen_external_agents_list_interactions` | List tasks sent/received for a connection. |\r\n| `cadreen_external_agents_get_settings` | Get workspace external agent settings. |\r\n| `cadreen_external_agents_update_settings` | Enable/disable external agents. |\r\n\r\n## Resources\r\n\r\n| Resource | Description |\r\n|----------|-------------|\r\n| `agent-card:///{agent_id}` | Get agent details as a resource. |\r\n\r\n## Prompts\r\n\r\n| Prompt | Description |\r\n|--------|-------------|\r\n| `create_agent` | Create a new agent with knowledge and governance. |\r\n| `teach_agent` | Teach an agent something new. |\r\n\r\n## Examples\r\n\r\n### Ask Cadreen to do something\r\n\r\n```\r\nUse cadreen_intent with message: \"Refund order 12345 and notify the customer\"\r\n```\r\n\r\n### Teach an agent something\r\n\r\n```\r\nUse cadreen_knowledge_add with:\r\n  agent_id: \"agent_123\"\r\n  subject: \"refund policy\"\r\n  content: \"Refunds require manager approval for amounts over $100\"\r\n```\r\n\r\n### Create a governance policy\r\n\r\n```\r\nUse cadreen_governance_create with:\r\n  agent_id: \"agent_123\"\r\n  name: \"refund approval\"\r\n  description: \"Require approval for refunds over $50\"\r\n```\r\n\r\n## Changelog\r\n\r\n### v0.1.2\r\n- Removed incorrect compatibility advisory referencing 0.7.0/0.7.1 — MCP uses its own version scheme\r\n\r\n### v0.1.0\r\n- Initial release\r\n\r\n## License\r\n\r\nMIT\r\n","readmeFilename":"README.md"}