Mcp Server Docker
About
This document provides a sample configuration (mcp.json) that demonstrates how to run an MCP server inside a Docker container using Docker Compose. It is intended for developers who want to launch a Node.js MCP server via the docker compose exec command.
Details
- Author
- hirotoe0112
- Downloads
- 313
- Categories
- Cloud Service
Jump to
- Sample configuration for running an MCP server in Docker
- Uses Docker Compose to manage container lifecycle
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Mcp Server DockerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"mcp server docker": {
"test-server": {
"command": "docker",
"args": [
"compose",
"-f",
"C:\\your-docker-directory\\docker-compose.yml",
"exec",
"-i",
"mcp-server",
"node",
"build/index.js"
]
}
}
}
}
McpServers
{
"test-server": {
"command": "docker",
"args": [
"compose",
"-f",
"C:\\your-docker-directory\\docker-compose.yml",
"exec",
"-i",
"mcp-server",
"node",
"build/index.js"
]
}
}
Sample mcp.json
{
"mcpServers": {
"test-server": {
"command": "docker",
"args": [
"compose",
"-f",
"C:\\your-docker-directory\\docker-compose.yml",
"exec",
"-i",
"mcp-server",
"node",
"build/index.js"
]
}
}
}
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.

