Koskamo

database-mcp MySQL MCP

An open-source MCP server providing safe, structured access to MySQL databases. It exposes two tools, execute_sql and search_objects, with built-in guardrails including read-only mode, row caps, and statement timeouts. Credentials are never accepted through tool calls and secrets are never logged.

Package and access

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

database-mcp MySQL MCP logo, by arifulislamatCommunity listingLocal stdioSource reviewed; not executedPublished by arifulislamat
Vendor documentation

What you can do with it

  • Execute SQL queries against a MySQL database
  • Search and disclose database schema objects
  • List tables and retrieve column details

Source and maintenance

Community listingRegistry 0.5.0
Maintenance checked

Packages and installation

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

@database-mcp/mysql 0.5.0

npm
@database-mcp/mysql package definition
{
  "version": "0.5.0",
  "transport": "stdio",
  "identifier": "@database-mcp/mysql",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "MYSQL_HOST",
      "format": "string",
      "isRequired": true,
      "description": "Database host"
    },
    {
      "name": "MYSQL_USER",
      "format": "string",
      "isRequired": true,
      "description": "Database user (a read-only user is recommended)"
    },
    {
      "name": "MYSQL_PASSWORD",
      "format": "string",
      "description": "Database password (or use MYSQL_PASSWORD_FILE)"
    },
    {
      "name": "MYSQL_DATABASE",
      "format": "string",
      "isRequired": true,
      "description": "Database name"
    }
  ]
}

Tools

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

No tool definitions available.

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": {
    "database-mcp-mysql-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@database-mcp/mysql@0.5.0"
      ],
      "env": {
        "MYSQL_HOST": "<YOUR_MYSQL_HOST>",
        "MYSQL_USER": "<YOUR_MYSQL_USER>",
        "MYSQL_PASSWORD": "<YOUR_MYSQL_PASSWORD>",
        "MYSQL_DATABASE": "<YOUR_MYSQL_DATABASE>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "database-mcp-mysql-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@database-mcp/mysql@0.5.0"
      ],
      "env": {
        "MYSQL_HOST": "<YOUR_MYSQL_HOST>",
        "MYSQL_USER": "<YOUR_MYSQL_USER>",
        "MYSQL_PASSWORD": "<YOUR_MYSQL_PASSWORD>",
        "MYSQL_DATABASE": "<YOUR_MYSQL_DATABASE>"
      }
    }
  }
}

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": {
    "database-mcp-mysql-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@database-mcp/mysql@0.5.0"
      ],
      "env": {
        "MYSQL_HOST": "<YOUR_MYSQL_HOST>",
        "MYSQL_USER": "<YOUR_MYSQL_USER>",
        "MYSQL_PASSWORD": "<YOUR_MYSQL_PASSWORD>",
        "MYSQL_DATABASE": "<YOUR_MYSQL_DATABASE>"
      }
    }
  }
}

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": {
    "database-mcp-mysql-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@database-mcp/mysql@0.5.0"
      ],
      "env": {
        "MYSQL_HOST": "<YOUR_MYSQL_HOST>",
        "MYSQL_USER": "<YOUR_MYSQL_USER>",
        "MYSQL_PASSWORD": "<YOUR_MYSQL_PASSWORD>",
        "MYSQL_DATABASE": "<YOUR_MYSQL_DATABASE>"
      }
    }
  }
}

Let your agent find its tools

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