Adding MCP Servers¶
Via Web UI¶
- Open http://localhost:3701
- Click Add MCP Server
- Enter a GitHub repo URL, npm package, or Docker image
- The detector auto-configures the server
- Enter any required environment variables (stored in
.env) - Click Provision
The server starts automatically and its tools appear in the tool list.
Via Command Line¶
1. Add the Docker service¶
Add a service to docker-compose.yaml:
my-server:
image: some-mcp-server:latest
container_name: my-server
command: ["node", "index.js", "stdio"]
stdin_open: true
tty: true
environment:
- API_KEY=${MY_API_KEY}
networks:
- emcp-network
restart: unless-stopped
Add the API key to .env:
2. Create the registration config¶
// configs/my-server.json
{
"name": "my-server",
"transport": "stdio",
"description": "My MCP server",
"command": "docker",
"args": ["exec", "-i", "my-server", "node", "index.js", "stdio"]
}
3. Start and register¶
docker compose up -d my-server
docker exec emcp-server /mcpjungle register -c /configs/my-server.json
4. Select tools¶
Open the web UI and toggle tools on, or edit groups/emcp-global.json directly.
Removing a Server¶
docker exec emcp-server /mcpjungle deregister my-server
docker compose rm -sf my-server
rm configs/my-server.json
If something isn't working after adding or removing a server, see Troubleshooting.