Skip to main content
Glama

MCP Universal DB Client

connect_database

Connect to PostgreSQL, MySQL, or SQLite databases using connection strings to establish database connections for query execution.

Instructions

Connect to a database using connection string

Input Schema

NameRequiredDescriptionDefault
connectionStringYesThe database connection string. e.g., postgresql://user:password@localhost:5432/dbname
dialectYesThe available database dialect (available: psql, mysql, sqlite)

Input Schema (JSON Schema)

{ "properties": { "connectionString": { "description": "The database connection string. e.g., postgresql://user:password@localhost:5432/dbname", "type": "string" }, "dialect": { "description": "The available database dialect (available: psql, mysql, sqlite)", "enum": [ "psql", "mysql", "sqlite" ], "type": "string" } }, "required": [ "dialect", "connectionString" ], "type": "object" }

Other Tools from MCP Universal DB Client

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/IzumiSy/mcp-universal-db-client'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server