Skip to main content
Glama
Stardog Cloud MCP Server

Stardog Cloud MCP Server

Official

Stardog Cloud MCP Server

Table of Contents


Related MCP server: bedrock-kb-mcp-server

Overview

This project provides a server for accessing Stardog Cloud's Voicebox APIs, enabling natural language interaction with your Stardog knowledge graphs. The server is designed to be integrated with various MCP host applications (such as Claude Desktop, Cursor, custom clients etc) and can be configured for local, as well as remote MCP access.


Available Tools

  • voicebox_settings: Retrieve the current settings for your Voicebox application, including database, model, and configuration details.

  • voicebox_ask: Ask natural language questions and receive rich, full-context answers from Stardog Voicebox (with reasoning chain, SPARQL queries, provenance etc), leveraging your knowledge graph.

  • voicebox_generate_query: Generate SPARQL queries from natural language questions using Voicebox's AI capabilities.


Requirements

You can run the server locally using either Docker or Python/uv:

  • Python: >=3.12,<3.14

  • uv: a python package and project manager (uv)

  • npx: only for running mcp-remote based MCP host-server connections see Integrating Claude desktop with Remote MCP

  • Stardog Cloud API Token: Required for authentication with Stardog Cloud APIs


Obtaining the API Token

  1. Go to cloud.stardog.com and log in.

  2. Click on your profile icon (top right) and select Manage API Keys.

  3. Create a new application and generate a secret.

  4. Copy the API token and keep it secure.

  5. For more details, see Stardog Voicebox API access.


Local Setup

Setting up the Server

Clone the repository into your system and run with Python/uv. Use the provisioned make commands for development and installation.

make help # help on available commands
make install # setups your venv and installs dependencies

You can run which uv to find the path to the uv command. This is the path you should use for the command field in the configuration.

$ which uv
/Users/pranavk/.local/bin/uv

Integrating with Claude Desktop:

Use the following sample json to make Claude Desktop to point to your local MCP server.

  • Go to Claude Desktop settings, go to the Developer section, and click on Edit Config to open the configuration file

  • Create your entry using the below and add it to the claude_desktop_config.json file.

  • See Claude MCP documentation for more details.

{
    "mcpServers": {
        "stardog-cloud-mcp": {
            "command": "uv",
            "args": [
                "--directory",
                "/path/to/stardog-cloud-mcp",
                "run",
                "stardog-cloud-mcp",
                "--token",
                "your_stardog_cloud_voicebox_api_token",
                "--client_id",
                "your_stardog_cloud_voicebox_app_id"
            ]
        }
    }
}
NOTE
  • You can additionally specify --endpoint to point to a different Stardog Cloud instance [Default: https://cloud.stardog.com/api\]

  • You can also specify --timeout to configure the request timeout in seconds (default: 300s)

  • The --client_id is optional but recommended to help track usage

Cursor:

Use Cursor's MCP integration to connect to your local server by configuring the mcp.json file.

  • Add this file to your project workspace at ./cursor/mcp.json.

  • Go to Cursor settings, under MCP and Integration, find your configured server and verify the available tools.

  • See Cursor MCP documentation to find more details.

{
  "mcpServers": {
    "stardog-cloud-mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/stardog-cloud-mcp",
        "run",
        "stardog-cloud-mcp",
        "--token",
        "your_stardog_cloud_voicebox_api_token",
        "--client_id",
        "your_stardog_cloud_voicebox_app_id"
      ]
    }
  }
}

Remote Setup (Beta)

You can configure remote MCP access for tools like Cursor and Claude Desktop by running the server in HTTP mode via Docker. For setting this up in your local Launchpad environment, please contact Stardog support.
For local testing, you can build and run the Docker container on your machine. Use the following commands as reference:

Starting the server:

make docker-build    # build the Docker image
make docker-up       # start the server on port 7001

The server requires your Voicebox API token for authentication. In remote/HTTP mode, pass the token via the x-sdc-api-key header on each request.

Integrating with Cursor

