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-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"
License
MIT
Metadata
Release files for api-to-mcp-converter 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| api_to_mcp_converter-0.1.0.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| api_to_mcp_converter-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.7 kB
Release files / api_to_mcp_converter-0.1.0.tar.gz
| Download URL | api_to_mcp_converter-0.1.0.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a49e50c1d1b38846ff2382873785a2edee745cf8fd1130e6dcfef74d3b74a29c
|
|
BLAKE2b-256 checksum How to use checksums |
0c12fd804c668fdeb64c832535b0ab42db07bb9dbd08c08c6939c6ebfe746afc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / api_to_mcp_converter-0.1.0-py3-none-any.whl
| Download URL | api_to_mcp_converter-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c2de460177f2066f3ae5cfa27a2b59cb14dec8fd27c1e87512d9ad67b2d61a6c
|
|
BLAKE2b-256 checksum How to use checksums |
6f918f6324daab6d8e6559bfb3c91932d1a55f6fdf584d684ec73a034643bad8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|