Get Started with Docker
Set up with Docker
-
Create a
config
directory withmkdir config
. We will use it in order to easily mount config to MCPX. -
Place the following config under
config/mcp.json
. It uses a single MCP server that requires no credentials, for quick start set up.
{
"mcpServers": {
"time": {
"command": "uvx",
"args": ["mcp-server-time", "--local-timezone=America/New_York"]
}
}
}
- On the top-level directory again, run MCPX with this configuration, exposing ports 9000 and 9001:
docker run --rm --name mcpx -v ./config:/config -p 9000:9000 -p 9001:9001 us-central1-docker.pkg.dev/prj-common-442813/mcpx/mcpx:b179627
Congratulations!
You have now set up your MCPX. You should see the following lines to indicte a successful installation:
Starting mcpx server... ⚡️
Server started on port 9000