- DATA
- LIST
- HUMAN
- CODE
Short answer
How do I get my database connection strings using AI?
Your AI uses the Coolify MCP to scan your instances and pull the exact connection strings for PostgreSQL, MySQL, or Redis. You'll get the host, port, user, and password details you need immediately.
The outcomes.
Where the data lands.
The AI handles the lookup so you don't have to dig through the Coolify dashboard.
DATA
Connection strings
The AI pulls the full string including credentials. You get the exact format needed for your application code.
LIST
Database inventory
The agent identifies all active PostgreSQL, MySQL, and Redis instances. You get a clear view of what's running.
HUMAN
Manual verification
You decide which strings are safe to use in your environment. The AI provides the data, but you control the deployment.
CODE
Ready to paste
The AI formats the output so you can copy it directly into your .env files or config settings.
The workflow
What your AI does when the request arrives.
The AI moves from scanning your environment to extracting specific credentials.
Scan instances
The agent looks through your Coolify account to find all available database services.
list_databasesIdentify target
The AI matches your request to a specific PostgreSQL, MySQL, or Redis instance.
list_databasesExtract credentials
The agent pulls the specific connection details for the selected database.
get_databaseFormat output
The AI presents the connection string in a clean, usable format for your project.
get_database
Try it
Copy these to start.
Use these prompts to trigger the Coolify MCP.
Starting points
Swap out the database names like 'production-redis' or 'main-postgres' to target specific instances.
Coolify Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_2OtVSYxP6F0y5CH4pZP2Y6H6N3UqbNzYtv86n8vS/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Coolify capabilities are ready to use.
{
"mcpServers": {
"coolify-mcp": {
"url": "https://edge.vinkius.com/vk_preview_2OtVSYxP6F0y5CH4pZP2Y6H6N3UqbNzYtv86n8vS/mcp"
}
}
}List all my databases in Coolify.
What is the connection string for my production PostgreSQL instance?
Find the Redis connection details for my staging environment.
Give me the MySQL connection string for the user database.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Coolify once, then ask.
One connection link is all it takes. Your credentials stay encrypted, and you can immediately start asking your AI for database info.
Connect Coolify to your AIFAQ
How this task behaves.
- 01
Can the AI change my database passwords?
No. The AI can only read existing connection strings; it cannot modify your database settings or credentials.
- 02
Does the AI see all my Coolify data?
The AI only sees the database information provided by the list and get tools. It cannot access other parts of your Coolify setup.
- 03
Can I use this to create new databases?
No. This MCP is designed for retrieving connection information, not for creating or managing database instances.
- 04
Which database types are supported?
The AI can retrieve strings for PostgreSQL, MySQL, and Redis instances.
- 05
Do I need to give the AI my Coolify login?
No. You connect via Vinkius, which manages the connection securely so you don't have to share raw credentials with the AI.
More questions about Coolify? The Connector page answers them. See everything the Coolify Connector can do
Connect Coolify to Claude, Cursor, ChatGPT & more
