Open MCP Server

by changsong

Not rated
GitHub

About

A service framework supporting the Model Context Protocol (MCP) to integrate enterprise systems and AI platforms via RESTful, gRPC, and Dubbo protocols.

Details

Author
changsong
Categories
Developer Tools

Setup

Install Open MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/changsong/open-mcp-server

Follow the installation instructions in the repository README, then restart your MCP client.

A service framework supporting the Model Context Protocol (MCP) to integrate enterprise systems and AI platforms via RESTful, gRPC, and Dubbo protocols.

Open-MCP-Server 是一个支持模型上下文协议(Model Context Protocol, MCP)的服务框架,旨在简化企业系统与AI平台的集成,为AI系统提供业务数据支持。本框架原生兼容各类开放API、内部系统API、Dubbo接口等多协议接入,赋能AI系统实现定制化需求。

- 公/私有API统一适配(支持 RESTful、gRPC、Dubbo、SOAP 等协议)
- AI工作流上下文感知数据编排
- 可扩展的业务逻辑架构
- 在保持异构系统兼容性的同时,实现定制化AI解决方案
- 智能AI助手会话管理
- 第三方API集成(聚合数据、股票、新闻、视频等)
- 代码自动生成功能

POST /api/generate Content-Type: application/json { "apiUrl": "http://api.example.com/data", "method": "GET", "packagePath": "com.open.mcp.server.api", "apiName": "ExampleApi", "requestData": "{\"param1\": \"value1\"}", "responseData": "{\"result\": \"success\"}" }
POST /api/download Content-Type: application/json { "apiUrl": "http://api.example.com/data", "method": "GET", "packagePath": "com.open.mcp.server.api", "apiName": "ExampleApi", "requestData": "{\"param1\": \"value1\"}", "responseData": "{\"result\": \"success\"}" }

- 自动生成API接口定义
- 生成请求/响应DTO类
- 生成服务实现类
- 自动处理参数映射和类型转换
- 支持文件下载功能
- 生成完整的Spring Boot集成代码

POST /ai-assistant/session/chat Content-Type: application/x-www-form-urlencoded sessionId=xxx&message=用户消息&systemPrompt=系统提示词
GET /ai-assistant/session/history?sessionId=xxx
POST /ai-assistant/session/clear Content-Type: application/x-www-form-urlencoded sessionId=xxx&reset=true

- 支持单次问答和会话模式
- 动态注入MCP工具
- 会话状态管理
- 系统提示词自定义
- 完整的对话历史记录

- 基于Azure OpenAI的文本生成
- 支持流式响应
- 集成MCP工具调用
- 支持多种部署模型

# 获取服务列表 GET /api/http/list # 获取单个服务 GET /api/http/{id} # 创建服务 POST /api/http/save Content-Type: application/json # 更新服务 PUT /api/http/{id} Content-Type: application/json # 删除服务 DELETE /api/http/{id}
# 获取服务列表 GET /api/dubbo/list # 获取单个服务 GET /api/dubbo/{id} # 创建服务 POST /api/dubbo/save Content-Type: application/json # 更新服务 PUT /api/dubbo/{id} Content-Type: application/json # 删除服务 DELETE /api/dubbo/{id}
# 获取服务列表 GET /api/grpc/list # 获取单个服务 GET /api/grpc/{id} # 创建服务 POST /api/grpc/save Content-Type: application/json # 更新服务 PUT /api/grpc/{id} Content-Type: application/json # 删除服务 DELETE /api/grpc/{id}
# 获取服务列表 GET /api/soap/list # 获取单个服务 GET /api/soap/{id} # 创建服务 POST /api/soap/save Content-Type: application/json # 更新服务 PUT /api/soap/{id} Content-Type: application/json # 删除服务 DELETE /api/soap/{id}
# 获取连接列表 GET /api/registry/list # 获取单个连接 GET /api/registry/{id} # 创建连接 POST /api/registry/save Content-Type: application/json # 更新连接 PUT /api/registry/{id} Content-Type: application/json # 删除连接 DELETE /api/registry/{id}
# 分页查询 GET /api/registry/page?connectionName=xxx&registryType=xxx&host=xxx&pageNum=1&pageSize=10 # 批量保存 POST /api/registry/batch-save Content-Type: application/json # 批量删除 POST /api/registry/batch-delete Content-Type: application/json
POST /api/setLanguage Content-Type: application/json { "language": "zh_CN" }
# 工具名称: getDubboServiceInfo # 参数说明: { "interfaceName": "com.example.DemoService" # Dubbo服务接口全限定名 }
# 工具名称: invokeDubboService # 参数说明: { "interfaceName": "com.example.DemoService", # Dubbo服务接口全限定名 "methodName": "sayHello", # 要调用的方法名 "version": "1.0.0", # 服务版本(可选) "params": { # 方法参数(JSON格式) "param1": "value1", "param2": 123 } }
dubbo: application: name: ${spring.application.name} qos-enable: false registry: address: zookeeper://127.0.0.1:2181 timeout: 30000 protocol: name: dubbo port: -1 consumer: check: false timeout: 30000 retries: 0
juhe: news: apikey: your_api_key baseUrl: http://v.juhe.cn video: apikey: ${juhe.news.apikey} baseUrl: ${juhe.news.baseUrl}
"mcpServers": { "open-mcp-server": { "command": "java", "args": [ "-Dspring.ai.mcp.server.stdio=true", "-jar", "/jar包路径/open-mcp-server-1.0-SNAPSHOT.jar", "juhe.news.api-key=您的聚合密钥" ] } }

- HTTP/RESTful: 完整的CRUD操作和API测试
- Dubbo: 泛化调用、服务发现、参数转换
- gRPC: 服务管理和调用
- SOAP: Web服务支持

- Azure OpenAI: 文本生成和对话
- MCP工具: 动态工具注入和调用
- 会话管理: 多会话支持和状态保持
- 流式响应: 实时数据流处理

- 代码生成: 自动生成API集成代码
- 接口测试: 在线API测试工具
- 注册中心管理: 多注册中心连接管理
- 国际化: 多语言支持

open-mcp-server 采用 MIT 许可证授权。 根据 MIT 许可证条款,您可以自由使用、修改和分发本软件。具体条款请参阅项目仓库中的 LICENSE 文件。

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Create crafted UI components inspired by the best 21st.dev design engineers.

Bring agent evaluations, observability, and synthetic test set generation directly into your IDE for free with Galileo's new MCP server

An MCP server to help AI assistants to answer questions and generate AccelByte Extend SDK code more effectively .

MCP server for AI Diagram Maker — generate beautiful software engineering diagrams directly inside Cursor, Claude Desktop, Claude Code, or any MCP-compatible AI agent

ALAPI MCP Tools,Call hundreds of API interfaces via MCP

AI-powered SVG animation generator that transforms static files into animated SVG components using the Allyson platform

MCP server that gives AI assistants on-demand access to 1,500+ amCharts docs, ~300 code examples, and 1000+ class API references.

APIMatic MCP Server is used to validate OpenAPI specifications using APIMatic. The server processes OpenAPI files and returns validation summaries by leveraging APIMatic’s API.

One shared context layer for AI agents and humans — live API specs, DB schemas, and versioned contracts across repos so every agent and teammate works from the same source of truth.

Build and deploy full-stack Next.js apps with 98 tools for React, AWS, and MongoDB

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.