MCP Setup
Connect Threadline's persistent memory layer to any MCP-compatible client like Cursor or Claude Desktop. Setup takes under a minute.
One-line install
Run the Threadline MCP server with no install step required:
npx -y @threadline/mcpSet your API key
The MCP server authenticates using a single environment variable. Grab your key from the dashboard.
export THREADLINE_API_KEY="tl_live_..."Claude Desktop
Add the following to your claude_desktop_config.json file. On macOS this lives at ~/Library/Application Support/Claude/claude_desktop_config.json.
{
"mcpServers": {
"threadline": {
"command": "npx",
"args": ["-y", "@threadline/mcp"],
"env": {
"THREADLINE_API_KEY": "tl_live_..."
}
}
}
}Restart Claude Desktop. You should see Threadline's tools appear in the MCP menu.
Cursor
In Cursor, open Settings → MCP → Add new MCP server and paste the same JSON snippet, or add it to ~/.cursor/mcp.json:
{
"mcpServers": {
"threadline": {
"command": "npx",
"args": ["-y", "@threadline/mcp"],
"env": {
"THREADLINE_API_KEY": "tl_live_..."
}
}
}
}Open source
The Threadline MCP server is fully open source. Inspect, fork, or contribute on GitHub.