local-mcp-with-docker
Lokaler (stdio) MCP-Server mit Docker
Dieses Projekt ist ein minimaler lokaler MCP-Server, der ein run_command-Tool über stdio bereitstellt.
Setup
cd ~path-to-directory/local-mcp-with-docker
uv syncStarten Sie das Skript mit:
uv run main.pyHinweis: Ab MCP 2.0 gibt es nach dem Start des Servers keine Ausgabe in der Konsole. Der Prozess bleibt aktiv und wartet auf stdio-Nachrichten von einem MCP-Client. Sie können ihn mit dem Debugger in einer neuen Terminalsitzung überprüfen.
Starten Sie den Inspektor:
npx -y @modelcontextprotocol/inspectorDann in der Inspektor-Oberfläche:
Transport:
stdioBefehl:
uvArgs:
run,python,main.pyArbeitsverzeichnis:
~path-to-directory/local-mcp-with-docker
Der Inspektor sollte das registrierte Tool run_command anzeigen und Ihnen erlauben, es direkt aufzurufen.
Related MCP server: mcp-stdio
Erstellen des Docker-Images
docker build -t terminal_tool_docker .Dies erstellt das lokale Docker-Image, das von der Claude Desktop MCP-Konfiguration verwendet wird.
Claude Desktop-Konfiguration
Fügen Sie dies zu Ihrer Claude Desktop MCP-Konfigurationsdatei hinzu:
{
"mcpServers": {
"local-mcp-with-docker": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--init",
"-e",
"DOCKER_CONTAINER=true",
"-e",
"WORKSPACE_DIR=/root/mcp/workspace",
"-v",
"path-to-directory/local-mcp-with-docker:/root/mcp/workspace",
"terminal_tool_docker"
]
}
}
}Dies mountet Ihren Arbeitsbereich in den Container und weist den Server auf das richtige Arbeitsverzeichnis innerhalb des Containers hin.
Claude Screenshot

Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- Flicense-qualityDmaintenanceA basic MCP server implementation for testing purposes. Communicates via stdio and is designed to work with MCP-compliant clients.
- Alicense-qualityCmaintenanceA minimal, zero-dependency MCP server that enables defining and running tools over stdio transport, without extra features like HTTP or resources.151MIT
- AlicenseAqualityCmaintenanceA minimal MCP server that provides a single 'hello' tool returning 'Hello, world!'.29MIT
- AlicenseAqualityFmaintenanceA minimal MCP server that exposes a single bash tool to execute commands inside a devcontainer, returning real output and exit codes.1MIT
Related MCP Connectors
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
A basic MCP server to operate on the Postman API.
Scans MCP servers for tool poisoning, prompt injection and supply chain risks.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/praveen-radakirouchenane/local-mcp-with-docker'
If you have feedback or need assistance with the MCP directory API, please join our Discord server