MCP — local & hosted
ForgeDeck speaks the Model Context Protocol (MCP) both locally and in the cloud.
Local MCP server
Out of the box, ForgeDeck can expose a localhost MCP server over Streamable HTTP at
/mcp. It's disabled by default — enable it in Settings. Destructive tools are
gated behind an explicit opt-in and a confirmation prompt.
Hosted MCP gateway
On Pro and above, ForgeDeck offers a hosted, multi-tenant MCP gateway. Create an API key in your account, then point an MCP client at the gateway with that key as a bearer token:
curl -X POST https://mcp.forgedeck.15.204.158.166.sslip.io/mcp \
-H "Authorization: Bearer fdk_your_key" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"forge_list_tools"}'
The gateway authorizes your key against your plan's capabilities — hosted MCP requires
the hosted-mcp capability.