Skip to main content
Glama
hovecapital

MySQL MCP Server

by hovecapital

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_HOSTNoMySQL server hostnamemysql
DB_PORTNoMySQL server port3306
DB_DATABASENoDatabase namedatabase
DB_PASSWORDNoMySQL password
DB_USERNAMENoMySQL usernameroot

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
connectA

Connect to a MySQL database using a connection string. The connection will be used for subsequent queries until changed.

disconnectA

Disconnect from the current runtime database and revert to the default environment-configured connection

queryA

Run a read-only SQL query against the currently connected database

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/hovecapital/read-only-local-mysql-mcp-server'

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