# MySQL MCP server

> Enables AI assistants to inspect schemas, execute SQL queries, and manage data within MySQL or MariaDB databases.

- Repository: https://github.com/codeChap/mcp-server-mysql
- Page: https://hostedmcp.org/servers/codechap/mcp-server-mysql
- Transport: —
- Stars: 1
- Latest version: 0.2.0

## Tools (5)

- `table_name`
- `query`
- `database`
- `data`
- `conditions`

## FAQ

### Is the server safe to use with production databases?

Yes, it operates in read-only mode by default, allowing only SELECT queries to prevent accidental data modification.

### How can I enable INSERT, UPDATE, or DELETE operations?

You must explicitly enable write operations by using the --allow-dangerous-queries flag during startup.

### Can I query multiple databases in a single session?

Yes, you can specify a different database for each query using the optional database parameter.

### What are the system requirements for this server?

You need Rust 1.70 or higher and MySQL 5.7+ or MariaDB 10.2+.
