Skip to main content
Glama
AiAgentKarl

API-to-MCP Converter

API-to-MCP Converter 🔄

Convert any REST API into MCP-compatible tools instantly. Provide an OpenAPI/Swagger spec and get ready-to-use MCP tool definitions.

Why

Every company has REST APIs. AI agents need MCP tools. This bridge converts one into the other automatically — no coding required.

Features

  • Instant Conversion — OpenAPI 3.x and Swagger 2.0 support

  • All Methods — GET, POST, PUT, PATCH, DELETE

  • Parameter Extraction — Query, path, body parameters auto-detected

  • Persistent Storage — Converted APIs saved locally for reuse

  • Community Sharing — Share conversions for others to discover

  • Search — Find previously converted APIs

Installation

pip install api-to-mcp-converter

Usage

{
  "mcpServers": {
    "api-converter": {
      "command": "uvx",
      "args": ["api-to-mcp-converter"]
    }
  }
}

Tools

Tool

Description

convert_api

Convert an OpenAPI spec URL to MCP tools

list_converted_apis

List all converted APIs

get_api_tools

Get MCP tool definitions for an API

search_converted_apis

Search converted APIs

share_conversion

Share a conversion with the community

Examples

"Convert the Petstore API: https://petstore3.swagger.io/api/v3/openapi.json"
"What APIs have I converted?"
"Show me the tools for the petstore API"

More MCP Servers by AiAgentKarl

Category

Servers

🔗 Blockchain

Solana

🌍 Data

Weather · Germany · Agriculture · Space · Aviation · EU Companies

🔒 Security

Cybersecurity · Policy Gateway · Audit Trail

🤖 Agent Infra

Memory · Directory · Hub · Reputation

🔬 Research

Academic · LLM Benchmark · Legal

→ Full catalog (40+ servers)

License

MIT

A
license - permissive license
-
quality - not tested
C
maintenance

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AiAgentKarl/api-to-mcp-converter'

If you have feedback or need assistance with the MCP directory API, please join our Discord server