Hosted Server (Recommended)
The fastest way to get started. No server to run, no dependencies to install:Where to put this config
| Client | Config file location |
|---|---|
| Cursor | ~/.cursor/mcp.json |
| Claude Desktop | Claude Desktop settings > MCP |
| Claude Code | .mcp.json at your project root |
Agent ID
Each agent ID maps to an isolated context graph. Memories stored under one agent ID are invisible to another. You can:- Use one agent per project to keep knowledge separated
- Use one shared agent across projects if you want cross-project memory
- Switch agents at runtime using the
switch_agenttool during a conversation
Self-Hosted
If you need to run the MCP server yourself (e.g. for data privacy or custom backends), use the sections below to configure and deploy it.Most users don’t need to self-host. The hosted MCP server at
mcp.rippletide.com is ready to use. See the Quickstart.Configuration
Configure the server via environment variables or CLI flags. CLI flags take priority.| Env Variable | CLI Flag | Default | Description |
|---|---|---|---|
GRAPH_API_URL | --api-url | http://localhost:3000 | Context graph backend URL |
AGENT_ID | --agent-id | "default" | Target agent’s graph |
TRANSPORT | --transport | stdio | stdio for local, http for remote |
PORT | --port | 8080 | Port for HTTP transport |
HOST | --host | 127.0.0.1 | Bind address for HTTP transport |
LOG_LEVEL | --log-level | info | debug, info, warn, error |
Transport Modes
There are two ways your AI client can talk to the MCP server: stdio: The AI client starts the MCP server as a subprocess and communicates via stdin/stdout. This is the default for local clients like Cursor and Claude Desktop.Health Check
On startup, the server pingsGET /api/graph/stats on the backend. If unreachable, a warning is logged but the server still starts (tools will return errors until the backend is available).
Logging
All logs are JSON-formatted and written to stderr (stdout is reserved for the MCP stdio protocol):Deploy
Deploy on Railway
The MCP server includes arailway.json config for one-click deployment.
Once deployed, your MCP endpoint will be available at:
Deploy on any cloud provider
The MCP server is a standard Node.js app. To deploy anywhere:GRAPH_API_URL environment variable to point to your context graph backend.
Requirements:
- Node.js >= 18
- Network access to the context graph backend
Troubleshooting
Connection refused
Connection refused
The context graph backend isn’t running or isn’t reachable at
GRAPH_API_URL. Check the URL and network connectivity.Tools return empty data
Tools return empty data
Verify that
AGENT_ID matches an agent that has data in the graph. Use list_entities to check.Can't see logs
Can't see logs
All logs go to stderr (stdout is reserved for MCP stdio protocol). Use
LOG_LEVEL=debug for verbose output.Server starts on stdio instead of HTTP
Server starts on stdio instead of HTTP
Make sure
--transport http is in the start command or TRANSPORT=http is set as an environment variable.