← Index

MySQL (read-only, switchable)

io.github.shibbirweb/mcp-mysql-read-onlyv1.1.5Databases

Read-only MySQL access, with the database and server switchable mid-conversation.

The current version, v1.1.5, was published to the official MCP registry on 2026-09-22. It is distributed as @shibbirweb/mcp-mysql-read-only on npm and as the Docker image docker.io/shibbirweb/mcp-mysql-read-only:1.1.5, filed under Databases by this index, and declares 9 environment variables. Removals and unreachable sources are measured across every server this index tracks, contract drift across the servers that answer in consecutive snapshots; the index's current counts put this record in context.

In-path gate · all MCP tools

Using MySQL (read-only, switchable) in Claude, Cursor, Gemini CLI, Cline, or Zed?

MCP tool contracts can change remotely with no version bump. The mcpindex gate pins each contract and HOLDs the call when it drifts-before your agent acts. Zero credentials. This is not the package install for this server itself (use Install this server for that).

Install the mcpindex gate (one command)

Rewrites your MCP host config so each server launches behind the gate. Inspect first: curl -fsSL https://mcpindex.ai/install.sh | less

uv tool install mcpindex-gate && mcpindex-config-wire
Trust verdict · v1 advisory · method
NOT YET SCREENEDno verdict on file

Verdict not yet evaluated for this tool. The semantic screen takes adversarial cases first; coverage rolls out as the corpus expands (15/150 labels to graduation). The deterministic conformance probe is built but has not yet run on the public corpus, so a recorded verdict here is REVIEW or UNVERIFIED, never a clearing ALLOW. Until a verdict is recorded, an agent should treat this tool as not-yet-cleared and fall back to its own checks. Method: the eval, four-state verdict, honest limits.

Own this server? Screen its description →

That verdict was true at screening time (snapshot 2026-09-22).

Contracts can change after screening, with no version bump. The gate pins MySQL (read-only, switchable)’s tool contracts on first sight and holds any silent change before your agent acts - the check that keeps being true on Tuesday.

See your first HOLD in 2 minutes →

Related: how to trust an MCP server · screen before install · silent contract drift

Environment variables
MYSQL_HOST

Hostname of the MySQL server. Defaults to 127.0.0.1

MYSQL_PORT

Port of the MySQL server. Defaults to 3306

MYSQL_USER

MySQL user. Prefer an account holding only SELECT grants

MYSQL_PASSWORD
secret

Password for MYSQL_USER. Empty when the account has none

MYSQL_DATABASE

Database to open at startup. Can be changed later without restarting

MYSQL_PROFILES
secret

JSON object of named connections to switch between, keyed by profile name

MYSQL_DEFAULT_PROFILE

Which MYSQL_PROFILES entry to start on

MYSQL_CONNECT_TIMEOUT_MS

Connection timeout in milliseconds. Defaults to 10000

MYSQL_QUERY_TIMEOUT_MS

Server-side query timeout in milliseconds. Defaults to 30000

MYSQL_HOST

Hostname of the MySQL server. Use host.docker.internal to reach the host

MYSQL_PORT

Port of the MySQL server. Defaults to 3306

MYSQL_USER

MySQL user. Prefer an account holding only SELECT grants

MYSQL_PASSWORD
secret

Password for MYSQL_USER. Empty when the account has none

MYSQL_DATABASE

Database to open at startup. Can be changed later without restarting

MYSQL_PROFILES
secret

JSON object of named connections to switch between, keyed by profile name

MYSQL_DEFAULT_PROFILE

Which MYSQL_PROFILES entry to start on

MYSQL_CONNECT_TIMEOUT_MS

Connection timeout in milliseconds. Defaults to 10000

MYSQL_QUERY_TIMEOUT_MS

Server-side query timeout in milliseconds. Defaults to 30000

MCP quality score · maturity, not trust · methodology
freshness
25
completeness
20
installability
25
documentation
15
stability
10
Alternatives in Databases