Skip to main content
Glama
stoicsatvik

MySQL Bridge

by stoicsatvik
README.md
# MySQL Bridge

MySQL Bridge is a read-only MySQL MCP plugin for Claude Code and a submission-ready MCP package for ChatGPT’s Plugins Directory.

## Claude Code

Install directly from this repository’s marketplace:

```bash
claude plugin marketplace add stoicsatvik/mysql-bridge-mcp
claude plugin install mysql-bridge@mysql-bridge-marketplace
```

Claude Code then asks for a host, port, database, and a dedicated read-only MySQL account. The password is marked sensitive in the plugin manifest. The package includes its bundled server artifact, so users do not need to install project dependencies.

## Security model

- `list_tables` lists available tables and views.
- `describe_table` reads schema metadata.
- `query` only accepts one `SELECT`, `SHOW`, `DESCRIBE`, `EXPLAIN`, or `WITH` statement.
- The server never executes writes, even if the connected database account is over-permissioned.

## ChatGPT Plugins Directory

`chatgpt-app-submission.json` provides the required app information, tool annotations, and five positive plus three negative review tests. ChatGPT public listing requires a production Streamable HTTP MCP endpoint with OAuth 2.1, a verified publisher, public privacy/terms/support URLs, and OpenAI approval. The current bundled server is a Claude Code local stdio plugin; it is intentionally not submitted as a fake public ChatGPT endpoint.

See [official submission notes](docs/official-submission.md) for the exact remaining requirements.

## Develop

```bash
npm install
npm run check
npm run build
npm run build:plugin
```

TDQS

A4.2/5.0

Scored across 3 tools

Disambiguation5/5

Each tool serves a clearly distinct purpose: listing tables, describing a table's schema, and executing arbitrary read-only queries. There is no overlap or ambiguity, so an agent can easily select the right tool for the task.

Naming Consistency4/5

Two tools follow the verb_noun pattern (list_tables, describe_table), while 'query' is a bare verb. This is a minor deviation, but the naming remains predictable and readable, and the overall style is consistent (snake_case).

Tool Count4/5

Three tools is a small but reasonable footprint for a read-only database bridge. They cover the core operations (listing, describing, and querying) without unnecessary bloat, though a slightly larger set could be justified.

Completeness4/5

For a read-only MySQL bridge, the surface covers the essential workflows: discovering available tables, understanding schema, and running arbitrary queries. A potential gap is lack of transaction or metadata utilities, but these are not expected for a simple bridge.

Maintenance

ActivityMaintained
ResponsivenessNo issues