docker-logs-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@docker-logs-mcpshow docker logs for web service in myproject"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
docker-logs-mcp
MCP server for viewing Docker container logs on a remote VPS via SSH. Tools optimized for tokens efficent
Requirements
Python ≥ 3.12
uv (package installer)
SSH key access to the VPS
Related MCP server: log-mcp-server
Quick Start
cd docker-logs-mcp
uv syncConnecting to Cline
Add to Cline's MCP servers:
{
"docker-logs": {
"command": "uv",
"args": ["run", "--directory", "/path/to/docker-logs-mcp", "python", "-m", "src.docker_mcp"]
}
}Where to add:
VS Code:
~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.jsonor in Cline MCP config JSONCline Desktop: Settings → MCP Servers
Project Configuration
Each Docker project must have a .deploy file in its root:
SSH_HOST=user@server.com
PROJECT_DIR=/opt/project
SSH_PORT=22 # optional, defaults to 22This file is also used by the deploy script (source ./.deploy).
Environment Variables
Variable | Default | Description |
|
| Path to SSH private key |
Tools
Tool | Parameters | Description | Server Command |
|
| Latest Docker service logs. By default shows only WARNING/ERROR/CRITICAL, lines truncated to 300 chars — saves tokens |
|
|
| Status of all project Docker containers |
|
|
| CPU and RAM usage of containers |
|
|
| General VPS info: uptime, disk ( |
|
|
| Search logs with |
|
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server for managing and monitoring Docker, Docker Compose, and Kubernetes environments alongside Azure Application Insights. It enables advanced log filtering, container lifecycle management, and querying of cloud application traces and metrics.7MIT
- FlicenseBqualityDmaintenanceA log analysis MCP server that enables tailing, searching, filtering, and summarizing logs from local files and Docker containers.7
- Alicense-qualityDmaintenanceMCP server for managing VPS servers via SSH, enabling command execution, file transfer, Docker management, and server documentation from within Claude.13ISC
- Flicense-qualityDmaintenanceMCP server that enables SSH access and terminal commands for Railway containers and local shell execution.
Related MCP Connectors
MCP server for Blockscout
A MCP server built for developers enabling Git based project management with project and personal…
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
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/TDHster/docker-logs-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server