SingleStore MCP Server
On this page
Overview
The Model Context Protocol (MCP) is an open protocol that standardizes how external tools and interfaces communicate context to large language models (LLMs).
Why Use MCP?
MCP enables you to:
-
Define context programmatically which enables the model to accurately interpret your goals and available tools.
-
Eliminate the need for writing custom prompts for each integration scenario.
-
Expose your system’s capabilities and usage conditions for scalable and collaborative AI agent design.
Capabilities and Benefits
The SingleStore MCP server implements Model Context Protocol (MCP) to enable seamless integration between large language models (LLMs) and SingleStore database services.
The SingleStore MCP server has the following key capabilities:
-
Authentication and Configuration
-
Authenticates with SingleStore’s management API using secure API keys.
-
Maintains user-specific session state, including preferences and input history, to support contextual interactions.
-
-
Workspace and Database Management
-
Retrieves metadata about accessible workspace groups, including workspace group IDs and names.
-
Lists workspaces within a selected workspace group and provides endpoint and status details.
-
Returns details about the user’s current organization, including metadata and settings.
-
Lists all supported deployment regions with relevant identifiers and region-specific metadata.
-
Runs SQL queries on connected workspaces and returns structured results with rows, columns, and error handling.
-
Manages starter workspaces within SingleStore:
-
Lists available starter workspaces.
-
Creates new shared workspaces with specific configurations.
-
Organizes user access controls and permissions.
-
Runs SQL on virtual workspaces.
-
-
-
Notebook and File Management
-
Manages notebooks:
-
Lists available notebook samples.
-
Creates new notebooks in the user’s personal workspace.
-
Supports custom notebook content and configurations.
-
-
Manages files:
-
Lists files in both personal and shared spaces.
-
Creates and manages files.
-
Organizes file access controls and permissions.
-
-
-
Scheduling Jobs
-
Creates scheduled jobs:
-
Creates jobs that run notebooks on a defined schedule (one-time or recurring).
-
Configures runtime environments and notebook parameters.
-
Manages notebook snapshots.
-
-
Monitors jobs:
-
Retrieves detailed information about scheduled jobs.
-
Lists historical executions.
-
Monitors job status and execution results.
-
-
Set Up SingleStore MCP Server
Note
To use the SingleStore MCP Server, you need a SingleStore Helios account and API access credentials.
Prerequisites
Ensure the following tools are installed:
Supported MCP Clients
The SingleStore MCP server supports the following clients:
-
Claude Desktop
-
Claude Code
-
Cursor
-
Visual Studio Code
-
Windsurf
-
Gemini CLI
-
LM Studio
-
Goose
-
Qodo Gen
Following MCP clients are available through Docker Desktop:
-
Continue.
dev -
Gordon
MCP Client Setup
You can set up a supported MCP client using any of the following approaches:
-
Using the initialization command: The initialization command automatically locates the appropriate configuration file for your client platform and adds or updates it to include the SingleStore MCP server.
Additionally, it sets up browser-based OAuth authentication and displays instructions for starting the server. Use the following command to initiate the server:
uvx singlestore-mcp-server initUse the following command to specify a client:
uvx singlestore-mcp-server init --client=<client>Replace
<client>
with a supported MCP client.Following are the example syntax for the supported MCP client. -
Claude Desktop
uvx singlestore-mcp-server init --client=claude-desktop -
Claude Code
uvx singlestore-mcp-server init --client=claude-code -
Cursor
uvx singlestore-mcp-server init --client=cursor -
Visual Studio Code
uvx singlestore-mcp-server init --client=vscode -
Windsurf
uvx singlestore-mcp-server init --client=windsurf -
Gemini CLI
uvx singlestore-mcp-server init --client=gemini -
LM Studio
uvx singlestore-mcp-server init --client=lm-studio
-
-
Installing via Smithery: Use the following command to install
singlestore-mcp-server
via Smithery:npx -y @smithery/cli install @singlestore-labs/mcp-server-singlestore --client=<client>Replace
<client>
with a supported MCP client. -
Manual Configuration: You can configure the following supported MCP clients manually.
Add the following standard configuration to your MCP client’s configuration file: {"mcpServers": {"singlestore-mcp-server": {"command": "uvx","args": ["singlestore-mcp-server","start"]}}}Use the configuration file of the MCP client as mentioned in the following client's documentation:
-
Claude Desktop: Refer to the MCP install guide for the related information.
-
Claude Code: Run the following command to manually setup the MCP client:
claude mcp add singlestore-mcp-server uvx singlestore-mcp-server start -
Cursor: Navigate to Cursor Settings > MCP > Add new MCP Server.
Enter the name of the MCP server. Select command
type, and enter the commanduvx singlestore-mcp-server start
.Select Edit to verify configuration or add command line arguments. -
Visual Studio Code: Refer to the MCP install guide for the related information.
You can also install using the VS Code CLI: code --add-mcp '{"name":"singlestore-mcp-server","command":"uvx","args":["singlestore-mcp-server","start"]}'After installation, the SingleStore MCP server is available for use with your GitHub Copilot agent in VS Code.
-
Windsurf: Refer to the Windsurf documentation for the related information.
-
Gemini CLI: Refer to the MCP install guide for the related information.
-
LM Studio: Navigate to Program in the right sidebar, then select Install > Edit
mcp.
.json -
Goose: Navigate to Advanced settings > Extensions > Add custom extension.
Enter the name of your custom extension. Select type STDIO
, and enter the commanduvx singlestore-mcp-server start
.Select Add Extension to add your custom extension. -
Qodo Gen: Open Qodo Gen chat panel in VSCode or IntelliJ.
Select Connect more tools > + Add new MCP, and paste the standard configuration.
Note
This approach does not require any API keys, tokens, or environment variables.
When the server starts, authentication is automatically handled via browser-based OAuth. -
-
Using Docker:
-
Run the following command to build the docker image of the SingleStore MCP server:
docker build -t singlestore/mcp-server-singlestore . -
Use the following configuration:
{"mcpServers": {"singlestore-mcp-server": {"command": "docker","args": ["run", "-i", "--rm", "--init", "--pull=always","-e", "MCP_API_KEY=your_api_key_here","singlestore/mcp-server-singlestore"]}}} -
Update the configuration of your MCP configuration file, and then restart your MCP client.
Note
When running the server in a Docker container, an API key is required.
Browser-based OAuth is not supported for locally hosted containers. For improved security, SingleStore recommends using Docker Desktop to configure the SingleStore MCP server. Refer to The Docker MCP Catalog: the Secure way to Discover and Run MCP Servers for more information.
-
Tools in SingleStore MCP Server
The SingleStore MCP server implements the following tools:
Tool |
Description |
Arguments |
Returns |
---|---|---|---|
|
Retrieves details about the user. |
None |
User details |
|
Retrieves details about the current organization. |
None |
Organization details |
|
Retrieves list of organizations. |
None |
List of organizations |
|
Sets the selected organization. |
|
Sets the organization |
|
Retrieves details about accessible workspace groups. |
None |
Workspace group details |
|
Retrieves workspaces in a specific workspace group. |
|
Workspace details |
|
Resumes a paused workspace within the workspace group. |
|
Resumes workspace |
|
Lists all starter workspaces accessible to the user. |
None |
Starter workspace details |
|
Creates a starter workspace and user. |
|
Details of the created workspace and user |
|
Terminates starter workspace. |
|
Terminates starter workspace |
|
Lists all regions that support workspaces. |
None |
List of regions |
|
Lists the available regions before creating a starter workspace. |
None |
Lists region name and cloud provider. |
|
Runs SQL on a connected workspace. |
|
SQL results in structured format |
|
Creates a new notebook in the specified space (personal or shared). |
|
Created notebook details |
|
Uploads created notebook file in the Cloud Portal. |
|
Uploads created notebook |
|
Creates a scheduled job to run a notebook. |
|
Created job details |
|
Retrieves details of an existing job |
|
Existing job details |
|
Permanently deletes a scheduled job. |
|
Deletes the scheduled job permanently |
In this section
Last modified: September 22, 2025