MCP MySQL Server
Provides read-only access to MySQL databases with schema inspection capabilities, allowing listing of tables, describing table structures, and executing SELECT queries.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP MySQL Serverdescribe_table users"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP MySQL Server
This is a generated Model Context Protocol (MCP) server designed to interact with a MySQL database in a read-only fashion, providing schema inspection and custom query capabilities.
Setup Instructions
Create a folder: Create a new directory for your server, for example,
my-mcp-server.mkdir my-mcp-server cd my-mcp-serverSave the files: Place
package.json,tsconfig.json,index1.ts, andREADME.mdinto this new directory.Install dependencies: Open your terminal in the
my-mcp-serverdirectory and run:npm installBuild the project: Compile the TypeScript code:
npm run build
Related MCP server: MCP Server for MySQL
Available Tools
This server exposes the following tools:
list_tables(): Lists all tables in the connected MySQL database.describe_table(tableName: string): Describes the columns of a specified table.execute_read_query(query: string, params?: any[]): Executes a read-only SQL query (SELECT, SHOW, DESCRIBE) against the database.
With Cursor
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityBmaintenanceA Model Context Protocol server that provides read-only access to MySQL databases, enabling LLMs to inspect database schemas and execute read-only queries.Last updated11,8651,993MIT
- Alicense-qualityDmaintenanceA Model Context Protocol server providing read-only access to MySQL databases, enabling LLMs to inspect database schemas and execute read-only queries.Last updated301MIT
- Alicense-qualityDmaintenanceA Model Context Protocol server that provides read-only access to MySQL databases, enabling LLMs to inspect database schemas and execute read-only queries.Last updated11,865MIT
- Alicense-qualityDmaintenanceA Model Context Protocol server providing read-only access to MySQL databases, enabling LLMs to inspect database schemas and execute read-only queries.Last updated9461MIT
Related MCP Connectors
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
Read-only access to your VortexIQ store data: audits, KPIs, alerts, Brand DNA, reports, Ask VIQ.
Read-only MCP server for Muovi, Argentina's trust-first local services marketplace (6 tools).
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gakkiismywife/mysql-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server