IzumiSy

MCP Universal DB Client

Community IzumiSy
Updated

Execute SQL queries on any database through MCP

MCP Universal DB Client

Model Context Protocol (MCP) server for connecting to and querying multiple databases (PostgreSQL, MySQL, SQLite).

Features

  • 🔌 Support for multiple database types (PostgreSQL, MySQL, SQLite)
  • 🔄 Manage multiple concurrent database connections
  • 🚀 Execute SQL queries through MCP tools
  • 💾 Connection pooling and management

Supported Databases

  • PostgreSQL (psql)
  • MySQL (mysql)
  • SQLite (sqlite)

Usage

MCP Configuration

Add the server to your MCP settings configuration file:

{
  "mcpServers": {
    "universal-db-client": {
      "command": "npx",
      "args": ["-y", "@izumisy/mcp-universal-db-client"]
    }
  }
}

Available Tools

1. connect_database

Connect to a database using a connection string.

Parameters:

  • dialect: Database type (psql, mysql, or sqlite)
  • connectionString: Connection string for the database

Example:

{
  "dialect": "psql",
  "connectionString": "postgresql://user:password@localhost:5432/mydb"
}

Returns: Connection ID for use in subsequent queries

2. list_connections

List all active database connections.

Returns: Array of active connections with their IDs, dialects, and connection times

3. run_query

Execute SQL queries on a connected database.

Parameters:

  • connectionID: The connection ID returned from connect_database
  • query: Array of SQL query strings to execute

Example:

{
  "connectionID": "abc-123-def-456",
  "query": ["SELECT * FROM users WHERE id = 1", "SELECT COUNT(*) FROM orders"]
}
4. disconnect_database

Disconnect a specific database connection.

Parameters:

  • connectionID: The connection ID to disconnect
5. disconnect_all

Disconnect all active database connections.

License

MIT

MCP Server · Populars

MCP Server · New

    umutkeltek

    healthsave-observatory

    Self-hosted health-data observatory: sync Apple Health, early wearable plugins, and Garmin/Samsung imports into a canonical TimescaleDB record; view baseline-linked findings and query a private API. Docker-ready, local-first, default-deny egress.

    Community umutkeltek
    atilaahmettaner

    TradingMCP: Market Data & Technical Analysis for AI Assistants

    MCP server for market analysis in AI assistants: screeners, multi-timeframe technical analysis, backtests and sentiment for crypto, stocks, forex and futures. 39 tools. Self-host free, or use the hosted version, TradingMCP.

    Community atilaahmettaner
    lifan-builds

    Faster Mac Use (fmu)

    Background-first, multi-cursor browser and native macOS computer-use engine for AI agents

    Community lifan-builds
    agent360dev

    Agent360 Browser MCP

    The browser tool that can stop and ask you. A 2FA code, a CAPTCHA, a choice only you can make: it asks on your screen, then carries on in the same signed-in Chrome. 41 tools, MCP clients that run local servers, MIT.

    Community agent360dev
    robinAKL

    Agent Room

    Put Claude Code, Cursor, Codex, Gemini & Antigravity in one room — real-time multi-agent AI collaboration over MCP for distributed dev, code review, PR handoff & frontend↔backend integration. Free, self-hostable, MCP-native.

    Community robinAKL