# MariaDB Enterprise MCP Server

- [Overview](https://mariadb.com/docs/tools/mariadb-enterprise-mcp-server/introduction.md): The MariaDB Enterprise MCP Server acts as a hardened interface between AI agents and MariaDB, centralizing access control, simplifying AI development, and enabling RAG workflows.
- [Features](https://mariadb.com/docs/tools/mariadb-enterprise-mcp-server/features.md): MariaDB Enterprise MCP Server provides database introspection and SQL tools, vector store and semantic search tools, and RAG orchestration for document ingestion and response generation.
- [Authentication](https://mariadb.com/docs/tools/mariadb-enterprise-mcp-server/authentication.md): MCP Server authentication uses JWT tokens with bcrypt hashing, role-based access control, and four deployment modes including standalone, 1Password, Local Vault, and HCP Vault.
- [Token Management](https://mariadb.com/docs/tools/mariadb-enterprise-mcp-server/authentication/token-management.md): The MCP Server issues JWT tokens on login, then validates each request by verifying the signature, checking token expiration, and confirming the user against the shared MariaDB database.
- [Architecture](https://mariadb.com/docs/tools/mariadb-enterprise-mcp-server/architecture.md): MariaDB Enterprise MCP Server uses a multi-layered architecture: an MCP Server gateway, an optional RAG API microservice, and a shared MariaDB database as the single source of truth.
- [Example](https://mariadb.com/docs/tools/mariadb-enterprise-mcp-server/example.md): Usage examples for the MariaDB Enterprise MCP Server illustrate JSON tool-call payloads for SQL queries, vector store creation, document insertion, semantic search, and RAG generation.
- [Usage Examples](https://mariadb.com/docs/tools/mariadb-enterprise-mcp-server/example/usage-examples.md): JSON payload examples for the MariaDB Enterprise MCP Server span SQL queries, vector store creation and search, document insertion, and RAG generation, each shown as a tool call.
- [Frequently Asked Questions](https://mariadb.com/docs/tools/mariadb-enterprise-mcp-server/frequently-asked-questions.md): Common questions about the MCP Server address installation, MariaDB connection setup, AI client integration, how LLM agents invoke tools, and the purpose of JSON protocol examples.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mariadb.com/docs/tools/mariadb-enterprise-mcp-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
