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.

Related MCP server: Swagger MCP

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

Maintenance

โ€“Maintainers
โ€“Response time
โ€“Release cycle
โ€“Releases (12mo)
Commit activity

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