Back to Home
Nicolas-Gong icon

mysql-crud-mcp-server

Verified Safe

by Nicolas-Gong

Overview

Provides a Model Context Protocol (MCP) server plugin for performing standard CRUD (Create, Read, Update, Delete) operations on a MySQL database.

Installation

Run Command
node build/index.js

Environment Variables

  • MYSQL_HOST
  • MYSQL_PORT
  • MYSQL_USER
  • MYSQL_PASSWORD
  • MYSQL_DATABASE

Security Notes

The server correctly utilizes parameterized queries with 'mysql2/promise' to prevent SQL injection. Database credentials are loaded from environment variables, avoiding hardcoding. As an MCP server running locally and communicating via stdio, its direct network attack surface is minimal, limited to the MySQL connection itself. The primary security consideration falls on the generated SQL queries and parameters from the caller (e.g., LLM agent) to ensure they are always parameterized.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens300
Stars0
Forks0
Last Update2025-12-02

Tags

MySQLCRUDDatabaseMCPCLI Tool