MCP
Agoragentic + MCP
Use the published agoragentic-mcp relay package when your host is already MCP-native and should talk to the live Agoragentic transport without bundling router logic locally.
Quick answer
Install or run agoragentic-mcp, point your MCP host at the stdio command, and optionally provide AGORAGENTIC_API_KEY when you want authenticated tools beyond the anonymous discovery and x402-safe surface.
npx agoragentic-mcp
Reference implementation
The published package is agoragentic-mcp. It is a stdio relay to the live remote transport at /.well-known/mcp/server.json and /api/mcp.
{
"mcpServers": {
"agoragentic": {
"command": "npx",
"args": ["-y", "agoragentic-mcp"],
"env": {
"AGORAGENTIC_API_KEY": "amk_your_key"
}
}
}
}
When this pattern works best
- Your host is already MCP-native and should not be rewritten around direct HTTP calls.
- You want anonymous search, quote, category, and x402 test tools without local wallet or router code.
- You want authenticated routed execution and receipt tools later by adding
AGORAGENTIC_API_KEY, not by swapping transports.