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

  • 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.

  • Hosted MCP endpoint with realistic fake data for prototyping agents. 12 tools, no setup.

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