What database operations are allowed?
Only SELECT, INSERT, SHOW, and DESCRIBE. UPDATE and DELETE are explicitly forbidden.
@SuMiaoALi
Basic information
A general Mysql-MCP-Server
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mysql-mcp-server-sumiaoali": {
"command": "npx",
"args": [
"mysql-mcp-server"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
Fetch the live tool list by running this server in a temporary sandbox using the button above.
A Model Context Protocol (MCP) server that provides secure MySQL database operations for AI assistants and other MCP clients. It exposes tools and resources for querying, inserting, and inspecting MySQL databases, with built‑in security restrictions that prevent destructive operations.
Install via npm: npm install mysql-mcp-server. Configure using environment variables (MYSQL_HOST, MYSQL_PORT, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DB, MYSQL_TIMEZONE). Integrate with MCP clients such as Claude Desktop by adding the server to the client’s configuration file, or run standalone with npx mysql-mcp-server using stdio transport.
Only SELECT, INSERT, SHOW, and DESCRIBE. UPDATE and DELETE are explicitly forbidden.
All user inputs use parameterized queries, which properly escape values.
Yes. Automatic LIMIT clauses are added to SELECT queries to prevent large data dumps.
`MYSQL_HOST` (default localhost), `MYSQL_PORT` (default 3306), `MYSQL_USER` (default root), `MYSQL_PASSWORD` (empty), `MYSQL_DB` (default mysql), and `MYSQL_TIMEZONE` (default +00:00).
Run `npx mysql-mcp-server` – it uses stdio transport and can be connected to any MCP‑compatible client.

Access millions of official legal and regulatory source documents from 155+ jurisdictions via MCP. Lawstronaut supports AI agents with structured legal research, legal data, laws, regulations, cases, guidance, official s
The Xata MCP server lets AI assistants and agents interact with your Xata organizations, projects, and Postgres database branches.
A powerful multi-database server implementing the Model Context Protocol (MCP) to provide AI assistants with structured access to databases.

Local database MCP server: your agent sees a migration's impact before it runs, for PostgreSQL, MySQL, SQL Server and SQLite, with no database credentials.
Comments