技能潮 SkillTide 提交收录
官方说明3 个来源MCP 服务3 天前
MariaDB/mcp

MariaDB/mcp

MariaDB MCP (Model Context Protocol) server implementation
在 GitHub 查看 ↗直链 · 无中转页
来源明细
收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-14 · 最近见到 2026-10-16 · 共见到 4 次 · 被 3 个来源列出
评分构成
综合分 303 · 3 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-10-14;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

MCP MariaDB Server

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

The MCP MariaDB Server provides a Model Context Protocol (MCP) interface for managing and querying MariaDB databases, supporting both standard SQL operations and advanced vector/embedding-based search. Designed for use with AI assistants, it enables seamless integration of AI-driven data workflows with relational and vector databases.
---
Table of Contents
- Overview
- Core Components
- Available Tools
- Embeddings & Vector Store
- Configuration & Environment Variables
- Security Considerations
- Installation & Setup
- Usage Examples
- Integration - Claude desktop/Cursor/Windsurf
- Logging
- Testing
---
Overview
The MCP MariaDB Server exposes a set of tools for interacting with MariaDB databases and vector stores via a standardized protocol. It supports:
- Listing databases and tables
- Retrieving table schemas
- Executing safe, read-only SQL queries
- Creating and managing vector stores for embedding-based search
- Integrating with embedding providers (currently OpenAI, Gemini, and HuggingFace) (optional)
---
Core Components
- **server.py**: Main MCP server logic and tool definitions.
- **config.py**: Loads configuration from environment and .env files.
- **embeddings.py**: Handles embedding service integration (OpenAI).
- **tests/**: Manual and automated test documentation and scripts.
---
Available Tools
Standard Database Tools
- **list_databases**
- Lists all accessible databases.
- Parameters: _None_
- **list_tables**
- Lists all tables in a specified database.
- Parameters: database_name (string, required)
- **get_table_schema**
- Retrieves schema for a table (columns, types, keys, etc.).
- Parameters: database_name (string, required), table_name (string, required)
- **get_table_schema_with_relations**
- Retrieves schema with foreign key relations for a table.
- Parameters: database_name (string, required), table_name (string, required)
- **execute_sql**
- Executes a read-only SQL query (SELECT, SHOW, DESCRIBE).
- Parameters: sql_query (string, required), database_name (string, optional), parameters (list, optional)
- _Note: Enforces read-only mode if MCP_READ_ONLY is enabled._
- **create_database**
- Creates a new database if it doesn't exist.
- Parameters: database_name (string, required)
Vector Store & Embedding Tools (optional)
**Note**: These tools are only available when EMBEDDING_PROVIDER is configured. If no embedding provider is set, these tools will be disabled.
- **create_vector_store**
- Creates a new vector store (table) for embeddings.
- Parameters: database_name, vector_store_name, model_name (optional), distance_function (optional, default: cosine)
- **delete_vector_store**
- Deletes a vector store (table).
- Parameters: database_name, vector_store_name
- **list_vector_stores**
- Lists all vector stores in a database.
- Parameters: database_name
- **insert_docs_vector_store**
- Batch inserts documents (and optional metadata) into a vector store.
- Parameters: database_name, vector_store_name, documents (list of strings), metadata (optional list of dicts)
- **search_vector_store**
- Performs semantic search for similar documents using embeddings.
- Parameters: database_name, vector_store_name, user_query (string), k (optional, default: 7)
---
Embeddings & Vector Store
Overview
The MCP MariaDB Server provides **optional** embedding and vector store capabilities. These features can be enabled by configuring an embedding provider, or completely disabled if you only need standard database operations.
Supported Providers
- **OpenAI**
- **Gemini**
- **Open models from Huggingface**
Configuration
- EMBEDDING_PROVIDER: Set to openai, gemini, huggingface, or leave unset to disable
- OPENAI_API_KEY: Required if using OpenAI embeddings
来源
awesome · https://github.com/MariaDB/mcp
按领域浏览
MCP 服务
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引