# MySQL Server

A Model Context Protocol server for MySQL database operations.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add f4ww4z/mcp-mysql-server

# Browse available tools
npx -y @smithery/cli@latest tool list f4ww4z/mcp-mysql-server

# Get full schema for a tool
npx -y @smithery/cli@latest tool get f4ww4z/mcp-mysql-server connect_db

# Call a tool
npx -y @smithery/cli@latest tool call f4ww4z/mcp-mysql-server connect_db '{}'
```

## Tools (5)

- `connect_db` — Connect to MySQL database
- `query` — Execute a SELECT query
- `execute` — Execute an INSERT, UPDATE, or DELETE query
- `list_tables` — List all tables in the database
- `describe_table` — Get table structure

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get f4ww4z/mcp-mysql-server <tool-name>
```

---

Source: https://github.com/f4ww4z/mcp-mysql-server | License: MIT
