Coolify AnythingLLM MCP
Connects AnythingLLM to Coolify for natural language management of self-hosted infrastructure, including diagnostics, log fetching, and deployment automation.
README
Coolify & AnythingLLM MCP Server 🚀
An official Model Context Protocol (MCP) server that connects your AnythingLLM chat interface directly to your self-hosted Coolify infrastructure. Manage, deploy, and troubleshoot your production servers using natural language.
Developed and maintained by the team behind xlop.cz – the Czech tech hub for AI & Self-Hosting innovations.
🧠 Why this project?
Giving AI agents the power to write code is great, but giving them the context of your infrastructure is a game-changer. This MCP server acts as a secure bridge:
- AnythingLLM acts as the intelligent agent and UI.
- MCP (Model Context Protocol) provides the secure communication standard.
- Coolify API executes the infrastructure tasks on your home lab or VPS.
🌟 Key Features
- App Diagnostics: Ask your AI about active applications, container status, and resources.
- Log Fetching: Let the AI read application and deployment logs to troubleshoot bugs in seconds.
- Deployment Automation: Trigger new builds, restarts, or rollbacks using simple prompts.
- Secure by Design: No hardcoded credentials. Everything runs via Environment Variables.
🛠️ Installation & Setup
1. Prerequisites
- A running Coolify instance with an API Token (generated in your Coolify settings).
- AnythingLLM (Desktop app or self-hosted via Docker).
- Node.js (v18+) or Docker environment to run this MCP server.
2. Environment Setup
Create a .env file in the root directory of this project:
COOLIFY_API_URL=[https://your-coolify-instance.com/api/v1](https://your-coolify-instance.com/api/v1)
COOLIFY_API_TOKEN=your_secret_coolify_api_token
3. Connect to AnythingLLM
Open your AnythingLLM settings, navigate to Agent Custom Tools / MCP Servers, and add this server using the following configuration:
- Mode:
stdio - Command:
node - Args:
["/path/to/coolify-anythingllm-mcp/dist/index.js"]
(Alternatively, run it via Docker using the provided Dockerfile).
🤖 Awesome Prompts to Try
Once connected, open a chat in AnythingLLM and try these:
- "List all running applications on my Coolify server."
- "Check the deployment logs for my frontend app. Why did it fail?"
- "Restart the PostgreSQL database container immediately."
⚠️ Disclaimer & Safety
Running AI with infrastructure access is powerful but experimental.
- We strongly recommend running your AI agent with Human-in-the-loop confirmations enabled.
- The authors are not responsible for any server downtime, data loss, or accidental resource deletion caused by your AI model.
📄 License
This project is open-source and licensed under the MIT License - see the LICENSE file for details.
Built with ❤️ for the open-source community by xlop.cz.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.