aniketshukla1

MySQL MCP Lite — AI skill for Claude Code

AI community

MySQL MCP server for any AI agent: Claude Code, Codex, Cursor, OpenCode, Gemini CLI, VS Code.

How to install MySQL MCP Lite

This entry records only its repository, not the path inside it, so there is no exact command to give. Open aniketshukla1/mysql-mcp-lite and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What MySQL MCP Lite does

MySQL MCP server for any AI agent: Claude Code, Codex, Cursor, OpenCode, Gemini CLI, VS Code. Read-only by default.

Alternatives in AI

  • Agent Plugin — AI video editor for agents 1k ★
  • Awwwards MCP — Free, open-source MCP server that gives AI coding agents (Claude Code, Codex, Cursor, OpenCode, ZCode…) design 856 ★
  • Blender AI MCP Addon — AI assistant and MCP server for Blender: visual chat, scene tools, multi-agent workflows 531 ★

README

mysql-mcp-lite

MySQL for any AI agent: one MCP server, one install command. Works in Claude Code, Codex, Cursor, OpenCode, Gemini CLI, VS Code, Claude Desktop and any other MCP client.

Tool Does
list_databases Databases visible to the configured user
list_tables(database?) Tables and views, with approximate row counts
describe_table(table, database?) SHOW CREATE TABLE: columns, indexes, foreign keys
query(sql, database?) One statement → compact JSON {columns, rows, truncated}

Plus a `/mysql` prompt: ask in plain words, and the agent reads the schema and writes the SQL.

Read-only by default. Needs [uv](https://docs.astral.sh/uv/) and MySQL 5.7.8+ / 8.x.

Install

Every agent runs the same command:

uvx --from git+https://github.com/aniketshukla1/mysql-mcp-lite mysql-mcp-lite

From a local clone, give the folder instead: `uvx --from /path/to/mysql-mcp-lite mysql-mcp-lite`.

The first start downloads dependencies (about 10 seconds). If an agent shows the server as disconnected on its first launch, restart the agent.

The examples use a read-only user `mcp_ro` on database `shop` (see [Safety](#safety)). Swap in your values.

Claude Code

claude mcp add -s user mysql -e MYSQL_HOST=127.0.0.1 -e MYSQL_USER=mcp_ro -e MYSQL_PASSWORD=change-me -e MYSQL_DATABASE=shop -- uvx --from git+https://github.com/aniketshukla1/mysql-mcp-lite mysql-mcp-lite

Codex

codex mcp add mysql --env MYSQL_HOST=127.0.0.1 --env MYSQL_USER=mcp_ro --env MYSQL_PASSWORD=change-me --env MYSQL_DATABASE=shop -- uvx --from git+https://github.com/aniketshukla1/mysql-mcp-lite mysql-mcp-lite

Cursor, Gemini CLI, Claude Desktop and most other clients

They share one JSON shape:

{
  "mcpServers": {
    "mysql": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/aniketshukla1/mysql-mcp-lite", "mysql-mcp-lite"],
      "env": {
        "MYSQL_HOST": "127.0.0.1",
        "MYS