MCP.so
登录

Mcp Server Docker

@hirotoe0112

关于 Mcp Server Docker

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

基本信息

分类

云与基础设施

运行时

node

传输方式

stdio

发布者

hirotoe0112

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

评论

云与基础设施 分类下的更多 MCP 服务器