API to MCP
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 MCPadd the user service with get user endpoint"
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
把任意 REST API 端点快速转换成 MCP tools,让 AI 客户端(Cursor、Claude Desktop 等)直接调用你的内网服务。
快速开始
cd api-to-mcp
pip install -r requirements.txt
python main.py --port 8000Web UI: http://localhost:8000/ui
MCP 端点: http://localhost:8000/mcp
Related MCP server: API-to-MCP Converter
使用流程
打开配置页面,点击「添加服务」
填写服务名称、Base URL、请求头
点击「+ 端点」,配置方法、路径、参数、描述
点击「发送测试请求」验证 API 可达
测试通过后,点击「添加到 MCP」完成注册
MCP 客户端配置
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"my-api": {
"url": "http://your-server:8000/mcp"
}
}
}配置示例
services:
- name: "user-service"
base_url: "http://192.168.1.100:8080/api"
headers:
Authorization: "Bearer xxx"
endpoints:
- name: "get_user"
method: "GET"
path: "/users/{user_id}"
description: "根据用户ID获取用户信息"
parameters:
- name: "user_id"
type: "string"
required: true
location: "path"
verified: true架构
┌──────────────┐ ┌──────────────┐ ┌────────────────┐
│ Web UI (/ui)│────▶│ main.py │────▶│ FastMCP Server│
│ 配置/测试 │ │ loader.py │ │ /mcp (HTTP) │
└──────────────┘ │ http_client │ └────────────────┘
└──────────────┘ │
▼
MCP ClientThis server cannot be installed
Maintenance
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
- Alicense-qualityDmaintenanceAutomatically converts any OpenAPI specification or Postman Collection into an MCP server, enabling AI assistants like Claude to directly interact with REST APIs without writing any code.Last updatedApache 2.0
- Alicense-qualityDmaintenanceConverts any REST API into MCP-compatible tools instantly by providing an OpenAPI/Swagger spec, enabling seamless integration with AI agents.Last updatedMIT
- Alicense-qualityAmaintenanceTurns any OpenAPI/Swagger API into MCP tools, enabling AI assistants to call REST API endpoints directly.Last updated2MIT
- Alicense-qualityCmaintenanceBridges LLM clients with existing RESTful microservices by converting MCP tool calls into REST requests, enabling any REST API to be used as an MCP tool without modifying the microservices.Last updated1,023,4921MIT
Related MCP Connectors
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.
Free public MCP for AI agents — 193 tools, 44 workflows. No API key.
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/husw725/api-to-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server