API-to-MCP Converter
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@API-to-MCP ConverterConvert the Petstore API spec from https://petstore3.swagger.io/api/v3/openapi.json"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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-converterUsage
{
"mcpServers": {
"api-converter": {
"command": "uvx",
"args": ["api-to-mcp-converter"]
}
}
}Tools
Tool | Description |
| Convert an OpenAPI spec URL to MCP tools |
| List all converted APIs |
| Get MCP tool definitions for an API |
| Search converted APIs |
| 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 | |
🌍 Data | Weather · Germany · Agriculture · Space · Aviation · EU Companies |
🔒 Security | |
🤖 Agent Infra | Memory · Directory · Hub · Reputation |
🔬 Research |
License
MIT
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