π Give Claude Code your own API
Stack β Trigger: Claude Code / any MCP client Β· Tools: your API (any schema) Β· Gateway: MCP (+ A2A, UTCP) Β· Auth: x-api-key Β· Output: Claude calls your API
Who itβs for β anyone who wants Claude Code, Cursor, or Claude Desktop to call an API they already run.
This recipe is real β the Petstore MCP gateway below is live in the demo org, serving 19 Swagger Petstore tools over MCP with 14 real requests logged.
Build it
-
Connect the API. In APIs β Connect API, paste a schema URL β OpenAPI, GraphQL, SOAP/WSDL, or Protobuf. almyty generates a typed tool for every operation. (The demo imported Swagger Petstore: 19 operations β 19 tools.)

-
Publish an MCP gateway. Group the tools to expose and publish them as an MCP gateway, then generate an
x-api-keyon its Authentication panel. Scope exactly which tools it serves β here, 19 of 55 available tools.
-
Grab the endpoint. The gatewayβs Integrations tab gives you the live MCP endpoint (
https://api.almyty.com/{org}/{gateway}), plus SSE and discovery URLs:
-
Add it to your client and use it:
claude mcp add petstore --transport http https://api.almyty.com/northwind-ai/petstore # clients send: x-api-key: <your gateway key>> look up pet #2 and show its status Claude calls getPetById via almyty β "Rosie", available
Make it yours
- The same gateway also speaks A2A and UTCP, so other agents and clients reach identical tools.
- Rotate or revoke keys per client from the Authentication panel (the demo has three: a default key, a quickstart key, and a docs key).
- Front a legacy SOAP service the same way.
Uses β Platform Β· MCP Β· Claude Code