Loading languages...
TQ

tqvthu-works/mysql-mcp-server

@tqvthu-works

A Model Context Protocol (MCP) server for interacting with MySQL databases in Cursor IDE.

mysql
database
cursor ide

# mcpServer Config

{
  "mcpServers": {
    "mysqlMcpServer": {
      "command": "npx",
      "args": [
        "ts-node",
        "path/to/src/index.ts"
      ],
      "env": {
        "MYSQL_HOST": "<host>",
        "MYSQL_PORT": "<port>",
        "MYSQL_USER": "<user>",
        "MYSQL_PASS": "<pass>",
        "MYSQL_DB": "db",
        "ALLOW_INSERT_OPERATION": "false",
        "ALLOW_UPDATE_OPERATION": "false",
        "ALLOW_DELETE_OPERATION": "false"
      }
    }
  }
}

# stdio

npx ts-node path/to/src/index.ts
Transport:
stdio
Язык:
TypeScript
Создано:4/21/2025
Обновлено:4/23/2025
Домашняя страница:
https://github.com/tqvthu-works/mysql-mcp-server