SQL MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MYSQL_HOST | No | MySQL host. Defaults to 127.0.0.1. | 127.0.0.1 |
| MYSQL_PORT | No | MySQL port. Defaults to 3306. | 3306 |
| MYSQL_USER | No | MySQL user. Defaults to root. | root |
| OLLAMA_MODEL | No | Ollama model name used by SQL Chat when ANTHROPIC_API_KEY is not set. | qwen2.5:7b |
| MYSQL_PASSWORD | No | MySQL password. Defaults to empty when using Homebrew MySQL defaults. | |
| ANTHROPIC_API_KEY | No | Optional Anthropic API key. If set, the SQL Chat feature uses the Claude API instead of Ollama. | |
| MYSQL_SCHEMA_DENYLIST | No | Comma-separated list of schemas to exclude. Ignored if MYSQL_SCHEMA_ALLOWLIST is set. | |
| MYSQL_SCHEMA_ALLOWLIST | No | Comma-separated list of schemas to expose. Takes precedence over MYSQL_SCHEMA_DENYLIST if both are set. | |
| SQL_CHAT_LLM_TIMEOUT_S | No | Timeout in seconds for SQL Chat LLM requests. Useful when using a larger model. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |