Skip to main content
Glama
ByteTora

mysql-mcp-server-all

by ByteTora

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MYSQL_HOSTYesDatabase host
MYSQL_PORTNoDatabase port3306
MYSQL_USERYesDatabase user
MCP_HTTP_HOSTNoListen host for sse/streamable-http127.0.0.1
MCP_HTTP_PORTNoListen port for sse/streamable-http8000
MCP_TRANSPORTNoTransport: stdio, sse, or streamable-httpstdio
MCP_HTTP_TOKENNoBearer token for streamable-http
MYSQL_DATABASENoDefault database. Omit for multi-database mode
MYSQL_PASSWORDNoDatabase password
MYSQL_CONNECT_TIMEOUTNoConnection timeout in seconds10

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
execute_sqlA

Execute a read-only SQL query (SELECT / SHOW / DESCRIBE / EXPLAIN / WITH).

Returns rows as JSON. Single statements only.

get_schema_infoB

Return column metadata (name, type, nullability, key, default) for a table.

Accepts database.table notation for cross-database lookups.

get_table_sampleA

Fetch a representative sample of rows (max 20) from a table.

Accepts database.table notation for cross-database lookups.

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

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