Skip to main content
Version: Next

Connect MCP Servers to MCPX

Easily connect your existing MCP servers to MCPX - we’ll take care of running and managing them for you.

1

Configure app.yaml

Create or update your app.yaml configuration file:

mkdir config
cd config
touch app.yaml

For example:

permissions:
default:
allow: {}
consumers: {}
toolGroups: []
auth:
enabled: false
toolExtensions:
services: {}

See the app.yaml configuration guide for detailed information.

2

Configure mcp.json

Create or update your mcp.json configuration file:

touch mcp.json

For example:

{
"mcpServers": {
"time": {
"command": "uvx",
"args": ["mcp-server-time", "--local-timezone=America/New_York"]
},
"google-maps": {
"command": "node",
"args": ["/path/to/mcpx/demo-servers/google-maps.js"],
"env": {
"GOOGLE_MAPS_API_KEY": "your-google-maps-api-key"
}
},
"slack": {
"command": "node",
"args": ["/path/to/mcpx/demo-servers/slack.js"],
"env": {
"SLACK_BOT_TOKEN": "your-slack-bot-token",
"SLACK_CHANNEL_IDS": "channel1,channel2"
}
}
}
}

See the mcp.json configuration guide for detailed information.

3

Environment Variables

Define the required environment variables for your MCP servers within your Docker container.

# Google Maps
export GOOGLE_MAPS_API_KEY="your-google-maps-api-key"

# Slack
export SLACK_BOT_TOKEN="your-slack-bot-token"
export SLACK_CHANNEL_IDS="channel1,channel2"
export SLACK_TEAM_ID="your-team-id"