Add the following to your Cursor configuration:

{
  "mcpServers": {
    "vbx-cloud-mcp": {
      "url": "http://0.0.0.0:7001/mcp",
      "headers": {
        "x-sdc-api-key": "your_stardog_cloud_voicebox_api_token",
        "x-sdc-client-id": "your_stardog_cloud_voicebox_app_client_id",
        "x-sd-auth-token": "optional_stardog_auth_token_override"
      }
    }
  }
}

See Cursor MCP documentation for more details.

TIP

Set theSDC_TIMEOUT environment variable (in seconds) when starting the Docker container to configure the request timeout. Default is 300 seconds. Example: docker run -e SDC_TIMEOUT=120 ...

NOTE

Thex-sd-auth-token header is an optional bearer token to override the default Stardog token for Voicebox. This is useful when connecting via SSO (e.g., Microsoft Entra) to supply a custom SSO token for Stardog authentication.

Integrating with Claude

Sample configuration for Claude Desktop:

{
  "mcpServers": {
    "vbx-cloud-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "http://localhost:7001/mcp",
        "--header",
        "x-sdc-api-key: your_stardog_cloud_voicebox_api_token",
        "--header",
        "x-sdc-client-id: your_stardog_cloud_voicebox_app_client_id",
        "--header",
        "x-sd-auth-token: optional_stardog_auth_token_override"
      ]
    }
  }
}

See Claude Remote MCP documentation for more info.

Note: The x-sd-auth-token header is an optional bearer token to override the default Stardog token for Voicebox. This is useful when connecting via SSO (e.g., Microsoft Entra) to supply a custom SSO token for Stardog authentication.


Local Development

To set up a development environment, use the provided Makefile commands:

  1. Install dependencies and set up the environment:

    make install-dev
  2. Format code:

    make format
  3. Run SAST checks:

    make ci
  4. Run tests:

    make test
  5. Clean up build artifacts and environment:

    make clean

For more commands and usage, run:

make help

Available Tools

3 tools
voicebox_askVoicebox: Ask QuestionsB
Read-only

Ask a question to Voicebox and get a natural language response.

Inputs: question (required), conversation_id. Returns: result

voicebox_generate_queryVoicebox: Generate SPARQLC
Read-only

Generate a SPARQL query from a natural language question using Voicebox

Inputs: question (required), conversation_id. Returns: result

voicebox_settingsVoicebox: SettingsA
Read-only

Get the settings for a Voicebox application in Stardog Cloud

Inputs: no named parameters. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 3 tools

    Disambiguation4/5

    The three tools have mostly distinct purposes: settings retrieval, natural-language answering, and SPARQL query generation. However, voicebox_ask and voicebox_generate_query both consume natural-language questions, so an agent could briefly hesitate over which to use even though their outputs differ.

    Naming Consistency5/5

    All tool names use the same voicebox_ prefix and snake_case convention. The suffixes vary naturally between resource-oriented and action-oriented names, but the pattern is predictable throughout.

    Tool Count3/5

    Three tools is within a reasonable range for a narrow Voicebox-focused surface, and each has a clear role. For a server branded as Stardog Cloud MCP, however, the overall tool count is thin and does not cover broader Stardog Cloud operations.

    Completeness2/5

    The set covers basic Voicebox settings retrieval, asking questions, and generating SPARQL queries. It lacks obvious lifecycle operations such as updating settings, listing or managing Voicebox applications, executing generated queries, or broader Stardog Cloud management tools, creating significant dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables document ingestion and typed knowledge graph queries through Claude MCP tools, allowing agents to extract, store, and retrieve typed entities and relations from documents.
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to query documents in a Bedrock Knowledge Base through the MCP protocol, with tools for semantic search and agentic retrieval.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP-compatible agents such as Claude and Cursor to retrieve permission-aware, structured context from local or hosted data stores. Exposes tools for semantic search, entity and relationship lookup, memory access, context pack compilation, source attribution, and retrieval explanation.
      1
      Apache 2.0