Mcp Server Docker
@hirotoe0112
Mcp Server Docker について
DockerでMCPサーバを作成するサンプル
基本情報
設定
以下の設定を使って、このサーバーを 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
—
—
—
—
—
「クラウドとインフラ」の他のコンテンツ
Azure DevOps MCP Server
Tiberriver256An MCP server for Azure DevOps
Run Model Context Protocol (MCP) servers with AWS Lambda
awslabsRun existing Model Context Protocol (MCP) stdio-based servers in AWS Lambda functions
Azure DevOps MCP Server
Tiberriver256An MCP server for Azure DevOps
Supabase MCP Server
coleam00Supabase MCP server created in Python.
コメント