anyapi-mcp

Ask your model to use any API.

anyapi-mcp is one local MCP server for all the APIs your model needs. Register as many as you want - OpenAPI specs, GraphQL endpoints, SOAP/WSDL services, AT Protocol services like Bluesky - and your model searches and calls whichever the task needs by writing code against a typed client. It can even register new ones mid-conversation. No tool per endpoint, no restart.

Install
$curl -fsSL https://gabrielbauman.github.io/anyapi-mcp/install.sh | sh

Builds from source · needs Deno 2.x · macOS or Linux

Then

  1. Ask your model to register an API - give it any OpenAPI, GraphQL, SOAP, or AT Protocol URL.
  2. Ask your model to use it. It searches, writes a short program, and runs it.

Prefer the terminal? It's a full CLI too - anyapi-mcp add, list, login, and more (anyapi-mcp --help).

A handful of tools, not hundreds

search

Find the operations you need by keyword.

execute

Run TypeScript against a typed client in a locked-down sandbox.

add_api

Register more APIs on the fly, no restart.

These are the three you'll use most (a few more handle listing, removing, and signing in). The set is fixed - it never grows into one tool per endpoint, however many APIs you register. The model writes code and runs it, and intermediate results stay in the sandbox instead of round-tripping through the model, so a ten-step workflow costs one tool call and a handful of tokens, not ten.