ChatGPT MCP Server
The ChatGPT MCP Server enables Docker container management through a natural language interface. You can:
List containers: View all Docker containers (including stopped ones if specified)
Create containers: Create and start new containers with customizable image, name, environment variables, and port mappings
Stop containers: Halt running containers by ID or name
Start containers: Launch stopped containers by ID or name
Remove containers: Delete containers (with option to force removal of running ones)
View logs: Retrieve container logs with configurable line count
Execute commands: Run commands inside running containers
Allows managing Docker containers through natural language commands, including operations such as creating, starting, stopping, and monitoring containers.
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., "@ChatGPT MCP Serverlist all running containers"
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.
ChatGPT MCP Server
A Model Context Protocol (MCP) server that provides Docker management capabilities through a custom GPT interface.
Features
Docker container management through natural language
Built on the Model Context Protocol (MCP)
TypeScript implementation
Containerized deployment
Robust error handling and graceful shutdown
Resource management and port handling
Rate limiting and API key authentication
Related MCP server: MCP Development Server
Setup
Installing via Smithery
To install ChatGPT MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @Toowiredd/chatgpt-mcp-server --client claudeManual Installation
Clone the repository
git clone https://github.com/toowiredd/chatgpt-mcp-server.git
cd chatgpt-mcp-serverInstall dependencies
npm installCreate environment file
cp env.example .env
# Edit .env with your configurationBuild the project
npm run buildRunning with Docker
Build the container
npm run docker:buildRun the container
npm run docker:runOr manually:
docker run -d \
-p 3001:3001 \
--env-file .env \
-v /var/run/docker.sock:/var/run/docker.sock \
chatgpt-mcp-serverDevelopment
npm run build- Build the TypeScript codenpm run watch- Watch for changes and rebuildnpm run inspector- Run the MCP inspector tool
Environment Variables
API_KEY- API authentication keyHTTP_PORT- Server port (default: 3001)RATE_LIMIT_REQUESTS- Maximum requests per windowRATE_LIMIT_WINDOW- Window size in milliseconds
Resource Management
The server implements robust resource management:
Graceful shutdown on process signals (SIGINT, SIGTERM, SIGQUIT)
Connection tracking and management
Request timeout handling
Port conflict detection
Keep-alive connection management
Active request tracking and graceful completion
Shutdown Process
The server initiates graceful shutdown on process signals
New connections are rejected
Active requests are allowed to complete (with timeout)
Keep-alive connections are closed
Server ports are properly released
Resources are properly released
Error Handling
Port conflicts are detected and reported
Unhandled rejections and exceptions are caught
Network errors are properly handled
Resource leaks are prevented through proper handling
Timeouts ensure the server doesn't hang during shutdown
License
MIT
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
- AlicenseBqualityFmaintenanceA powerful Model Context Protocol (MCP) server for Docker operations, enabling seamless container and compose stack management through Claude AI.Last updated4497MIT
- Flicense-qualityDmaintenanceA Model Context Protocol server that enables Claude to manage software development projects with complete context awareness and code execution through Docker environments.Last updated184
- Alicense-qualityDmaintenanceA Model Context Protocol server that provides tools for interacting with Docker images, containers, and registries, enabling AI assistants to search, analyze, and manage Docker resources through a standardized interface.Last updated1MIT
- Flicense-qualityDmaintenanceA TypeScript server that fully implements the Model Context Protocol (MCP) standard, providing API access to Docker CLI operations like build, run, stop, and image management through compatible AI clients.Last updated
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
MCP server for AI dialogue using various LLM models via AceDataCloud
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/Toowiredd/chatgpt-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server