Skip to main content
Glama
iamdylanngo

MySQL MCP Server

by iamdylanngo

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_HOSTNoMySQL hostlocalhost
DB_NAMENoDatabase namemydb
DB_PORTNoMySQL port3306
DB_USERNoMySQL userroot
DB_PASSWORDNoMySQL password
DB_POOL_LIMITNoConnection pool size10

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
select_mysql_versionD

MySQL version.

list_tablesB

Listing all table, that connected to the database.

describe_tableC

Show columns, types, and constraints for a table.

queryB

Run a read-only SELECT query with optional params (? placeholders).

mutateC

Run an INSERT, UPDATE, or DELETE statement with optional params

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/iamdylanngo/mysql-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server