Skip to content
Agentmart
Submit a tool

MySQL MCP

MCP server for one MySQL database: schema, read-only queries and guarded writes.

Connector by gistrec · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)
Write a review

Chalk Labs

Need help deploying MySQL MCP?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/gistrec-mcp-mysql-client

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

MCP server for one MySQL database: schema, read-only queries and guarded writes.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list, install config and code. Checked Nov 1, 2026.

Tools
5 read · 0 write · 1 delete
Secrets
1 (API keys, tokens or passwords)
Install scripts
None found
Runs as
Node.js package

Tools by what they do 6

Read from the source code; the running server may list different tools.

Read 5 · Look things up without changing anything.

  • describe_table
  • explain
  • list_tables
  • query
  • server_info

Delete 1 · Delete, drop, revoke or wipe things.

  • execute

Secrets and settings it asks for

Secrets: values you paste in that let it act as you.

  • MYSQL_PASS

Other settings (environment variables or headers).

  • ALLOW_DELETE_OPERATION
  • ALLOW_INSERT_OPERATION
  • ALLOW_UPDATE_OPERATION
  • MYSQL_DB
  • MYSQL_HOST
  • MYSQL_MAX_ROWS
  • MYSQL_PORT
  • MYSQL_SSL
  • MYSQL_SSL_CA
  • MYSQL_TIMEOUT_MS
  • MYSQL_USER

Network hosts it talks to 3

  • github.com · found in code
  • glama.ai · found in code
  • usage.gistrec.cloud · found in code

Files it touches

  • Your home directory (~)

Tools (6)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • describe_tableСтруктура таблицыread-only

    Показывает структуру таблицы: столбцы с типами, обнуляемостью, значениями по умолчанию и комментариями, индексы с их составом, внешние ключи наружу и, главное, ссылки на эту таблицу из других (referenced_by) — именно они определяют, безопасно ли удалять строки. Разделы, кроме столбцов, можно отключить, если нужен только их список.

  • executeВыполнить изменяющий SQL-запросcan change or delete data

    Description is built at runtime.

  • explainПоказать план выполнения запросаread-only

    Возвращает план выполнения читающего запроса: какие индексы будут использованы и сколько строк сервер рассчитывает просмотреть. Обычный режим ничего не выполняет; analyze=true запускает запрос по-настоящему и показывает фактическое время — на больших таблицах это дорого. Полезно перед тяжёлой выборкой и при диагностике медленных запросов.

  • list_tablesСписок таблиц базыread-only

    Перечисляет таблицы и представления подключённой базы: движок, кодировку, комментарий, размер данных и индексов в байтах и оценку числа строк. Оценка берётся из статистики InnoDB и может заметно расходиться с реальностью — точное число даёт COUNT(*) через query. С этого инструмента стоит начинать знакомство с незнакомой базой.

  • queryВыполнить читающий SQL-запросread-only

    Выполняет один читающий запрос (SELECT, SHOW, DESCRIBE, WITH ... SELECT) и возвращает строки. Изменяющие запросы отклоняются даже при включённых правах на запись — для них есть execute. Запрос идёт внутри read-only транзакции, число строк ограничено MYSQL_MAX_ROWS: если ответ обрезан, поле truncated равно true и это префикс, а не весь результат. Значения подставляйте через ? и params — драйвер экранирует их сам.

  • server_infoСведения о подключении и правахread-only

    Показывает, к какой базе и под каким пользователем подключён сервер, версию MySQL, размер базы, выданные пользователю права (GRANT) и действующие ограничения самого MCP-сервера: разрешённые операции записи, потолок строк в ответе и таймаут запроса. Стоит вызвать первым, если непонятно, почему запрос отклонён: права MySQL и разрешения сервера — это два независимых ограничения.

Signals

Stars
0
Forks
0
Open issues
0
Last commit
Oct 22, 2026 (13 days ago)
Last release
Oct 22, 2026 (13 days ago)

From GitHub (fetched Oct 24, 2026).

Details

Registry name
io.github.gistrec/mcp-mysql-client
Version
1.0.1
Auth
API key
Packages
npm mcp-mysql-client
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from gistrec

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get MySQL MCP running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying MySQL MCP?

CallGet help
Cite this page

MySQL MCP. Agent Mart. https://agentmart.dev/connectors/gistrec-mcp-mysql-client (last updated 2026-10-24)