Retrieve details about the workspace groups accessible to the user
Retrieve details about the workspaces in a specific workspace group
Retrieve details about the user's current organization
Retrieve a list of all regions that support workspaces for the user
Execute SQL operations on a connected workspace
List all starter workspaces accessible to the user
Create a new starter workspace with a user
Execute SQL operations on a virtual workspace
List all notebook samples available in SingleStore Spaces
Create a new notebook in the user's personal space
List all files in the user's personal space
Create a new scheduled job to run a notebook
Get details about a specific job
List execution history for a specific job
SingleStore MCP Server provides a seamless interface between large language models and SingleStore's database services. It enables users to manage workspaces, execute SQL queries, create notebooks, and schedule jobs through natural language interactions. With this integration, you can leverage the power of LLMs to interact with your SingleStore databases, making complex operations more accessible and efficient. The server supports a comprehensive set of tools for database management, SQL execution, and workspace administration.
SingleStore MCP Server enables natural language interaction with SingleStore databases and services through the Model Context Protocol (MCP). This integration allows you to use Claude Desktop, Cursor, or any compatible MCP client to perform database operations, manage workspaces, execute SQL queries, and more using conversational language.
There are three ways to install the SingleStore MCP Server:
The simplest way to set up the server is with the initialization command:
uvx singlestore-mcp-server init
This command will:
You can also explicitly pass your SingleStore API key:
uvx singlestore-mcp-server init <SINGLESTORE_API_KEY>
To specify a client (e.g., claude
or cursor
), use the --client
flag:
uvx singlestore-mcp-server init <SINGLESTORE_API_KEY> --client=<client>
To install automatically via Smithery:
npx -y @smithery/cli install @singlestore-labs/mcp-server-singlestore --client=<client>
Replace <client>
with claude
or cursor
as needed.
Add the following configuration to your client configuration file:
{
"mcpServers": {
"singlestore-mcp-server": {
"command": "uvx",
"args": [
"singlestore-mcp-server",
"start",
"<SINGLESTORE_API_KEY>"
]
}
}
}
Replace <SINGLESTORE_API_KEY>
with your actual SingleStore API key.
After making changes to the configuration, restart your client.
Once installed, you can interact with SingleStore through natural language in your MCP-compatible client. For example:
The server will interpret your requests and use the appropriate tools to fulfill them.
If you prefer to run the server in a Docker container:
docker build -t mcp-server-singlestore .
docker run -d \
-p 8000:8000 \
--name mcp-server \
mcp-server-singlestore
This will start the server in a container, making it accessible on port 8000.