SingleStore MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SINGLESTORE_HOSTYesThe hostname of your SingleStore database server
SINGLESTORE_PORTNoThe port number for connecting to your SingleStore database (default: 3306)3306
SINGLESTORE_USERYesYour SingleStore database username
SINGLESTORE_DATABASEYesThe name of your SingleStore database
SINGLESTORE_PASSWORDYesYour SingleStore database password

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_er_diagram

Generate a Mermaid ER diagram of the database schema

list_tables

List all tables in the database

query_table

Execute a query on a table

describe_table

Get detailed information about a table

run_read_query

Execute a read-only (SELECT) query on the database

create_table

Create a new table in the database with specified columns and constraints

generate_synthetic_data

Generate and insert synthetic data into an existing table

optimize_sql

Analyze a SQL query using PROFILE and provide optimization recommendations