4,000+ servers built on MCP Fusion
Vinkius
Mastra AISDK
Mastra AI
Why use Coolify MCP Server with Mastra AI?

Bring Self Hosting
to Mastra AI

Create your Vinkius account to connect Coolify to Mastra AI and start using all 10 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.

MCP Inspector GDPR Free for Subscribers
Get ApplicationGet DatabaseGet ServerList ApplicationsList DatabasesList ServersRestart ApplicationStart ApplicationStop ApplicationTrigger Deployment
ChatGPT Claude Perplexity

Compatible with every major AI agent and IDE

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
Coolify

What is the Coolify MCP Server?

Connect your Coolify instance to any AI agent and take full control of your self-hosting and private cloud workflows through natural conversation.

What you can do

  • Server Monitoring — List self-hosted nodes and retrieve intricate networking parameters including IP properties and Docker swarm statuses
  • Application Management — List all managed frontend/backend apps and fetch elaborate internal topology metrics like mapped GitHub branches and Traefik proxy paths
  • Lifecycle Control — Start, stop, and restart applications natively, allowing you to recycle container states and apply configuration updates instantly
  • Deployment Automation — Trigger raw build pipelines to fetch the latest commits, rebuild Nixpacks images, and roll out updated Docker versions
  • Database Oversight — Manage PostgreSQL, MySQL, and Redis configurations and extrapolate internal connection strings for secure application linking
  • Resource Navigation — asociating Project repositories to explicit application UUIDs required for downstream mutations and operational auditing

How it works

  1. Subscribe to this server
  2. Enter your Coolify Instance URL and API Token (found in Keys & Tokens > API Tokens)
  3. Start managing your self-hosted cloud from Claude, Cursor, or any MCP-compatible client

Who is this for?

  • Indie Hackers & Founders — manage your private cloud and deploy new versions without touching the dashboard
  • DevOps Engineers — monitor server node health and application lifecycle states across multiple environments
  • Full-stack Developers — trigger builds, restart containers, and retrieve database connection strings directly from the chat
  • SysAdmins — audit Docker Swarm configurations and verify server connectivity through natural language

Built-in capabilities (10)

get_application

Examines mapped GitHub branches, automatic rollout toggles (push to deploy), and assigned Traefik reverse proxy FQDN paths. Fetch elaborate internal topology metrics for a given Application

get_database

Highly required when linking newly provisioned Web Apps to Backend Datastores. Extrapolate internal configuration arrays for a Database

get_server

Verifies IP properties, SSH connection validation statuses, and Docker executing ports resolving across the cluster. Get configuration schema mapped to a specific Coolify Server Node

list_applications

Generates the crucial map associating Project repositories to explicit application UUIDs required for downstream mutations (like restarting and stopping). List all frontend/backend Applications actively managed by Coolify

list_databases

Isolates database bounding boxes mapping to applications so you can properly retrieve Connection Strings and backup cadence timelines. List managed PostgreSQL, MySQL, and Redis configurations

list_servers

Used to identify the raw physical endpoints running Docker swarms that host subsequent applications. List all self-hosted Server Nodes attached to Coolify

restart_application

Ensures updated config `.env` variables injected via Coolify take effect immediately in runtime RAM. Bounce a Coolify application recycling its container states

start_application

Spin up containers mapped to a suspended Application UUID

stop_application

Used precisely for pausing billing or restricting web perimeter ingress during a cyber incident directly via the Coolify dashboard API. Halt execution algorithms suspending the mapped Application

trigger_deployment

Performs `git fetch`, rebuilds Nixpacks images, caches dependencies, and rolls the updated Docker image out directly over the previous active application version. Trigger a raw build pipeline fetching the latest Git commit

Why Mastra AI?

Mastra's agent abstraction provides a clean separation between LLM logic and Coolify tool infrastructure. Connect 10 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.

  • Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Coolify without touching business code

  • Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation

  • TypeScript-native: full type inference for every Coolify tool response with IDE autocomplete and compile-time checks

  • One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure

M
See it in action

Coolify in Mastra AI

AI AgentVinkius
High Security·Kill Switch·Plug and Play
Enterprise Security

Why run Coolify with Vinkius?

The Coolify connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 10 tools are ready to work instantly without any complex setup.

You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

View full Coolify details →
Coolify
Fully ManagedNo server setup
Plug & PlayNo coding needed
SecurePrivacy protected
PrivateYour data is safe
Cost ControlBudget limits
Control1-click disconnect
Auto-UpdatesMaintenance free
High SpeedOptimized for AI
Reliable99.9% uptime
Your credentials and connection tokens are fully encrypted

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure

01 / Catalog

Over 4,000 integrations ready for AI agents

Explore a vast library of pre-built integrations, optimized and ready to deploy.

02 / Credentials

Connect securely in under 30 seconds

Generate tokens to authenticate and link external services in a single step.

03 / Guardian

Complete visibility into every agent action

Audit live requests, latency, success rates, and active security compliance policies.

04 / FinOps

Optimize spending and track token ROI

Analyze real-time token consumption and cost metrics detailed by connection.

Over 4,000 integrations ready for AI agents
Connect securely in under 30 seconds
Complete visibility into every agent action
Optimize spending and track token ROI

Explore our live AI Agents Analytics dashboard to see it all working

This dashboard is included when you connect Coolify using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.

Why Vinkius

Coolify and 4,000+ other AI tools. No hosting, no code, ready to use.

Professionals who connect Coolify to Mastra AI through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.

4,000+MCP Integrations
<40msResponse time
100%Fully managed
Raw MCP
Vinkius
Ready-to-use MCPsFind and configure each manually4,000+ MCPs ready to use
Connection SetupManual coding & server setup1-click instant connection
Server HostingYou host it yourself (needs 24/7 uptime)100% hosted & managed by Vinkius
Security & PrivacyStored in plaintext config filesBank-grade encrypted vault
Activity VisibilityBlind execution (no logs or tracking)Live dashboard with real-time logs
Cost ControlRunaway AI token spend riskAutomatic budget limits
Revoking AccessMust delete files or code to stop1-click disconnect button
The Vinkius Advantage

How Vinkius secures Coolify for Mastra AI

Every request between Mastra AI and Coolify is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.

< 40msCold start
Ed25519Signed audit chain
60%Token savings
FAQ

Frequently asked questions

01

Can my agent trigger a new deployment for a Coolify application?

Yes. Use the 'trigger_deployment' tool with the application UUID. The agent will initiate a full build pipeline, fetching the latest commit and rolling out the updated version directly on your server.

02

How do I retrieve the internal connection string for a managed database?

Provide the database UUID to the 'get_database' tool. Your agent will extrapolate the internal network URI (e.g., for PostgreSQL or MySQL), allowing you to securely link your apps without external port exposure.

03

Can I restart an application to apply new environment variables?

Absolutely. Use the 'restart_application' tool. The agent will execute an overlapping bounce, destroying old instances and initializing fresh replicas with the latest configuration and environment variables.

04

How does Mastra AI connect to MCP servers?

Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.

05

Can Mastra agents use tools from multiple servers?

Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.

06

Does Mastra support workflow orchestration?

Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.

07

createMCPClient not exported

Install: npm install @mastra/mcp

Explore More MCP Servers

View all →