MCP First MCP Server

A Metadata Change Proposal (MCP) server for retrieving MySQL database schema information using the [FastMCP](https://github.com/jlowin/fastmcp)

Local serverstdioPython

What is the MCP First MCP server?

If you want an AI assistant working directly with MCP First, the mcp first mcp server is the bridge. A Metadata Change Proposal (MCP) server for retrieving MySQL database schema information using the FastMCP framework.

What MCP First does

A Metadata Change Proposal (MCP) server for retrieving MySQL database schema information using the FastMCP framework.

Key capabilities

  • Retrieve database list
  • Retrieve table list from databases
  • Get table schema (columns) information
  • Get table indexes information
  • Get table foreign key information

Tools it exposes

Once connected, the assistant can call these 5 tools directly:

  • databases — List all databases
  • tables — List all tables in a database
  • schema — Get the schema (columns, indexes, and foreign keys) for one or more tables
  • indexes — Get the indexes for a specific table
  • foreign_keys — Get the foreign keys for a specific table

Installing the mcp first mcp server

Setup follows the standard MCP pattern: clone or install the server, then register it in your client's configuration file and restart the client. The configuration snippets on this page cover Claude Desktop, Claude Code and Cursor.

Configuration

The server reads one environment variable: MYSQL_HOST. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

Database servers turn schema archaeology and ad-hoc reporting into conversation, which is why they tend to be the second or third server people install. MCP First sits in that group, and the shape of its toolset — databases, tables, schema among others — tells you what it is really for. Worth comparing against the other databases servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • Maintained by Shion-Serizawa, written in Python.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the mcp first mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
databasesList all databases
tablesList all tables in a database
schemaGet the schema (columns, indexes, and foreign keys) for one or more tables.
indexesGet the indexes for a specific table
foreign_keysGet the foreign keys for a specific table

How to install the MCP First MCP server

#### Docker MCP Configuration

```json
{
  "mcpServers": {
    "mysql-schema": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MYSQL_HOST=host.docker.internal",
        "-e",
        "MYSQL_USER=your_username",
        "-e",
        "MYSQL_PASSWORD=your_password",
        "mysql-mcp-server"
      ],
      "alwaysAllow": [
        "databases",
        "tables",
        "schema",
        "indexes",
        "foreign_keys"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
MYSQL_HOSTEndpoint or connection string the server talks to.Optional

Example prompts to try

  • Use MCP First to databases.
  • Use MCP First to tables.
  • Use MCP First to schema.

Frequently asked questions

It connects MCP First to MCP-compatible AI assistants such as Claude and Cursor, exposing 5 tools (databases, tables, schema, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP First directly.