Allows creating custom tools through JavaScript configuration files, enabling dynamic definition and extension of MCP capabilities with user-defined JavaScript plugins
Enables embedding MCP Server into Node.js applications as a separate process with inter-process communication through stdio mode
MCP Server.exe
Cursor 的 MCP 启动器 - MCP For Cursor
MCP Server.exe 是一个强大的可执行服务器,它不仅能够运行标准的 MCP (Model Context Protocol) 服务,更提供了丰富的高级功能:
- 工具链式调用:支持将多个工具按序组合,实现复杂的自动化流程
- 多 MCP 服务组合:可同时运行和管理多个 MCP 服务,支持 SSE 和 stdio 双模式
- 插件化工具系统:支持自定义工具的动态加载和配置
- 灵活的部署选项:从单机运行到分布式部署,满足各类集成场景
MCP Server.exe is a powerful executable server that not only runs standard MCP (Model Context Protocol) services, but also provides rich advanced features:
- Tool Chain Execution: Support sequential combination of multiple tools for complex automation
- Multiple MCP Services: Can run and manage multiple MCP services simultaneously, supporting both SSE and stdio modes
- Pluggable Tool System: Support dynamic loading and configuration of custom tools
- Flexible Deployment: From standalone operation to distributed deployment, meeting various integration scenarios
🎯 主要使用场景 | Main Usage Scenarios
1. 快速启动独立服务 | Quick Start Standalone Service
最简单的使用方式 - 双击运行,即可启动一个标准的 MCP 服务。
The simplest way - double-click to run, and start a standard MCP service.
默认配置 | Default Configuration:
- 监听端口 | Listen Port: 3000
- 支持标准端点 | Standard Endpoints: /mcp, /sse, /messages
- 内置基础工具集 | Built-in Basic Tools
2. 组合多个 MCP 服务 | Combine Multiple MCP Services
使用和 Cursor 一致的 mcp.json 配置文件,通过配置文件组合多个 MCP 服务,支持同时使用 SSE 和 stdio 两种传输模式。这样可以根据不同的应用场景选择合适的传输方式,提高系统的灵活性和可扩展性。
Use the same mcp.json configuration file as Cursor to combine multiple MCP services, supporting both SSE and stdio transport modes simultaneously. This allows you to choose the appropriate transport method for different application scenarios, improving system flexibility and scalability.
配置示例 | Configuration Example (mcp.json):
3. 工具链式调用 | Tool Chain Execution
支持将多个工具组合成工具链,实现复杂的自动化流程。工具链可以灵活配置数据流转和结果输出。
Support combining multiple tools into a tool chain to implement complex automation processes. Tool chains can flexibly configure data flow and result output.
配置示例 | Configuration Example (tool-chain.json):
工具链特性 | Tool Chain Features:
- 支持多步骤顺序执行 | Support multi-step sequential execution
- 灵活的数据流转映射 | Flexible data flow mapping
- 可从任意步骤获取结果 | Can get results from any step
- 自定义输出步骤结果 | Customize output step results
4. 自定义工具的插件机制 | Custom Tools Plugin Mechanism
通过 JavaScript 配置文件,灵活定义工具、资源和提示。
Flexibly define tools, resources, and prompts through JavaScript configuration files.
配置示例 | Configuration Example (my-custom-tools.js):
5. 嵌入式集成 | Embedded Integration
作为独立进程集成到任何应用程序中。
Integrate as a standalone process into any application.
📚 详细文档 | Detailed Documentation
命令行参数 | Command Line Arguments
服务器支持以下命令行参数来自定义其行为:
The server supports the following command line arguments to customize its behavior:
参数 | 说明 | 默认值 |
---|---|---|
--mcp-js <路径> | 配置文件路径(包含服务器配置和 MCP 配置) | 内置配置 |
--port <端口> | 服务器监听端口 | 3000 |
--mcp-config <路径> | MCP 配置文件路径,用于组合多个 MCP 服务 | 无 |
--transport <模式> | 传输模式,支持 'sse' 或 'stdio' | sse |
配置文件格式 | Configuration File Format
服务器支持使用配置文件同时配置服务器参数和 MCP 功能:
The server supports using a configuration file to configure both server parameters and MCP functionality:
开发指南 | Development Guide
安装 | Installation
构建 | Build
运行 | Run
打包 | Packaging
打包后的可执行文件将生成在 executables
目录中。
The packaged executable files will be generated in the executables
directory.
环境变量 | Environment Variables
PORT
- 服务器端口号(默认:3000)| Server port (default: 3000)
📝 许可证 | License
MIT
This server cannot be installed
A powerful executable server for running Model Context Protocol services that supports tool chain execution, multiple MCP services management, and a pluggable tool system for complex automation workflows.
Related MCP Servers
- -securityAlicense-qualityMCP Server simplifies the implementation of the Model Context Protocol by providing a user-friendly API to create custom tools and manage server workflows efficiently.Last updated -43TypeScriptMIT License
- -securityAlicense-qualityMCP Server provides a simpler API to interact with the Model Context Protocol by allowing users to define custom tools and services to streamline workflows and processes.Last updated -132TypeScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server built with mcp-framework that allows users to create and manage custom tools for processing data, integrating with the Claude Desktop via CLI.Last updated -484TypeScript
- -securityAlicense-qualityA Model Context Protocol server that provides file system operations, analysis, and manipulation capabilities through a standardized tool interface.Last updated -1TypeScriptMIT License