MCP Bridge
Converts existing HTTP operations and cURL commands into structured, local-first MCP tools that AI agents can call safely.
README
<p align="center"> <img src="./docs/assets/mcp-bridge-mark.svg" alt="MCP Bridge" width="120" height="120" /> </p>
<h1 align="center">MCP Bridge</h1>
<p align="center"><strong>Turn internal APIs and cURL workflows into local MCP tools for AI agents.</strong></p>
<p align="center"> MCP Bridge helps teams convert existing HTTP operations into structured, local-first MCP tools that Claude Desktop, Cursor, Zed, and other MCP clients can safely call. </p>
<p align="center"> <a href="./README.md">English</a> · <a href="./README.zh-CN.md">简体中文</a> </p>
<p align="center"> <a href="https://github.com/ainativeera/mcp-bridge/actions/workflows/ci.yml"><img alt="CI" src="https://img.shields.io/github/actions/workflow/status/ainativeera/mcp-bridge/ci.yml?branch=main&label=CI&style=flat-square"></a> <a href="https://github.com/ainativeera/mcp-bridge/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/ainativeera/mcp-bridge?style=flat-square"></a> <a href="https://github.com/ainativeera/mcp-bridge/stargazers"><img alt="Stars" src="https://img.shields.io/github/stars/ainativeera/mcp-bridge?style=flat-square"></a> <a href="https://github.com/ainativeera/mcp-bridge/issues"><img alt="Issues" src="https://img.shields.io/github/issues/ainativeera/mcp-bridge?style=flat-square"></a> </p>
<p align="center"> <a href="https://github.com/ainativeera/mcp-bridge">GitHub</a> · <a href="#getting-started">Getting Started</a> · <a href="#suggested-mcp-client-config">MCP Config</a> · <a href="./CONTRIBUTING.md">Contributing</a> · <a href="./SECURITY.md">Security</a> </p>
MCP Bridge is designed for real-world office automation scenarios where teams already have working cURL commands and want to convert them into safer, reusable, and agent-friendly tools without rebuilding integrations from scratch.
Why MCP Bridge
- Import existing cURL commands instead of rebuilding integrations from scratch
- Define MCP-friendly parameter schemas and response descriptions
- Run a local MCP SSE server for desktop AI clients
- Test, debug, and iterate on tools before exposing them to agents
- Package the experience as a desktop app for non-technical users
Core Capabilities
- cURL import: parse common request shapes into editable MCP tools
- Tool editor: configure method, URL, headers, body, parameters, and output fields
- Response shaping: extract the useful parts of large JSON responses
- Local persistence: store tools and logs in SQLite
- MCP transport: expose tools through a local SSE endpoint
- Desktop packaging: ship as an Electron app for macOS and Windows
Use Cases
- Turn internal approval or CRM APIs into agent-callable tools
- Wrap repetitive office workflows behind stable MCP actions
- Prototype agent integrations against existing APIs quickly
- Give AI assistants safe, structured access to business operations
Screenshots
cURL to MCP workflow
Local MCP configuration
Architecture
React UI
-> Electron desktop shell
-> Local Express server
-> SQLite storage
-> MCP SSE endpoint
-> External APIs imported from cURL definitions
Key entry points:
src/App.tsx: main application UIserver.ts: local Express server and MCP SSE implementationelectron-main.ts: Electron main process and desktop bridgesrc/db.ts: SQLite persistence layer
Getting Started
Prerequisites
- Node.js 20 or newer
- npm 10 or newer recommended
- macOS for mac desktop packaging
- Windows for native Windows validation, or macOS with Electron Builder cross-packaging support
Install
npm install
Run The Web App
npm run dev
Open:
http://localhost:3000
Run The Desktop App In Development
npm run electron:dev
Build
npm run build
Create Desktop Packages
npm run dist:mac
npm run dist:win
Quality Checks
npm run check
Environment Variables
Copy .env.example to .env and adjust as needed.
Important values:
PORT: local HTTP and SSE portNODE_ENV: development or productionDB_PATH: SQLite database locationAPI_KEY: optional API key for protecting local MCP accessRATE_LIMIT_WINDOW_MS: API rate limiting windowRATE_LIMIT_MAX_REQUESTS: max requests allowed in the windowCORS_ORIGINS: comma-separated originsLOG_LEVEL: logger verbosity
MCP Endpoint
When the server is running locally, the SSE endpoint is:
http://localhost:3000/sse
In the packaged desktop app, the UI surfaces the detected local network address to make client setup easier across devices on the same LAN.
Suggested MCP Client Config
{
"mcpServers": {
"mcp-bridge": {
"url": "http://localhost:3000/sse"
}
}
}
If you enable an API key:
{
"mcpServers": {
"mcp-bridge": {
"url": "http://localhost:3000/sse",
"headers": {
"X-API-Key": "your-secret-api-key"
}
}
}
}
Roadmap
- Safer write-action confirmation for high-risk tools
- Better auth templates for API keys, cookies, and OAuth-style flows
- More robust cURL parsing coverage
- Tool publishing workflow with validation and risk levels
- Richer audit logs, replay, and observability
- Reusable connector templates for office SaaS products
Contributing
Contributions are welcome. Start here:
- Read CONTRIBUTING.md
- Review CODE_OF_CONDUCT.md
- Check SECURITY.md for sensitive reports
Community Standards
- Be respectful and constructive
- Prefer small, focused pull requests
- Include reproduction steps for bugs
- Keep office automation and agent safety in mind when proposing features
License
This project is licensed under the MIT License. See LICENSE.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。