swarmpit
Lightweight AI-friendly Docker Swarm management
The Swarmpit MCP server enables AI assistants to manage Docker Swarm clusters through the Model Context Protocol. It connects MCP-compatible clients like Claude Code and opencode to a self-hosted Swarmpit instance, allowing AI-driven automation of container deployments, service management, and infrastructure tasks. The server runs locally with API tokens stored outside of LLM context, providing secure access to Swarmpit's REST API for stacks, services, secrets, volumes, and network configuration.
Key Features
Use Cases
- 01Automate Docker Swarm deployments through conversational AI workflows
- 02Query cluster status and resource usage via natural language commands
- 03Manage container services and stacks without leaving your AI coding assistant
- 04Troubleshoot Swarm infrastructure issues with AI-assisted diagnostics
- 05Orchestrate multi-service deployments through LLM-driven automation
- 06Configure and update Docker networks, volumes, and secrets conversationally
Related MCP Servers
View moremarkitdown
Python tool for converting files and office documents to Markdown.
firecrawl
The context API to search, scrape, and interact with the web at scale. 🔥
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
langflow
Langflow is a powerful tool for building and deploying AI-powered agents and workflows.
swarmpit — FAQ
What is the Swarmpit MCP server?+
The Swarmpit MCP server is an AI agent building block that connects MCP-compatible clients to Swarmpit's Docker Swarm management platform. It exposes cluster management tools through the Model Context Protocol, enabling AI assistants to automate container orchestration tasks.
How do I install the Swarmpit MCP server?+
First, generate an API token in your Swarmpit UI under Profile → API Access. Then add the server configuration to your MCP client's settings file with your Swarmpit URL and token, using npx to run the server from the GitHub repository.
Which AI clients work with the Swarmpit MCP server?+
The server works with any MCP-compatible client, including Claude Code, opencode, and other tools that support the Model Context Protocol.
Do I need a Swarmpit instance and API key?+
Yes, you must have a running Swarmpit installation (self-hosted on Docker Swarm) and generate an API token through the Swarmpit web interface before configuring the MCP server.
Is the Swarmpit MCP server free to use?+
Yes, both Swarmpit and the MCP server are open-source and free. Swarmpit is fully self-hosted and does not collect metrics or require paid subscriptions.
What can I do with the SWARMPIT_REDACT environment variable?+
The SWARMPIT_REDACT setting controls how sensitive data is handled in AI conversations. Setting it to 'sensitive' filters credentials and secrets from the information shared with the LLM.
How do I install swarmpit?+
Open the source repository on GitHub and follow its README. swarmpit is a mcp server — MCP Agents Market links you directly to the official repo.
Is swarmpit free?+
swarmpit is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.