Skip to main content
Glama
TickHaiJun

MCP MySQL Server

by TickHaiJun

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_HOSTNoThe database hostlocalhost
DB_NAMENoThe database name
DB_PORTNoThe database port3306
DB_USERNoThe database userroot
DB_PASSWORDNoThe database password

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
connect_dbC

Connect to MySQL database using URL or config

queryC

Execute a SELECT query

executeC

Execute an INSERT, UPDATE, or DELETE query

list_tablesB

List all tables in the database

describe_tableC

Get table structure

create_tableC

Create a new table in the database

add_columnC

Add a new column to existing table

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

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