MySQL MCP Lite — AI skill for Claude Code
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
Related Skills
MCP Vps Toolkit
Policy-gated MCP server that lets Claude, Cursor and other AI agents inspect and operate a Linux VPS safely: r
Lodeline
Open-source config scanner for AI coding agents: scores the permissions, hooks, sandbox and MCP settings of Cl
Gmail Automator
Self-hosted Gmail MCP server for AI agents and coding tools. Send, read and reply to email from Claude Code, C
Beckett Godot MCP
Zero-sidecar MCP server inside the Godot editor. AI agents (Claude Code, Cursor) inspect, author, run and SEE
Agentic Access Control
Read-only, local-first dashboard showing what your AI agents (Claude Code, Gemini CLI, MCP servers) are actual
Go Surgeon
Deterministic Go code editing for LLM agents. AST-based CLI and MCP server that replaces Edit, Read, and Grep
Related Agents
Protocol Researcher
Verifies facts about vendor agent CLIs, SDKs, protocols and terms (Claude Code, Codex, Gemini CLI, OpenCode, A
CLI Researcher
Researches how an agent CLI (Codex, Gemini CLI, Kimi CLI, Grok, opencode…) stores its configuration — skills,
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and