Connect MySQL MCP to your AI Agents

Instant insights from your MySQL database. Ask in plain English.

Example prompts

Everything you can ask your agent about your MySQL data.

Ask in plain English — Sequel translates it into a MySQL query, runs it, and your agent hands back the answer. No SQL, no dashboards, no CSV exports.

Connect to your agent
What you can ask your agent
  • Show me total sales by product category last quarter
  • Which customers haven't placed an order in 90 days?
  • What's the average session duration by user cohort?
  • Find all orders where payment status is pending for more than 7 days
  • Show me signups by day for the past 30 days

Sequel CLI

Install MySQL MCP to your agent

The Sequel CLI installs MySQL into your coding agent in one step — it signs you in, provisions a scoped API key, and writes the right config to the right place. No keys to copy by hand.

Prefer npm? npm install -g @sequelsh/cli@latest works too.

  1. 1

    Install the Sequel CLI

    One line installs the latest CLI with whatever package manager you have.

    curl -fsSL https://sequel.sh/install | sh
  2. 2

    Sign in

    Authenticate in your browser and pick an organization.

    sequel login
  3. 3

    Install into your agent

    Run install and pick an agent from the list, or target one directly by its slug.

    sequel install
    Claude Code
    sequel install claude-code
    Claude
    sequel install claude
    Cursor
    sequel install cursor
    VS Code
    sequel install vscode
    Windsurf
    sequel install windsurf
    Zed
    sequel install zed
    Codex
    sequel install codex
    OpenClaw
    sequel install openclaw
    Hermes
    sequel install hermes

Frequently asked questions

How do I connect my MySQL database?

Click 'New Connection', select MySQL, and enter your host, port, database name, username, and password. Sequel tests the connection before saving.

Which MySQL versions are supported?

Sequel supports MySQL 5.7 and above, including MySQL 8.x. MariaDB 10.3+ is also compatible.

Can Sequel write to my database?

No. Sequel is read-only by default. It will never execute INSERT, UPDATE, DELETE, or DDL statements unless you explicitly request and confirm it.

Can I connect a managed MySQL instance?

Yes. PlanetScale, AWS RDS, Google Cloud SQL, and other managed MySQL providers work. You may need to allowlist Sequel's IP in your provider's firewall settings.

Does Sequel understand MySQL-specific syntax?

Yes. Sequel generates MySQL-compatible SQL and handles dialect differences like LIMIT/OFFSET syntax, JSON functions, and MySQL-specific date functions.

Is my connection secure?

Connections use SSL/TLS. Credentials are encrypted at rest. Sequel does not store or log the contents of your query results.

Start analyzing your MySQL data today

Connect in minutes — then ask across all your data, not just one source.