Skip to main content
Glama
AiAgentKarl

API-to-MCP Converter

by AiAgentKarl

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: openapi-mcp-server

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
D
maintenance

Maintenance

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

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    F
    maintenance
    Converts any OpenAPI/Swagger API specification into MCP tools that AI assistants can use to interact with the API.
    Last updated
    30
    7
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    Exposes any REST API as MCP tools, enabling AI agents to discover and call existing HTTP endpoints without modifying the original API.
    Last updated

View all related MCP servers

Related MCP Connectors

  • Free public MCP for AI agents — 193 tools, 44 workflows. No API key.

  • Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.

  • Connect any AI agent to 11+ social platforms: schedule, publish & track posts via hosted MCP.

View all MCP Connectors

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