MCP Integration
Connect Claude Desktop, Cursor, and VS Code–based clients to Nebula via MCP to store and search memories directly from the assistant.Prefer web-hosted servers for the simplest setup—no local installation required. Use local servers only if needed for specific environments.
Quick start
No local installation required! Connect directly to your cluster:Replace:
{cluster_id}
with your cluster ID, YOUR_NEBULA_API_KEY
with your API key.Benefits: Zero setup, automatic cluster scoping, always up-to-date.Verify with Inspector
Use MCP Inspector to confirm auth, tools, and health before troubleshooting.Environment (Local Servers Only)
- NEBULA_API_KEY (required): API key for Nebula.
- NEBULA_API_URL (optional): Custom API endpoint, defaults to
https://api.nebulacloud.app
.
Web-Hosted MCP Servers
Preferred method: Use cluster-scoped URLs for direct connection:- URL Pattern:
https://mcp.nebulacloud.app/{cluster_id}
- Authentication: Bearer token via
Authorization
header - Benefits: No local processes, automatic updates, cluster isolation
Tools provided
- add_memory: Store documents or conversation messages
content
(required): Text content to storerole
(optional): For conversation messages (user, assistant)parent_id
(optional): For conversation threadingmetadata
(optional): Additional metadata dictionary
- search_memories: Search and retrieve memories
query
(required): Search query stringlimit
(optional): Maximum results (default: 10)
cluster_id
parameter needed!
Usage pattern
- Web-hosted: Each URL is cluster-specific, tools automatically work within that cluster
- Local servers: Use
cluster_id
parameter to specify which cluster to operate on