MariaDB MCP Server
Manage and query MariaDB databases with SQL and vector search capabilities.
Best for Enabling AI assistants to query relational data directly from MariaDB.
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…
What it does
- Standard SQL query execution with read-only enforcement
- Schema retrieval including foreign key relationship mapping
- Vector store management for embedding-based semantic search
- Integration with OpenAI, Gemini, and HuggingFace embedding providers
- Database and table discovery tools
Available tools (11)
list_databasesLists all accessible databases.list_tablesLists all tables in a specified database.get_table_schemaRetrieves schema for a table including columns, types, and keys.get_table_schema_with_relationsRetrieves schema with foreign key relations for a table.execute_sqlExecutes a read-only SQL query.create_databaseCreates a new database if it does not exist.create_vector_storeCreates a new vector store table for embeddings.delete_vector_storeDeletes a vector store table.list_vector_storesLists all vector stores in a database.insert_docs_vector_storeBatch inserts documents and metadata into a vector store.search_vector_storePerforms semantic search for similar documents using embeddings.Setup requirements
Requires 5 environment variables: EMBEDDING_PROVIDER, OPENAI_API_KEY, GEMINI_API_KEY, HF_MODEL, MCP_READ_ONLY. Available via Manual.