Skip to main content
Glama
enemyrr

MCP-MySQL Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_HOSTNoThe database host (e.g., localhost)
DB_USERNoThe database user
DB_DATABASENoThe database name
DB_PASSWORDNoThe database password
DATABASE_URLNoDatabase connection URL (e.g., mysql://user:password@host:3306/database)

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

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