Skip to content

Menu

SingleStore MCP Server logo

SingleStore MCP Server

Published

At a glance

Category
Databases
Watch out for
run_sql passes the agent's query straight to the workspace, so the server can change data as far as the signed-in account's database permissions allow.

SingleStore publishes this MCP server from its singlestore-labs GitHub organization under the MIT license. It connects an MCP client to a SingleStore Helios account, so an agent can look at organizations, workspace groups and workspaces, run SQL against a workspace, and handle notebooks, scheduled jobs and Stage files. The package is singlestore-mcp-server on PyPI (version 0.4.19 at the time of writing), and the repo also contains an installer that writes client config for you.

It runs locally over stdio, launched with uvx singlestore-mcp-server start. Authentication is the interesting part: by default there are no keys to paste, because the server opens a browser OAuth flow on start. If you run it in Docker that flow is not supported, so you pass an API key in MCP_API_KEY instead.

The README also mentions a /help prompt you can call in chat to see what the server offers.

How it connects

Your AI app

An assistant or agent that supports MCP

SingleStore MCP Server

Runs as

  • Python (uv / pip)
  • Docker

Gives the agent

  • Account and organization
  • Workspace management
  • Starter workspaces
  • SQL
  • Notebooks and jobs
  • Stage files

SingleStore

Signs in with

  • OAuth / browser sign-in
  • API key
Your AI app talks to SingleStore MCP Server over the Model Context Protocol, and the server carries out the work. Built from the setup and capability sections on this page.

What it can do

Account and organization
get_user_info and organization_info describe the signed-in user and organization. choose_organization and set_organization switch the active organization when no API key is set.
Workspace management
workspace_groups_info and workspaces_info list what you have, resume_workspace wakes a suspended workspace, and list_regions and list_sharedtier_regions show where workspaces can run.
Starter workspaces
list_starter_workspaces, create_starter_workspace and terminate_starter_workspace manage the free starter tier.
SQL
run_sql executes SQL on a connected workspace, given a workspace_id, database and sql_query, and returns structured results.
Notebooks and jobs
create_notebook_file and upload_notebook_file put notebooks in SingleStore Spaces, create_job_from_notebook schedules one, and get_job and delete_job manage the result.
Stage files
stage_list_files, stage_get_file, stage_create_folder, stage_upload_file, stage_move and stage_delete work with files in a Stage deployment.

Setting it up

You need Python 3.10 or later and uv's uvx. The standard config is a server named singlestore-mcp-server with "command": "uvx" and "args": ["singlestore-mcp-server", "start"], and no environment variables. Each client also has a one-line installer: uvx singlestore-mcp-server init --client=claude-code (it runs the Claude CLI command for you), or swap in claude-desktop, cursor, vscode, windsurf, gemini or lm-studio. For Claude Code you can also add it by hand with claude mcp add singlestore-mcp-server uvx singlestore-mcp-server start. In VS Code, code --add-mcp with the same name, command and args works too. On first start the server opens a browser for OAuth. For Docker, run docker run -i --rm --init --pull=always -e MCP_API_KEY=your_api_key_here singlestore/mcp-server-singlestore, since OAuth does not work inside a container.

Run in a terminal
claude mcp add singlestore -- uvx singlestore-mcp-server

Runs the singlestore-mcp-server package from PyPI. Add any API keys, environment variables or extra arguments the setup notes above list. Combine several servers in the MCP config generator

Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)

Where it helps

  • Check which workspaces exist in an organization and resume a suspended one before a test run.
  • Run ad hoc SQL against a workspace database to inspect tables or validate a migration.
  • Spin up a starter workspace for a prototype and terminate it when done.
  • Create a notebook and schedule it as a recurring job from inside the editor.
  • List, upload and move files in a Stage deployment while preparing data for a load.

Limitations and things to watch

  • run_sql passes the agent's query straight to the workspace, so the server can change data as far as the signed-in account's database permissions allow.
  • Tools such as terminate_starter_workspace, delete_job and stage_delete are destructive, so review those calls before approving them.
  • Browser OAuth does not work in Docker, which means container setups need an API key in MCP_API_KEY.
  • choose_organization and set_organization are only available when no API key environment variable is set.
  • The documented setup runs the server locally over stdio through uvx or Docker.

Sources

Written from the project's own documentation, checked November 2026.

How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…