MCP.so
Sign In

Mcp Server Docker

@hirotoe0112

About Mcp Server Docker

DockerでMCPサーバを作成するサンプル

Basic information

Category

Cloud & Infrastructure

Runtime

node

Transports

stdio

Publisher

hirotoe0112

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "test-server": {
      "command": "docker",
      "args": [
        "compose",
        "-f",
        "C:\\your-docker-directory\\docker-compose.yml",
        "exec",
        "-i",
        "mcp-server",
        "node",
        "build/index.js"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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

Comments

More Cloud & Infrastructure MCP servers