Skip to main content
Glama
MariaDB MCP Server

MariaDB MCP Server

by Ophecy

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_HOSTYesThe host address of the MariaDB/MySQL server (default: localhost).localhost
DB_NAMENoOptional default database name.
DB_PORTYesThe port number of the MariaDB/MySQL server (default: 3306).3306
DB_USERYesThe database user.
DB_PASSWORDYesThe password for the database.

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
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
query_databaseC

Execute a SQL query on the MariaDB database. Returns the results as JSON.

list_databasesA

List all databases available on the MariaDB server

list_tablesC

List all tables in the current database

describe_tableC

Get the structure/schema of a specific table

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 4 tools

Disambiguation5/5

The four tools have clearly distinct purposes: arbitrary SQL execution, database listing, table listing, and schema description. An agent can easily tell when to use each tool without ambiguity.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern: query_database, list_databases, list_tables, describe_table. This is highly predictable.

Tool Count5/5

Four tools are well-scoped for a database access server, covering query execution and the essential metadata discovery steps. Each tool earns its place without bloat.

Completeness4/5

Core operations are covered: query_database can execute arbitrary SQL including DDL/DML, and the introspection tools cover databases, tables, and schemas. Minor gaps exist around explicitly switching database context and inspecting richer metadata like indexes or constraints, but these are workable via query_database.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues