MySQL connector
The MySQL connector opens a read-only TLS connection from OrgMCP to your MySQL 8 / MariaDB / Aurora MySQL database and exposes nine live MCP tools (schema/table explore, guarded SELECT, catalog-resolved stored procedures, and mysql_diagnose). It is tools-only — there is no knowledge-source picker and no RAG crawler.
Connect
- Create a least-privilege role. Prefer
GRANT EXECUTEonCOMMENT-documented lookup procedures over tableSELECT(see the operator runbook). - In the OrgMCP admin console, open Connectors → Add → MySQL.
- Paste a
mysql://user:password@host:3306/databaseURI (ormariadb://). Do not append?ssl-mode=— configure TLS with the connector fields instead. - Choose
sslMode(verify-fullrecommended) and optionally paste a private CA PEM incaCert. - Click Test connection. Green means the role can see at least one user schema or one stored routine. Zero of both fails.
Network requirements
- A direct connection requires a publicly routable database host. Private, loopback, and cloud-metadata addresses are refused (SSRF protection).
- An SSH bastion may forward to a private (RFC1918 / IPv6 ULA) database. The bastion itself must still be publicly routable. Allow OrgMCP egress to port
3306and port22when tunnelling.
Stored procedures
Use mysql_list_procedures first — it returns each routine's COMMENT and parameter names/modes/types. A name alone is not enough for an agent to tell q from role. Then call mysql_call_procedure with bound parameters. Raw CALL in mysql_run_query is rejected.
What does not get indexed
- Nothing — this connector has no RAG ingest and no
source_type. Use the livemysql_*tools (or another connector) for searchable knowledge.
Operator runbook: docs/RUN-mysql-connector.md. Canonical matrix: docs/ARCH-connector-capabilities.md. See also PostgreSQL.