Skip to main content
Glama
multidb-mcp

multidb-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MULTIDB_HOSTNoDatabase host.
MULTIDB_PORTNoDatabase port. Defaults: Dameng 5236, SQL Server 1433, MySQL 3306.
MULTIDB_USERNoDatabase account username.
MSSQL_ENCRYPTNoSet to false to disable encryption for SQL Server.true
MULTIDB_SCHEMANoSchema for Dameng, or database name for SQL Server / MySQL.
MULTIDB_DB_TYPENoDatabase type: dameng, sqlserver, or mysql.dameng
MSSQL_TRUST_CERTNoSet to false to disable trusting self-signed server certificates for SQL Server.true
MULTIDB_MAX_ROWSNoMaximum number of rows returned per query.1000
MULTIDB_PASSWORDNoDatabase account password.
MULTIDB_READ_ONLYNotrue for read-only, false for writable.true
MULTIDB_CONNECTIONSNoJSON array of connection objects for multiple connections. Each object contains fields such as name, type, host, port, user, password, schema, and readOnly.
MULTIDB_SLOW_QUERY_MSNoSlow query threshold in milliseconds; queries exceeding it are marked slow=true in audit logs.1000
MULTIDB_QUERY_TIMEOUT_MSNoHard query timeout in milliseconds; 0 means no limit.30000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
test_connectionA

Verify the database connection and return server version and current schema. Use to check connectivity before running queries.

list_connectionsA

List all configured database connections with their type, host and schema. Never exposes passwords. Call this first when unsure which connection name to use.

list_tablesC

List all tables in a schema of the target database.

describe_tableA

Return column metadata for a table: column name, type, length, nullability, default and comment.

execute_sqlA

Execute a single SQL statement and return the result rows. In read-only connections only SELECT/SHOW/DESCRIBE/EXPLAIN/WITH statements are allowed. Multi-statement SQL is rejected. Results are capped at the configured max rows.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 5 tools

Disambiguation5/5

Each tool targets a distinct step in the database workflow: connection discovery, connectivity testing, table listing, schema inspection, and query execution. The boundaries are clear, and descriptions explicitly guide when to use list_connections versus test_connection.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern: test_connection, list_connections, list_tables, describe_table, execute_sql. The conventions are predictable and readable.

Tool Count5/5

Five tools is well-scoped for a multi-database MCP server, covering discovery, verification, schema introspection, and querying without redundant endpoints. Each tool earns its place.

Completeness4/5

The surface covers core database access workflows, including connection listing, testing, table discovery, schema description, and SQL execution. Minor gaps exist around listing schemas/databases explicitly or introspecting indexes, but agents can generally work around them.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues