# MySQL ReadOnly MCP Server

> Use this tool when you need to securely query MySQL databases with read-only access, protecting against SQL injection and ensuring efficient connection management. It solves problems related to secure database exploration, data analysis, and information retrieval, while providing a safe interface for AI agents to query databases. Ideal for use cases where read-only database access is required, such as data mining, reporting, and analytics.

Canonical page: https://skillsregistry.net/skills/zhaojw-php-mysql-readonly-mcp  
JSON: https://api.skillsregistry.net/v1/skills/zhaojw-php-mysql-readonly-mcp

## Description

Enables AI assistants to safely query MySQL databases with read-only access, featuring SQL injection protection, connection pooling, and automatic query limits for secure database exploration.

## Trust

- **Trust score (0–1):** 0.94
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** database
- **Updated:** 2026-09-19

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/bk6ch6pygj)
- **Repository:** <https://github.com/zhaojw-php/mysql-readonly-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "zhaojw-php-mysql-readonly-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/zhaojw-php-mysql-readonly-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/zhaojw-php-mysql-readonly-mcp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
