Getting Started With Helix-MCP
HelixDB conveniently has custom MCP endpoints built into it making it easy for AI agents to interface with it. We also provide an MCP server that you can hook right up to any LLM provider you’re using! This guide shows how to run the server, enable tools, and connect from LLM providers and Claude Desktop.Prerequisites
- A running HelixDB instance (local or remote)
- API keys as needed:
OPENAI_API_KEY
,GEMINI_API_KEY
,VOYAGEAI_API_KEY
,ANTHROPIC_API_KEY
Setting up HelixDB
Before running the server in Claude Desktop, you also want to make sure that you have an actual running Helix instance. See our installation guide for that.Run the MCP Server
ToolConfig
is used to enable/disable tools.
Embedder
is used to embed text into a vector.
MCP Tools
- Session:
init
,next
,collect
,reset
- Traversal:
n_from_type
,e_from_type
,out_step
,out_e_step
,in_step
,in_e_step
- Filter:
filter_items
- Search:
search_vector
(needs embedder),search_vector_text
(in-house embedding),search_keyword
(BM25)
Custom MCP Tools
You can also add your own custom MCP tools to the MCP server.Enable MCP in Your LLM Provider
OpenAI:Anthropic does not support local MCP servers with streamable-http. You must use a URL-based MCP server.
Usage
- Get the server script in the directory you want to run the MCP server:
- Configure your MCP server in the server script:
- Modify the
client
to where your HelixDB instance is running. - Modify the
embedder
to your preferred embedder or remove it if you don’t want to use an embedder. - Modify the
tool_config
to your preferred set of tools.
- Configure MCP Server on your platform below.
For stdio transport, don’t forget to adjust the path to your
For streamable-http transport, don’t forget to run the MCP server first before using it.
mcp_server.py
in the snippet.For streamable-http transport, don’t forget to run the MCP server first before using it.
For stdio transport, you may need to run
which uv
and update the command to the path of the uv binary in the MCP server configuration.Cursor
Go to Cursor’s settings, click onMCP & Integrations
-> New MCP Server
, then enter the following:
For streamable-http transport (adjust the port accordingly):
Windsurf
Go to Windsurf’s Casecade settings, navigate toMCP Servers
, click on Manage MCPs
-> View raw config
, then enter the following:
For streamable-http transport (adjust the port accordingly):
Claude Desktop
Go to Claude Desktop’s settings, click onDeveloper
-> Edit Config
, then enter the following into claude_desktop_config.json
:
Codex
Go to your root directory and open the.codex
folder (you may need to enable hidden files), then enter the following into the config.toml
file: