mariadb-mcp
by uncleg-dev
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DB_HOST | Yes | MariaDB host address | localhost |
| DB_NAME | No | Default database (optional) | |
| DB_PORT | No | MariaDB port | 3306 |
| DB_USER | Yes | MariaDB username | |
| HF_MODEL | No | HuggingFace model name (required if EMBEDDING_PROVIDER=huggingface, e.g., 'BAAI/bge-m3') | |
| DB_CHARSET | No | Character set for database connection (e.g., cp1251) | |
| DB_PASSWORD | Yes | MariaDB password | |
| ALLOWED_HOSTS | No | Comma-separated list of allowed hosts | localhost,127.0.0.1 |
| MCP_READ_ONLY | No | Enforce read-only SQL mode (true/false) | true |
| GEMINI_API_KEY | No | API key for Gemini embeddings (required if EMBEDDING_PROVIDER=gemini) | |
| OPENAI_API_KEY | No | API key for OpenAI embeddings (required if EMBEDDING_PROVIDER=openai) | |
| ALLOWED_ORIGINS | No | Comma-separated list of allowed origins | |
| MCP_MAX_POOL_SIZE | No | Max DB connection pool size | 10 |
| EMBEDDING_PROVIDER | No | Embedding provider (openai/gemini/huggingface). Leave unset to disable. | |
| FASTMCP_SERVER_AUTH | No | FastMCP authentication provider class | |
| FASTMCP_SERVER_AUTH_GITHUB_CLIENT_ID | No | GitHub OAuth client ID | |
| FASTMCP_SERVER_AUTH_GOOGLE_CLIENT_ID | No | Google OAuth client ID | |
| FASTMCP_SERVER_AUTH_GITHUB_CLIENT_SECRET | No | GitHub OAuth client secret | |
| FASTMCP_SERVER_AUTH_GOOGLE_CLIENT_SECRET | No | Google OAuth client secret |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/uncleg-dev/mariadb-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server