What is MCP?
The Model Context Protocol (MCP) is an open standard that lets AI clients — editors, assistants, and agent frameworks — talk to external tools and services over a uniform JSON-RPC 2.0 interface. Thrindex implements MCP’s Streamable HTTP transport, which means any MCP-compatible client can connect to a single HTTPS endpoint. No local processes, no npm packages, no binary to install.Endpoint
initialize, tools/list, and tools/call — are sent to this single endpoint. The server is stateless; each request is independently authenticated.
Authentication
Use any API key with the following scopes:| Scope | Required for |
|---|---|
memory:write | store_memory tool |
memory:read | search_memories, list_memories, get_memory tools |
memory:delete | delete_memory tool |
org_id is derived from your API key. It is never sent in the request body. Memory isolation is enforced at the API level — one key can never read another organization’s data.Client setup
- Claude Desktop
- Claude Code
- Cursor
- GitHub Copilot
- OpenAI Agents SDK
- Windsurf
- Cline
- Continue
- n8n
Add the following to
Windows:Open Settings → Developer → Edit Config inside Claude Desktop to locate the file. Save and restart Claude Desktop after editing.
claude_desktop_config.json.macOS: ~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonAvailable tools
Once connected, your AI client has access to five tools:| Tool | Scope | Description |
|---|---|---|
store_memory | memory:write | Persist a fact, preference, or piece of context |
search_memories | memory:read | Semantic search over stored memories |
list_memories | memory:read | Browse memories in reverse-chronological order |
get_memory | memory:read | Retrieve the full content of a single memory by ID |
delete_memory | memory:delete | Soft-delete a memory by ID |
How memory is scoped
Every memory stored through MCP is scoped to three levels:| Scope | Source |
|---|---|
| Organization | From your API key — automatic, never sent in the request |
agent_id | Passed as a tool argument (defaults to "mcp-client") |
user_id | Passed as a tool argument (defaults to "default") |
agent_id="claude-desktop" and user_id="alice" to isolate Alice’s memories from other users’ memories.
Any MCP-compatible client
The endpoint follows the MCP 2025-03-26 Streamable HTTP specification exactly. Any client that implements this spec can connect using:- Transport: Streamable HTTP (single POST endpoint)
- Auth:
Authorization: Bearer <api_key>header - Protocol: JSON-RPC 2.0
https://api.thrindex.com/mcp.