This guide will help you quickly get started with mcp-all-in-one, merging multiple MCP services into a unified service and managing them through self-configuration features.
For Chinese documentation, see QUICK_START_GUIDE_zh-CN.md.
npm install -g mcp-all-in-oneyarn global add mcp-all-in-onemcp-all-in-one --versionCreate a basic configuration file ~/.mcp-all-in-one/mcp.json:
mkdir -p ~/.mcp-all-in-one
cat > ~/.mcp-all-in-one/mcp.json << EOF
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "."]
},
"time": {
"command": "uvx",
"args": ["mcp-server-time", "--local-timezone=Asia/Shanghai"]
}
}
}
EOFmcp-all-in-one --validate-mcp-configmcp-all-in-one stdiomcp-all-in-one http --port 3095- Open Claude Code settings
- Find MCP server configuration
- Add the following configuration:
{
"mcpServers": {
"mcp-all-in-one": {
"command": "mcp-all-in-one",
"args": ["stdio", "--mcp-config", "/path/to/your/mcp.json"]
}
}
}- Open Cursor settings
- Search for "MCP"
- Add the following configuration:
{
"mcpServers": {
"mcp-all-in-one": {
"command": "mcp-all-in-one",
"args": ["stdio", "--mcp-config", "/path/to/your/mcp.json"]
}
}
}After starting mcp-all-in-one, the following tools are automatically available:
-
View Current Configuration:
Use tool: mcp-all-in-one-show-mcp-config -
Validate Configuration:
Use tool: mcp-all-in-one-validate-mcp-config -
View Configuration Schema:
Use tool: mcp-all-in-one-show-mcp-config-schema -
Set New Configuration:
Use tool: mcp-all-in-one-set-mcp-config Parameters: { "config-content": "{\"mcpServers\":{\"filesystem\":{\"command\":\"npx\",\"args\":[\"-y\",\"@modelcontextprotocol/server-filesystem\",\".\"]}}}" }
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "."]
}
}
}{
"mcpServers": {
"time": {
"command": "uvx",
"args": ["mcp-server-time", "--local-timezone=Asia/Shanghai"]
}
}
}{
"mcpServers": {
"web-search": {
"type": "http",
"url": "https://api.example.com/mcp",
"headers": {
"Authorization": "Bearer ${API_KEY}"
}
}
}
}{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "."]
},
"time": {
"command": "uvx",
"args": ["mcp-server-time", "--local-timezone=Asia/Shanghai"]
},
"web-search": {
"type": "http",
"url": "https://api.example.com/mcp",
"headers": {
"Authorization": "Bearer ${API_KEY}"
}
}
}
}mcp-all-in-one supports the following environment variables:
MCP_CONFIG: Specify default configuration file pathMCP_LOG_LEVEL: Set log level (error|warn|info|debug)MCP_SILENT: Enable silent mode (true|false)
Example:
# Use custom configuration file
MCP_CONFIG=./my-config.json mcp-all-in-one stdio
# Enable debug logging
MCP_LOG_LEVEL=debug mcp-all-in-one stdio
# Silent mode
MCP_SILENT=true mcp-all-in-one stdiomcp-all-in-one --validate-mcp-configmcp-all-in-one stdio --log-level debugcurl http://localhost:3095/health
curl http://localhost:3095/statusSolution:
- Check if configuration file format is correct
- Confirm all dependent services are installed
- View logs for detailed error information
Solution:
- Check network connection
- Verify authentication information is correct
- Confirm target service is available
Solution:
- Restart mcp-all-in-one service
- Confirm configuration file path is correct
- Validate new configuration is valid
Now that you have successfully set up mcp-all-in-one, you can:
- Explore more MCP services and add them to your configuration
- Learn about advanced configuration options
- Integrate into your development workflow
- Contribute code or report issues
If you have questions, please submit an Issue or contact the maintainer.