local-mcp-with-docker
Docker를 사용한 로컬(stdio) MCP 서버
이 프로젝트는 stdio를 통해 run_command 도구를 노출하는 최소한의 로컬 MCP 서버입니다.
설정
cd ~path-to-directory/local-mcp-with-docker
uv sync다음을 사용하여 스크립트를 시작합니다:
uv run main.py참고: MCP 2.0부터는 서버 시작 후 콘솔에 출력이 없습니다. 프로세스는 계속 실행되며 MCP 클라이언트의 stdio 메시지를 기다립니다. 새 터미널 세션에서 디버거를 사용하여 검사할 수 있습니다.
인스펙터 시작:
npx -y @modelcontextprotocol/inspector그런 다음 인스펙터 UI에서:
Transport:
stdioCommand:
uvArgs:
run,python,main.pyWorking directory:
~path-to-directory/local-mcp-with-docker
인스펙터는 등록된 도구 run_command를 표시하고 직접 호출할 수 있게 해야 합니다.
Related MCP server: mcp-stdio
Docker 이미지 빌드
docker build -t terminal_tool_docker .이렇게 하면 Claude Desktop MCP 구성에서 사용하는 로컬 Docker 이미지가 생성됩니다.
Claude Desktop 구성
Claude Desktop MCP 구성 파일에 다음을 추가합니다:
{
"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"
]
}
}
}이렇게 하면 작업 공간이 컨테이너에 마운트되고 서버가 컨테이너 내부의 올바른 작업 디렉터리를 가리키게 됩니다.
Claude 스크린샷

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