About Stardog
Stardog is an MCP server published by stardog-union in the Developer Tools category: mCP server implementation for Stardog Cloud.
The repository has 2 stars and 2 forks, with the last commit 2 months ago. Recent commit activity is the strongest signal that reported issues will get attention.
Install
git clone https://github.com/stardog-union/stardog-cloud-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (3)
voicebox_askAsk natural language questions and receive rich, full-context answers from Stardog Voicebox (with reasoning chain, SPARQL queries, provenance etc), leveraging your knowledge graph.
Parameters not published.
voicebox_generate_queryGenerate SPARQL queries from natural language questions using Voicebox's AI capabilities.
Parameters not published.
voicebox_settingsRetrieve the current settings for your Voicebox application, including database, model, and configuration details.
Parameters not published.
Ask AI
Ask AI about Stardog
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 5 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
Releases
README
Stardog Cloud MCP Server
Table of Contents
- Overview
- Available Tools
- Requirements
- Obtaining the API Token
- Local Setup
- Remote Setup (Beta)
- Local Development
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
- Go to cloud.stardog.com and log in.
- Click on your profile icon (top right) and select Manage API Keys.
- Create a new application and generate a secret.
- Copy the API token and keep it secure.
- 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 uvto find the path to theuvcommand. This is the path you should use for thecommandfield 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.jsonfile. - 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
--endpointto point to a different Stardog Cloud instance [Default: https://cloud.stardog.com/api]- You can also specify
--timeoutto configure the request timeout in seconds (default: 300s)- The
--client_idis 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 the
SDC_TIMEOUTenvironment 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] The
x-sd-auth-tokenheader 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:
- Install dependencies and set up the environment:
make install-dev - Format code:
make format - Run SAST checks:
make ci - Run tests:
make test - Clean up build artifacts and environment:
make clean
For more commands and usage, run:
make help
README fetched from the repository 5 days ago. The original is authoritative.