Connect

LogRack is shared memory for your AI tools: logs (tasks, ideas, thoughts, memories, context, notes) that you and any LLM write to and read from. Connect your AI tools here.

Getting Started

1. Add https://mcp.lograck.ai/mcp to your MCP client and sign in when it asks; no key needed.

2. For scripts, CI or clients that can't sign in, go to API Keys and create a key named after the tool (the name becomes the writer on its logs). A typical client needs logs:read, logs:write and racks:read.

3. Ask your agent to load your LogRack context. A good habit to encourage in your prompts: "call get_context or catch_up at session start, and log decisions, tasks, and a session summary before you finish."

Connect via MCP

MCP is how LLMs reach your shared memory. The fastest route is the hosted server at https://mcp.lograck.ai/mcp — nothing to install.

Sign in with OAuth

If your client supports remote MCP servers, give it the URL and nothing else. It will send you here to sign in, pick a workspace, and choose what the app may do — then it is connected. Manage or disconnect it later under Connected Apps.

MCP server URL
https://mcp.lograck.ai/mcp

Claude Desktop and claude.ai

Customize → Connectors → Add custom connector, paste the URL, sign in. On Team and Enterprise plans an Owner adds it once under Organization settings → Connectors, and each member then finds it under Customize → Connectors, clicks Connect and signs in.

ChatGPT

Add the URL as a custom MCP server with OAuth and sign in when it asks. ChatGPT connects with sign-in (OAuth); it cannot send an API key header.

Or bring an API key

Clients that let you set a header can skip OAuth. The key you send is the key your session writes with, so your logs land in your workspace under that key's name.

Claude Code

Terminal
claude mcp add --transport http lograck https://mcp.lograck.ai/mcp \
  --header "Authorization: Bearer lrk_your_api_key"

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "lograck": {
      "url": "https://mcp.lograck.ai/mcp",
      "headers": { "Authorization": "Bearer lrk_your_cursor_key" }
    }
  }
}

MCP Tools

ToolWhat it does
log_writeWrite a log to the shared memory (task, idea, thought, memory, context, note). Supports racks, tags, pinning, TTL, and supersession.
log_searchBrowse/search by kind, tags, rack, status, writer, or full text.
log_getOne log by ID, with its supersession chain.
log_updateMark a task done, pin/unpin, retag.
log_deletePermanently delete a log (prefer supersession for edits).
get_contextToken-budgeted context pack: pinned → matches → recent. Call at session start.
catch_upEverything written since your cursor — the agent-to-agent handoff primitive.
list_racks / create_rackManage per-project piles (log_write auto-creates racks by name).

REST API

Write a log

POST/api/logs
Scope: logs:write
cURL
curl -X POST https://app.lograck.ai/api/logs \
  -H "Authorization: Bearer lrk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "kind": "task",
    "title": "Ship the racks page",
    "body": "Portal needs a racks browser.",
    "tags": ["ui"],
    "rack": "lograck-pivot"
  }'
Response (201)
{
  "success": true,
  "data": {
    "acceptedCount": 1,
    "rejectedCount": 0,
    "logs": [
      {
        "id": "log_abc123",
        "kind": "task",
        "title": "Ship the racks page",
        "body": "Portal needs a racks browser.",
        "tags": ["ui"],
        "status": "open",
        "pinned": false,
        "rackId": "rack_xyz",
        "source": { "client": "claude-code" },
        "supersededById": null,
        "timestamp": "2026-07-29T14:30:00.000Z",
        "ingestedAt": "2026-07-29T14:30:00.120Z",
        "expiresAt": null
      }
    ],
    "rackId": "rack_xyz",
    "rackCreated": true
  }
}

Batch writes: send { "logs": [ ... ] } (max 100). Ephemeral logs: add ttlSeconds or expiresAt.

Supersede an older log
# Bodies are immutable — update content by superseding the old log
curl -X POST https://app.lograck.ai/api/logs \
  -H "Authorization: Bearer lrk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "kind": "memory",
    "body": "User prefers yarn (not npm) in all projects.",
    "supersedes": "log_old456"
  }'

Search logs

GET/api/logs
Scope: logs:read
cURL
curl "https://app.lograck.ai/api/logs?kind=task&status=open&rack=lograck-pivot" \
  -H "Authorization: Bearer lrk_your_api_key"
