概要
What is Mcp Server Docker?
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.
How to use Mcp Server Docker?
Copy the provided sample mcp.json into your client's configuration, then adjust the path to your docker-compose.yml file and ensure the service name (mcp-server) matches your Compose setup. The client will execute node build/index.js inside the running container.
Key features of Mcp Server Docker
- Sample configuration for running an MCP server in Docker
- Uses Docker Compose to manage container lifecycle
Use cases of Mcp Server Docker
- Launching a Node.js MCP server from within a Docker container
FAQ from Mcp Server Docker
—
—
—
—
—