MCP Hub Logo

OpenAPI Caller

Point your AI at any OpenAPI/Swagger spec and it can call every endpoint automatically. Universal API connector.

openapiswaggerapirestuniversal
CuratedLast reviewed: Dec 6, 2024API Key Required

About

OpenAPI Caller

Turn any API with an OpenAPI spec into a set of tools your AI can call. Point it at a spec URL or local file, provide your API key, and your AI gains full access to every endpoint.

Setup

{
  "mcpServers": {
    "openapi-caller": {
      "command": "npx",
      "args": ["-y", "@mcphub/openapi-caller"],
      "env": {
        "OPENAPI_SPEC_URL": "https://api.example.com/openapi.json",
        "API_BEARER_TOKEN": "Bearer eyJ..."
      }
    }
  }
}

Example Prompts

  • "Call the /users endpoint to list all users"
  • "Create a new order using the POST /orders endpoint"
  • "What endpoints does this API have?"

Permissions & Access

No special permissions required.