MySQL (read-only, switchable)
Read-only MySQL access, with the database and server switchable mid-conversation.
Open the source (opens github.com) https://github.com/shibbirweb/mcp-mysql-read-only
Before you use it
- Runs on your computer with your permissions. Read what it can do before connecting it to an agent.
- Needs credentials: MYSQL_PASSWORD, MYSQL_PROFILES. Use a key with the least access you can.
What it is
MCP servers from io.github.shibbirweb.
The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.
How to get it
npm package (stdio)
@shibbirweb/mcp-mysql-read-only@1.1.6
From the server's entry in the official MCP Registry
oci package (stdio)
docker.io/shibbirweb/mcp-mysql-read-only:1.1.6
From the server's entry in the official MCP Registry
Settings it asks for
MYSQL_HOST· Hostname of the MySQL server. Defaults to 127.0.0.1MYSQL_PORT· Port of the MySQL server. Defaults to 3306MYSQL_USER· MySQL user. Prefer an account holding only SELECT grantsMYSQL_PASSWORDsecret · Password for MYSQL_USER. Empty when the account has noneMYSQL_DATABASE· Database to open at startup. Can be changed later without restartingMYSQL_PROFILESsecret · JSON object of named connections to switch between, keyed by profile nameMYSQL_DEFAULT_PROFILE· Which MYSQL_PROFILES entry to start onMYSQL_CONNECT_TIMEOUT_MS· Connection timeout in milliseconds. Defaults to 10000MYSQL_QUERY_TIMEOUT_MS· Server-side query timeout in milliseconds. Defaults to 30000MYSQL_HOST· Hostname of the MySQL server. Use host.docker.internal to reach the hostMYSQL_PORT· Port of the MySQL server. Defaults to 3306MYSQL_USER· MySQL user. Prefer an account holding only SELECT grants
Related
-
Databases (read-only, switchable)
MCP serversRead-only SQL, MongoDB, Redis and Elasticsearch access, switchable mid-conversation.
@shibbirweb/mcp-db-read-only@1.1.0 -
read-only-mysql-mcp-server
MCP serversMCP server for read-only MySQL database queries in Claude Desktop
-
read-only-local-mysql-mcp-server
MCP serversMCP server for read-only MySQL database queries in Claude Desktop
@hovecapital/read-only-mysql-mcp-server@0.1.1 -
MySQL MCP
MCP serversMCP server for one MySQL database: schema, read-only queries and guarded writes.
mcp-mysql-client@1.1.1 -
mcp-mysql
MCP serversRead-only MySQL/MariaDB for AI agents — query, list/describe tables, health. SQL-guarded.
@infoinlet/mcp-mysql@0.1.1 -
database-mcp-mysql
MCP serversMCP server for MySQL. Read-only by default, row caps, statement timeouts, secrets never logged.
@database-mcp/mysql@0.5.0