mcp-mariadb
Allows executing SQL queries on a MariaDB database, returning rows and row count.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-mariadbList the first 10 users"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
The official MCP Server for the Mux API
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA TypeScript-based MCP server that facilitates SQL query execution and MySQL database connectivity using environment variables.125 npmMIT
- AlicenseNot gradedqualityAmaintenanceUniversal database MCP server connecting to MySQL, PostgreSQL, SQLite, DuckDB and etc.3 npm3,527MIT
- AlicenseAqualityCmaintenanceDatabase MCP server for MySQL, MariaDB, PostgreSQL & SQLite631MIT
- MIT