mcp-mariadb
Allows executing SQL queries on a MariaDB database, returning rows and row count.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcp-mariadb
A simple Model Context Protocol (MCP) server for MariaDB.
Features
Loads MariaDB connection settings from a YAML config file
Uses the environment variable MCP_MARIADB_CONFIG when set
Defaults to ~/.mcp-mariadb/config.yaml when the environment variable is not set
Exposes one tool: executesql
Related MCP server: DBHub
Usages
Installation
Use one of the sample in editor's mcp config file, put in your repo:
.cursor/mcp.json.antigravity/mcp.config.json.vscode/mcp.json.windsurf/mcp.config.json
Notes: remove the --network mcp-net in the config file if your database is not configured to use the docker network mcp-net.
Configuration
Create a YAML file such as:
mariadb:
host: localhost
database: app
username: app
password: secretTool usage
Ask the AI agent to use it when work with mariadb database.
Badges
This server cannot be deployed
Maintenance
Related MCP Connectors
A simple MCP server built with FastMCP and python
MCP server for the Vulners.com API
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA TypeScript-based MCP server that facilitates SQL query execution and MySQL database connectivity using environment variables.270 npmMIT
- AlicenseNot gradedqualityAmaintenanceUniversal database MCP server connecting to MySQL, PostgreSQL, SQLite, DuckDB and etc.22 npm3,780MIT
- AlicenseAqualityAmaintenanceDatabase MCP server for MySQL, MariaDB, PostgreSQL & SQLite633MIT
- MIT