Skip to main content
Glama
mcp-research

mysql-mcp

by mcp-research

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MYSQL_HOSTYesDatabase server hostname or IP address.
MYSQL_PORTYesDatabase server port.
MYSQL_USERYesDatabase username.
MYSQL_DATABASEYesDatabase name to connect to.
MYSQL_PASSWORDYesDatabase password.
MYSQL_READONLYNoOptional. Set to 'true' for read-only access.false

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
statusC

Check the current database connection status.

connectC

Connect to a MySQL database.

disconnectB

Close the current MySQL database connection.

queryC

Execute an SQL query on the connected database.

list_tablesB

Get a list of tables in the current database.

describe_tableA

Get the structure of a specific table.

list_databasesB

Get a list of all accessible databases on the server.

use_databaseB

Switch to a different database.

set_readonlyB

Enable or disable read-only mode

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/mcp-research/sussa3007__mysql-mcp'

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