mcp_server_exe

mcp_server_exe

3.8

MCP Server.exe is a powerful executable server that runs standard MCP services and offers advanced features.

MCP Server.exe is a robust executable server designed to run standard Model Context Protocol (MCP) services while providing a suite of advanced functionalities. It supports tool chain execution, allowing for the sequential combination of multiple tools to automate complex processes. The server can manage multiple MCP services simultaneously, supporting both SSE and stdio modes, which enhances its flexibility and scalability. It features a pluggable tool system for dynamic loading and configuration of custom tools, and offers flexible deployment options ranging from standalone operation to distributed deployment. This makes it suitable for various integration scenarios, including WebSocket connections to other MCP services and quick standalone service startups.

Features

  • Tool Chain Execution: Supports 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: Supports dynamic loading and configuration of custom tools.
  • Flexible Deployment: From standalone operation to distributed deployment, meeting various integration scenarios.

Usage with Different Platforms

WebSocket Connection Mode

# Start in WebSocket mode
./mcp_server.exe --ws wss://api.xiaozhi.me/mcp/?token=...xxx --mcp-config ./examples/mcp-sse.json

Quick Start Standalone Service

# Double-click mcp_server.exe, or start via command line:
./mcp_server.exe

Combine Multiple MCP Services

./mcp_server.exe --mcp-config ./examples/mcp.json

Tool Chain Execution

./mcp_server.exe --mcp-config ./examples/product-hunt/mcp-tool.json

Custom Tools Plugin Mechanism

./mcp_server.exe --mcp-js ./my-custom-tools.js

Embedded Integration

const { spawn } = require('child_process');

const mcpServer = spawn('./mcp_server.exe', [
  '--port', '3000',
  '--transport', 'stdio'  // Use stdio mode for IPC
]);

// Handle I/O
mcpServer.stdout.on('data', (data) => {
  // Handle MCP server output
});

mcpServer.stdin.write(JSON.stringify({
  // Send request to MCP server
}));