Skip to main content
Glama
API-to-MCP Converter

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Automatically converts Swagger/OpenAPI specifications into MCP servers, enabling AI agents to interact with any REST API through natural language by exposing endpoints as AI-friendly tools.
      3
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Converts any OpenAPI/Swagger API specification into MCP tools that AI assistants can use to interact with the API.
      23 npm
      7
      MIT