-
Notifications
You must be signed in to change notification settings - Fork 2
Architecture
Chris edited this page Jul 7, 2026
·
136 revisions
mysql-mcp delivers enterprise-grade database operations with OAuth, Code Mode, and strict execution boundaries. Read the full value proposition.
- Specialized Tool Library distributed across Tool Groups to handle CRUD and spatial analysis.
- Shortcuts (Tool Filtering) to configure context-friendly setups.
- Observability Resources and AI-Powered Prompts to support agent workflows.
-
Code Mode (
mysql_execute_code): Advanced sandbox for multi-step data manipulation natively inside the DB without round trips. This delivers cost savings and reduces error points. It includes configurable payload caps and rate limiting. -
Supported Transports: Switch between
stdio,http(Streamable HTTP/mcp), andsse(Legacy/sse). -
Observability & Telemetry: Native Prometheus
/metricsexport on HTTP transport for pre-configured Grafana dashboards. - Authentication: We support Simple Bearer Tokens or full OAuth (RFC 9728/8414) via Keycloak.
- Strict Execution Boundaries: Secure parameters and query aliases at the MCP layer before interacting with the database.
- Optimized Payload Delivery: Require explicit filters for high-cardinality operations to guarantee token efficiency.
- Dual-Schema Validation Pattern: Tools use a Base schema for visibility. They use a Derived schema for parsing. This supports aliases without breaking JSON Schema. Integrates Standard Schema interfaces via Zod's safe parsing patterns to enforce tool boundaries. This rejects invalid or hallucinated payloads at the MCP boundary, ensuring predictable AI agent execution.
Unlock autonomous database orchestration with an enterprise-grade MySQL MCP server. Featuring blazing-fast sandboxed Code Mode, uncompromising schema enforcement, and seamless ecosystem integrations to power secure, intelligent AI workflows.
- Installation
- Configuration
- Architecture
- HTTP Transport
- Tool Filtering
- Code Mode
- Tools
- Prompts
- Resources
- Observability & Telemetry