MCP server for interacting with SingleStore Management API and services
Model Context Protocol (MCP) is a standardized protocol designed to manage context between large language models (LLMs) and external systems. This repository provides an installer and an MCP Server for Singlestore, enabling seamless integration.
With MCP, you can use Claude Desktop or any compatible MCP client to interact with SingleStore using natural language, making it easier to perform complex operations effortlessly.
To install mcp-server-singlestore for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @singlestore-labs/mcp-server-singlestore --client claude
{
"mcpServers": {
"singlestore-mcp-server": {
"command": "pipx",
"args": [
"run",
"singlestore-mcp-server"
],
"env": {
"SINGLESTORE_DB_USERNAME": "your-database-username",
"SINGLESTORE_DB_PASSWORD": "your-database-password",
"SINGLESTORE_API_KEY": "your-api-key"
}
}
}
}
Note:
You can get your API key and DB credentials on SingleStore's Helios Portal
The server implements the following tools:
workspaceGroupID
(string)workspace_group_identifier
, workspace_identifier
, username
, password
, database
, sql_query
name
: Name of the starter workspacedatabase_name
: Name of the database to createusername
: Username for accessing the workspacepassword
: Password for the userworkspace_group
: Object containing name
(optional) and cellID
(mandatory)virtual_workspace_id
, username
, password
, sql_query
notebook_name
, content
(optional)name
: Name for the jobnotebook_path
: Path to the notebook to executeschedule_mode
: Once or Recurringexecution_interval_minutes
: Minutes between executions (optional)start_at
: When to start the job (optional)description
: Description of the job (optional)create_snapshot
: Whether to create notebook snapshots (optional)runtime_name
: Name of the runtime environmentparameters
: Parameters for the job (optional)target_config
: Target configuration for the job (optional)job_id
job_id
, start
(optional), end
(optional)The server requires the following environment variables:
# SingleStore's management API key (required)
SINGLESTORE_API_KEY=your_api_key_here
# Database credentials (optional - can be provided as input parameters)
SINGLESTORE_DB_USERNAME=your_db_username_here
SINGLESTORE_DB_PASSWORD=your_db_password_here