Skip to main content
Glama
siimleetberg

OpenCode MySQL Connector

by siimleetberg

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MYSQL_HOSTYesMySQL host
MYSQL_PORTNoMySQL port3306
MYSQL_USERYesMySQL user
MYSQL_DATABASEYesMySQL database name
MYSQL_PASSWORDYesMySQL password

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

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
execute_queryD
list_tablesD
describe_tableD
explain_queryD
get_schemaD
switch_schemaD
check_connectionD

Prompts

Interactive templates invoked by user choice

NameDescription
show_table_context

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

C2.1/5.0

Scored across 7 tools

Disambiguation4/5

Tool names are sufficiently distinct, but the absence of descriptions increases the risk of confusion between 'get_schema' and 'describe_table'.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern in snake_case, making them predictable and easy to understand.

Tool Count5/5

7 tools is well-scoped for a MySQL connector, covering query execution, metadata retrieval, and schema management without being excessive.

Completeness4/5

The tool set covers core database operations, though missing explicit data manipulation tools (INSERT/UPDATE/DELETE) which are presumably handled by execute_query.

Maintenance

ActivitySlowing
ResponsivenessNo issues