Koskamo

MySQL MCP

A community MCP server that connects AI agents to a single MySQL or MariaDB database. It supports schema inspection, read-only queries, EXPLAIN query plans, and opt-in guarded writes (no DDL). It runs via npx and isolates permissions per server instance.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

MySQL MCP logo, by gistrecCommunity listingLocal stdioSource reviewed; not executedPublished by gistrec
Vendor documentation

What you can do with it

  • Inspect database schema and table structures
  • Execute read-only SQL queries with aggregation
  • Analyze query performance with EXPLAIN plans
  • Perform guarded INSERT, UPDATE, or DELETE operations

Source and maintenance

Community listingRegistry 1.1.0MIT
Last repository push
Latest release
v1.1.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

mcp-mysql-client 1.1.0

npm
mcp-mysql-client package definition
{
  "version": "1.1.0",
  "transport": "stdio",
  "identifier": "mcp-mysql-client",
  "registryType": "npm",
  "registryBaseUrl": "https://registry.npmjs.org",
  "environmentVariables": [
    {
      "name": "MYSQL_HOST",
      "default": "127.0.0.1",
      "description": "Database host."
    },
    {
      "name": "MYSQL_PORT",
      "default": "3306",
      "description": "Database port."
    },
    {
      "name": "MYSQL_USER",
      "isRequired": true,
      "description": "MySQL user. Use one with the least privileges the task needs, never root."
    },
    {
      "name": "MYSQL_PASS",
      "description": "Password for that user. Treat it as a secret; MYSQL_PASS_FILE reads it from a file instead."
    },
    {
      "name": "MYSQL_DB",
      "isRequired": true,
      "description": "The one database this server is bound to. No tool can leave it."
    },
    {
      "name": "MYSQL_SSL",
      "default": "false",
      "description": "Require a TLS connection to the server."
    },
    {
      "name": "MYSQL_SSL_CA",
      "description": "Path to the CA bundle verifying the server certificate; implies MYSQL_SSL."
    },
    {
      "name": "ALLOW_INSERT_OPERATION",
      "default": "false",
      "description": "Allow INSERT statements through the execute tool."
    },
    {
      "name": "ALLOW_UPDATE_OPERATION",
      "default": "false",
      "description": "Allow UPDATE statements through the execute tool."
    },
    {
      "name": "ALLOW_DELETE_OPERATION",
      "default": "false",
      "description": "Allow DELETE statements through the execute tool."
    },
    {
      "name": "MYSQL_MAX_ROWS",
      "default": "1000",
      "description": "Row cap for one read; the result is marked truncated when it is hit."
    },
    {
      "name": "MYSQL_TIMEOUT_MS",
      "default": "30000",
      "description": "Statement timeout in milliseconds; the connection is dropped on expiry."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · repository · passed · metadata changed · updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "mysql-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-mysql-client@1.1.0"
      ],
      "env": {
        "MYSQL_HOST": "<YOUR_MYSQL_HOST>",
        "MYSQL_PORT": "<YOUR_MYSQL_PORT>",
        "MYSQL_USER": "<YOUR_MYSQL_USER>",
        "MYSQL_PASS": "<YOUR_MYSQL_PASS>",
        "MYSQL_DB": "<YOUR_MYSQL_DB>",
        "MYSQL_SSL": "<YOUR_MYSQL_SSL>",
        "MYSQL_SSL_CA": "<YOUR_MYSQL_SSL_CA>",
        "ALLOW_INSERT_OPERATION": "<YOUR_ALLOW_INSERT_OPERATION>",
        "ALLOW_UPDATE_OPERATION": "<YOUR_ALLOW_UPDATE_OPERATION>",
        "ALLOW_DELETE_OPERATION": "<YOUR_ALLOW_DELETE_OPERATION>",
        "MYSQL_MAX_ROWS": "<YOUR_MYSQL_MAX_ROWS>",
        "MYSQL_TIMEOUT_MS": "<YOUR_MYSQL_TIMEOUT_MS>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "mysql-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-mysql-client@1.1.0"
      ],
      "env": {
        "MYSQL_HOST": "<YOUR_MYSQL_HOST>",
        "MYSQL_PORT": "<YOUR_MYSQL_PORT>",
        "MYSQL_USER": "<YOUR_MYSQL_USER>",
        "MYSQL_PASS": "<YOUR_MYSQL_PASS>",
        "MYSQL_DB": "<YOUR_MYSQL_DB>",
        "MYSQL_SSL": "<YOUR_MYSQL_SSL>",
        "MYSQL_SSL_CA": "<YOUR_MYSQL_SSL_CA>",
        "ALLOW_INSERT_OPERATION": "<YOUR_ALLOW_INSERT_OPERATION>",
        "ALLOW_UPDATE_OPERATION": "<YOUR_ALLOW_UPDATE_OPERATION>",
        "ALLOW_DELETE_OPERATION": "<YOUR_ALLOW_DELETE_OPERATION>",
        "MYSQL_MAX_ROWS": "<YOUR_MYSQL_MAX_ROWS>",
        "MYSQL_TIMEOUT_MS": "<YOUR_MYSQL_TIMEOUT_MS>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "mysql-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-mysql-client@1.1.0"
      ],
      "env": {
        "MYSQL_HOST": "<YOUR_MYSQL_HOST>",
        "MYSQL_PORT": "<YOUR_MYSQL_PORT>",
        "MYSQL_USER": "<YOUR_MYSQL_USER>",
        "MYSQL_PASS": "<YOUR_MYSQL_PASS>",
        "MYSQL_DB": "<YOUR_MYSQL_DB>",
        "MYSQL_SSL": "<YOUR_MYSQL_SSL>",
        "MYSQL_SSL_CA": "<YOUR_MYSQL_SSL_CA>",
        "ALLOW_INSERT_OPERATION": "<YOUR_ALLOW_INSERT_OPERATION>",
        "ALLOW_UPDATE_OPERATION": "<YOUR_ALLOW_UPDATE_OPERATION>",
        "ALLOW_DELETE_OPERATION": "<YOUR_ALLOW_DELETE_OPERATION>",
        "MYSQL_MAX_ROWS": "<YOUR_MYSQL_MAX_ROWS>",
        "MYSQL_TIMEOUT_MS": "<YOUR_MYSQL_TIMEOUT_MS>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "mysql-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-mysql-client@1.1.0"
      ],
      "env": {
        "MYSQL_HOST": "<YOUR_MYSQL_HOST>",
        "MYSQL_PORT": "<YOUR_MYSQL_PORT>",
        "MYSQL_USER": "<YOUR_MYSQL_USER>",
        "MYSQL_PASS": "<YOUR_MYSQL_PASS>",
        "MYSQL_DB": "<YOUR_MYSQL_DB>",
        "MYSQL_SSL": "<YOUR_MYSQL_SSL>",
        "MYSQL_SSL_CA": "<YOUR_MYSQL_SSL_CA>",
        "ALLOW_INSERT_OPERATION": "<YOUR_ALLOW_INSERT_OPERATION>",
        "ALLOW_UPDATE_OPERATION": "<YOUR_ALLOW_UPDATE_OPERATION>",
        "ALLOW_DELETE_OPERATION": "<YOUR_ALLOW_DELETE_OPERATION>",
        "MYSQL_MAX_ROWS": "<YOUR_MYSQL_MAX_ROWS>",
        "MYSQL_TIMEOUT_MS": "<YOUR_MYSQL_TIMEOUT_MS>"
      }
    }
  }
}

Let your agent find its tools

Find servers like MySQL MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.