Skip to main content

SingleStore MCP server

Project description

SingleStore MCP Server

MIT Licence PyPI Downloads Smithery

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.

Claude Setup

Option 1: Using the Init Command (Recommended)

The simplest way to set up the MCP server for Claude Desktop is to use the built-in initialization command:

uvx singlestore-mcp-server init

This command will:

  1. Authenticate the user
  2. Automatically locate the Claude Desktop configuration file for your platform
  3. Create or update the configuration to include the SingleStore MCP server
  4. Provide instructions for starting the server

It's also possible to explicitly pass a <SINGLESTORE_API_KEY>. Get your API key on SingleStore's Helios Portal

uvx singlestore-mcp-server init <SINGLESTORE_API_KEY>

You can also set up other supported LLM clients by using the --client flag:

uvx singlestore-mcp-server init <SINGLESTORE_API_KEY> --client=claude

Supported clients: For now only Claude Desktop is supported but in the future we will support cursor, windsurf and copilot.

Option 2: Installing via Smithery

To install mcp-server-singlestore for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @singlestore-labs/mcp-server-singlestore --client claude

Requirements

  • Python >= v3.11.0
  • uvx installed on your python environment
  • Claude Desktop or another supported LLM client

How to use locally (Manual Setup)

If you prefer to manually configure your LLM client, follow these steps:

  1. Add the following config to your Claude Desktop config file
  2. Restart Claude Desktop after making changes to the configuration
{
  "mcpServers": {
    "singlestore-mcp-server": {
      "command": "uvx",
        "args": [
          "singlestore-mcp-server",
          "start",
          "<SINGLESTORE_API_KEY>"
        ]
    }
  }
}

Components

Tools

The server implements the following tools:

  • workspace_groups_info: Retrieve details about the workspace groups accessible to the user
    • No arguments required
    • Returns details of the workspace groups
  • workspaces_info: Retrieve details about the workspaces in a specific workspace group
    • Arguments: workspaceGroupID (string)
    • Returns details of the workspaces
  • organization_info: Retrieve details about the user's current organization
    • No arguments required
    • Returns details of the organization
  • list_of_regions: Retrieve a list of all regions that support workspaces for the user
    • No arguments required
    • Returns a list of regions
  • execute_sql: Execute SQL operations on a connected workspace
    • Arguments: workspace_group_identifier, workspace_identifier, username, password, database, sql_query
    • Returns the results of the SQL query in a structured format
  • list_virtual_workspaces: List all starter workspaces accessible to the user
    • No arguments required
    • Returns details of available starter workspaces
  • create_virtual_workspace: Create a new starter workspace with a user
    • Arguments:
      • name: Name of the starter workspace
      • database_name: Name of the database to create
      • username: Username for accessing the workspace
      • password: Password for the user
      • workspace_group: Object containing name (optional) and cellID (mandatory)
    • Returns details of the created workspace and user
  • execute_sql_on_virtual_workspace: Execute SQL operations on a virtual workspace
    • Arguments: virtual_workspace_id, username, password, sql_query
    • Returns the results of the SQL query in a structured format including data, row count, columns, and status
  • list_notebook_samples: List all notebook samples available in SingleStore Spaces
    • No arguments required
    • Returns details of available notebook samples
  • create_notebook: Create a new notebook in the user's personal space
    • Arguments: notebook_name, content (optional)
    • Returns details of the created notebook
  • list_personal_files: List all files in the user's personal space
    • No arguments required
    • Returns details of all files in the user's personal space
  • create_scheduled_job: Create a new scheduled job to run a notebook
    • Arguments:
      • name: Name for the job
      • notebook_path: Path to the notebook to execute
      • schedule_mode: Once or Recurring
      • execution_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 environment
      • parameters: Parameters for the job (optional)
      • target_config: Target configuration for the job (optional)
    • Returns details of the created job
  • get_job_details: Get details about a specific job
    • Arguments: job_id
    • Returns detailed information about the specified job
  • list_job_executions: List execution history for a specific job
    • Arguments: job_id, start (optional), end (optional)
    • Returns execution history for the specified job

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

singlestore_mcp_server-0.2.0.tar.gz (54.0 kB view details)

Uploaded Source

Built Distribution

singlestore_mcp_server-0.2.0-py3-none-any.whl (33.8 kB view details)

Uploaded Python 3

File details

Details for the file singlestore_mcp_server-0.2.0.tar.gz.

File metadata

  • Download URL: singlestore_mcp_server-0.2.0.tar.gz
  • Upload date:
  • Size: 54.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for singlestore_mcp_server-0.2.0.tar.gz
Algorithm Hash digest
SHA256 58c349a0ddc9385faa870df5cf410cbd35e48c5f701fdd573956ec0fa627a102
MD5 d564eaf4f1bd2d234f15d93c665a20de
BLAKE2b-256 6b3b6897e9dc9c4922950e988307c82b3ee68b6cddac1f3c80dadd301334847e

See more details on using hashes here.

File details

Details for the file singlestore_mcp_server-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for singlestore_mcp_server-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b1c6e99b88ccb50a059a89122c8ae69b7d1b2a72c02a1d57eb7b0fd5a5b1c4c4
MD5 e0b332f64cead180ddbc07b3fe8567f4
BLAKE2b-256 099e0ba34a0bdc812436d72da7cc1567545fffdb86f5e4048a2610356ace509e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page