MariaDB MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DB_MCP_CONFIG_PATH | No | Environment variable to specify a custom path for the config.json file. If not set, the server looks in default locations (e.g., ~/.config/mariadb-mcp/config.json). |
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
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_connectionsB | Lists configured MariaDB connections. |
| list_databasesB | Lists databases for the selected connection. |
| list_tablesC | Lists tables for the selected connection. |
| describe_tableC | Returns column information for a table. |
| execute_selectB | Executes a read-only SELECT/SHOW/DESCRIBE/EXPLAIN query. Row limit is enforced. |
| suggest_queryC | Suggests a query that should be executed manually. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool has a distinct purpose: describing tables, executing SELECT queries, listing connections, databases, tables, and suggesting queries. No overlap.
All tool names follow a consistent verb_noun snake_case pattern (e.g., describe_table, list_databases).
6 tools is well-scoped for a MariaDB server, covering metadata listing, query execution, and query suggestion without being excessive or thin.
Covers read-only operations (SELECT, DESCRIBE, metadata listing) and query suggestion, but lacks write operations (INSERT/UPDATE/DELETE) and DDL commands. This gap appears intentional but limits the surface.