• DATA
  • LIST
  • HUMAN
  • CODE

How to retrieve database connection strings with your agent

Connect Coolify to your AI client once. After that, your agent can pull specific connection details for any database you manage.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How do I get my database connection strings using AI?

Your agent 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.

Your agent handles the lookup so you don't have to dig through the Coolify dashboard.

DATA

Connection strings

Your agent pulls the full string including credentials. You get the exact format needed for your application code.

LIST

Database inventory

Your 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. Your agent provides the data, but you control the deployment.

CODE

Ready to paste

Your agent formats the output so you can copy it directly into your .env files or config settings.

The workflow

What your agent does when the request arrives.

Your agent moves from scanning your environment to extracting specific credentials.

  1. Scan instances

    Your agent looks through your Coolify account to find all available database services.

    list_databases
  2. Identify target

    Your agent matches your request to a specific PostgreSQL, MySQL, or Redis instance.

    list_databases
  3. Extract credentials

    Your agent pulls the specific connection details for the selected database.

    get_database
  4. Format output

    Your agent presents the connection string in a clean, usable format for your project.

    get_database

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Coolify tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

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.

Connector linkhttps://edge.vinkius.com/vk_preview_2OtVSYxP6F0y5CH4pZP2Y6H6N3UqbNzYtv86n8vS/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Coolify capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "coolify-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_2OtVSYxP6F0y5CH4pZP2Y6H6N3UqbNzYtv86n8vS/mcp"
    }
  }
}
Copy into chat04
  • 01

    List all my databases in Coolify.

  • 02

    What is the connection string for my production PostgreSQL instance?

  • 03

    Find the Redis connection details for my staging environment.

  • 04

    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 agent for database info.

Connect Coolify to your agent

FAQ

How this task behaves.

  • 01

    Can your agent change my database passwords?

    No. Your agent can only read existing connection strings; it cannot modify your database settings or credentials.

  • 02

    Does your agent see all my Coolify data?

    Your agent 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?

    Your agent can retrieve strings for PostgreSQL, MySQL, and Redis instances.

  • 05

    Do I need to give your agent my Coolify login?

    No. You connect via Vinkius, which manages the connection securely so you don't have to share raw credentials with your agent.

  • More questions about Coolify? The Connector page answers them. See everything the Coolify Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Coolify to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Coolify plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Coolify to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.