Instant-MCP Studio
⚡ Instant-MCP Studio
自主零成本 OpenAPI 与 REST 到生产级 FastMCP 服务器生成器
Instant-MCP Studio 可将任何 OpenAPI v3.1 / v3.0 / Swagger 2.0 规范(JSON、YAML 或实时 URL)在 1 秒内转换为生产就绪、类型安全的 FastMCP Python 服务器——并配备时尚的毛玻璃本地主机工作室和 1 键 Claude Desktop / Cursor IDE 集成。
🌟 为什么选择 Instant-MCP?
现有的 OpenAPI 生成器存在重大缺陷:
❌ 令牌破产: 将 150 个工具塞入 Claude 的上下文窗口,导致工具调用失败。
❌ 标准输出污染: 终端打印语句会破坏 JSON-RPC 流并导致 Claude Desktop 崩溃。
❌ 手动配置麻烦: 处理 Windows/Mac JSON 路径和转义错误。
Instant-MCP 通过以下方式解决这些问题:
✅ 智能端点修剪: 使用可视化复选框仅选择您需要的 5-10 个工具。
✅ 1 键 Claude 与 Cursor 注入: 自动写入
%APPDATA%\Claude\claude_desktop_config.json,零路径错误。✅ 零成本本地工作室: 完全在本地运行,配备深色模式 Monaco 代码编辑器。
✅ 循环引用防御: 强大的循环感知解析器,防止递归错误。
Related MCP server: mcp-forge
🚀 快速入门
1. 启动 Web 工作室
python -m instant_mcp.cli studio --port 8765在浏览器中打开 http://127.0.0.1:8765。
2. 或从 CLI 生成
python -m instant_mcp.cli generate https://petstore.swagger.io/v2/swagger.json --output ./petstore_mcp.py --install-claude🏗️ 架构
graph TD
A[OpenAPI / Swagger JSON] --> B[Cycle-Aware AST Parser]
B --> C[Intermediate Representation IR]
C --> D[Smart Endpoint Filter]
D --> E[Jinja2 + Pydantic FastMCP Codegen]
E --> F[1-Click Claude Desktop / Cursor Injector]
E --> G[Live Monaco Studio Preview]👤 作者
Mohit Yadav (@MojoRohjo)
构建 AI 驱动的搜索引擎与 MCP 工作流。
GitHub: @MojoRohjo
LinkedIn: Mohit Yadav
Related MCP Connectors
- TypeshipOAuthdev.typeship
Generate a typed SDK, CLI, and MCP server from any OpenAPI or GraphQL spec, and keep them current.
AI-native mock API server with MCP. Create REST/SOAP mocks from Claude, Cursor, or Windsurf.
Build, validate, deploy — HTTP APIs, cron jobs, webhooks and MCP tools — from your AI client.
Create hosted MCP servers from any OpenAPI spec. Requires a free Kaiva Bridge account.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAutomatically 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.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceTurn any OpenAPI spec into a working MCP server — point it at a spec and Claude instantly gets a tool for every endpoint.MIT
- AlicenseNot gradedqualityDmaintenanceConverts any OpenAPI/Swagger spec into an MCP server, exposing REST API endpoints as tools for Claude.MIT
- FlicenseNot gradedqualityDmaintenanceAutomatically converts OpenAPI specifications into MCP servers, allowing tools like Claude Desktop to interact with your REST APIs through a standard protocol.-