Skip to main content
Glama
myexperimenthub

local-mysql

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MYSQL_HOSTYesMySQL host, e.g., 127.0.0.1
MYSQL_PORTYesMySQL port, e.g., 3306
MYSQL_USERYesMySQL user, e.g., mcp_reader
MYSQL_DATABASEYesMySQL database name
MYSQL_MAX_ROWSYesMaximum rows returned by queries, e.g., 200
MYSQL_PASSWORDYesMySQL password

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
queryB

Run a single read-only MySQL query. SELECT, SHOW, DESCRIBE, DESC, EXPLAIN, and WITH are allowed.

list_databasesA

List databases visible to the configured MySQL user.

list_tablesA

List tables in the configured database or in the database argument.

describe_tableC

Show column metadata for a 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/myexperimenthub/Day12'

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