ParameterTypeRequiredDefaultDescription
kindstringNo—Filter by kind (task, idea, thought, memory, context, note). Can be repeated.
tagsstringNo—Comma-separated tags; a log must have all of them.
statusstringNo—Task status filter: "open" or "done".
pinnedbooleanNo—Only pinned (true) or unpinned (false) logs.
sourcestringNo—Filter by the client that wrote the log (e.g. "claude-code", "portal").
qstringNo—Full-text search over title + body (websearch syntax). Max: 200 chars.
rack / rackIdstringNo—Filter by rack name or ID.
includeSupersededbooleanNofalseInclude logs that were replaced by newer versions.
includeExpiredbooleanNofalseInclude logs past their ttlSeconds or expiresAt.
limitnumberNo100Maximum number of results. Max: 200.
cursorstringNo—Opaque cursor for pagination. Use nextCursor from the previous response.

Context pack

GET/api/context

A ready-to-paste markdown bundle of the most relevant logs under a token budget: pinned first, then matches for q, then recent. Every log carries a provenance line and the header frames the content as data, not instructions.

cURL
curl "https://app.lograck.ai/api/context?rack=lograck-pivot&maxTokens=4000" \
  -H "Authorization: Bearer lrk_your_api_key"
Response
{
  "success": true,
  "data": {
    "pack": "# LogRack context pack\n...provenance-labeled markdown...",
    "tokenEstimate": 3800,
    "logCount": 24,
    "truncated": false,
    "generatedAt": "2026-07-29T14:31:00.000Z"
  }
}

Catch up (delta sync)

GET/api/sync
cURL
# First call: what was written in the last 24 hours (or since=7d, or an ISO time)
curl "https://app.lograck.ai/api/sync?since=24h" \
  -H "Authorization: Bearer lrk_your_api_key"

# Later: everything written since the cursor, oldest first
curl "https://app.lograck.ai/api/sync?cursor=eyJ0cyI6..." \
  -H "Authorization: Bearer lrk_your_api_key"

Export everything

GET/api/export
Scope: logs:read

The whole workspace as NDJSON, streamed as a download: racks first, then every log oldest first (superseded and expired ones too), then an end line with the counts; a file without it was cut short. 10 exports an hour per workspace. Settings → Workspaces has the same export as a button.

cURL
# Every rack and log of the workspace, superseded and expired included
curl -OJ "https://app.lograck.ai/api/export" \
  -H "Authorization: Bearer lrk_your_api_key"

# One JSON object per line:
# {"type":"rack","id":"...","name":"lograck-pivot",...}
# {"type":"log","id":"...","kind":"memory",...,"rack":"lograck-pivot","supersedes":[]}
# {"type":"end","racks":3,"logs":128,"exportedAt":"..."}

Update / delete

PATCH/api/logs/:id
cURL
# Mark a task done / pin a log (only status, pinned, tags are mutable)
curl -X PATCH https://app.lograck.ai/api/logs/log_abc123 \
  -H "Authorization: Bearer lrk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{ "status": "done" }'

DELETE /api/logs/:id removes a log permanently. Racks live under /api/racks.

TypeScript SDK

The TypeScript client (@lograck/api 0.2) is not on npm yet; use the REST API above. The 0.1 release on npm was built for an older API and cannot write logs.

Concepts

ConceptMeaning
kindWhat a log is: task (something to do), idea, thought (reasoning worth keeping), memory (durable fact), context (session state — usually with a TTL), or note.
supersedeBodies are immutable. To update content, write a new log with supersedes: oldId; the old one drops out of default reads but stays in the chain. Rack, pin, tags and task status carry over unless you set them. Supersede the current version: superseding a log that was already replaced is rejected with the current version's id.
racksOne per project. Logs without a rack are loose. Racks are auto-created when you write with a new rack name.
pinnedPinned logs surface first in context packs.
sourceProvenance on every log: which client wrote it (the API key's or connected app's name, or "portal"), plus optional model and session identifiers.
expiryLogs with ttlSeconds or expiresAt drop out of default reads once past due (add includeExpired=true to see them). Nothing is deleted unless you or an agent delete it.

Authentication & Scopes

Scripts and REST calls send an API key in the Authorization header with the Bearer scheme; connected apps send the token they got when you signed in. Keys are workspace-scoped and hashed at rest.

ScopeGrants
logs:writeWrite logs (POST /api/logs), update status/pin/tags, delete
logs:readSearch logs, context packs, catch-up sync, stats
racks:read / racks:writeList/read and create/update/delete racks
keys:read / keys:writeList, create, and revoke API keys (admin)

Rate Limiting

Writing logs (POST /api/logs) is limited per API key or connected app (1,000 requests a minute); searches, context packs and catch-up are limited per workspace (600 requests a minute). Over the limit you get 429 Too Many Requests with a Retry-After header; log writes also carry X-RateLimit-* headers.