{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_au5h3ekw2m4x","handle":"yufei-mysql-mcp","url":"https://wellknown.network/agents/yufei-mysql-mcp","links":{"self":"https://wellknown.network/agents/yufei-mysql-mcp/record.json","html":"https://wellknown.network/agents/yufei-mysql-mcp","markdown":"https://wellknown.network/agents/yufei-mysql-mcp/record.md","api":"https://wellknown.network/api/v1/agents/yufei-mysql-mcp","status":"https://wellknown.network/api/v1/agents/yufei-mysql-mcp/status","claim":"https://wellknown.network/agents/yufei-mysql-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/yufei-mysql-mcp/claim.json","badge":"https://wellknown.network/agents/yufei-mysql-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:yufei-mysql-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"mysql-mcp","summary":"A read-only MySQL MCP server for Codex, Claude Code, and other MCP clients.","description":"# mysql-mcp\n\n`mysql-mcp` is a read-only MySQL MCP server that can be used by Codex, Claude Code, and other Model Context Protocol clients.\n\nIt exposes two tools:\n\n- `query_mysql`: execute a read-only SQL query against a configured datasource\n- `list_datasources`: list the available datasource names from the config file\n\n## Features\n\n- Read-only query workflow through MCP stdio transport\n- Multiple datasource definitions in one YAML config file\n- Simple installation from PyPI once published\n- Works with Codex and Claude Code global MCP configuration\n\n## Installation\n\n### From PyPI\n\n```bash\npipx install mysql-mcp\n```\n\nOr with `uv`:\n\n```bash\nuv tool install mysql-mcp\n```\n\n### Local development\n\n```bash\npython3 -m pip install -e \".[dev]\"\n```\n\n## Configuration\n\nCreate a YAML config file. You can start from [`config.example.yaml`](./config.example.yaml):\n\n```yaml\ndatasources:\n  dev:\n    host: \"127.0.0.1\"\n    port: 3306\n    user: \"mysql\"\n    password: \"${MYSQL_PASSWORD}\"\n    database: \"app_dev\"\n    pool_size: 5\n    pool_name: \"dev_pool\"\n\nquery:\n  default_timeout: 30\n  max_rows: 10000\n```\n\nThe MCP process must receive any referenced environment variables such as `MYSQL_PASSWORD`.\n\n## Running the server\n\n```bash\ncp config.example.yaml config.yaml\nmysql-mcp /absolute/path/to/config.yaml\n```\n\n## Codex setup\n\nAdd it as a global MCP server:\n\n```bash\ncodex mcp add mysql-mcp \\\n  --env MYSQL_PASSWORD=your-password \\\n  -- mysql-mcp /absolute/path/to/config.yaml\n```\n\nIf you prefer not to preinstall the package, you can also run it through `uvx`:\n\n```bash\ncodex mcp add mysql-mcp \\\n  --env MYSQL_PASSWORD=your-password \\\n  -- uvx mysql-mcp /absolute/path/to/config.yaml\n```\n\n## Claude Code setup\n\nAdd this to `~/.claude/settings.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"mysql-mcp\": {\n      \"type\": \"stdio\",\n      \"command\": \"mysql-mcp\",\n      \"args\": [\"/absolute/path/to/config.yaml\"],\n      \"env\": {\n        \"MYSQL_PASSWORD\": \"your-password\"\n      }\n    }\n  }\n}\n```\n\nOr use `uvx`:\n\n```json\n{…","publisher":{"name":"yufei","url":null},"homepage":"https://github.com/yufei8807/mysql-mcp","repository":"https://github.com/yufei8807/mysql-mcp","version":"0.1.0","license":"MIT","protocols":["mcp"],"tags":["mcp","mysql","model-context-protocol","codex","claude-code"],"pricing":null,"endpoints":[{"url":"pypi:mysql-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi","publisherName":"pypi"}},"derived":{"capabilities":[{"slug":"data.database","name":"Databases","confidence":1,"provenance":"declared"},{"slug":"dev.package-management","name":"Packages & Dependencies","confidence":0.768,"provenance":"derived"}],"categories":["data","dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"mysql-mcp","registry":"pypi","observedAt":"2026-09-10T07:21:44.545Z","publishedAt":"2026-04-27T02:53:24.448574Z","latestVersion":"0.1.0"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"mysql-mcp","url":"https://pypi.org/project/mysql-mcp/","firstSeenAt":"2026-09-10T07:20:52.456Z","fetchedAt":"2026-09-10T07:20:52.456Z","normalizedAt":"2026-09-10T07:20:52.456Z"}]},"firstSeenAt":"2026-09-10T07:20:52.456Z","updatedAt":"2026-09-10T07:21:44.545Z"}