Capture

Capture MCP Server

Connect AI assistants to your private personal spaces over the Model Context Protocol. The rasepi-mcp-capture server exposes 10 tools for personal notes, sharing, AI summarization, and quota.

Overview

Capture is the private side of Rasepi: personal spaces of notes that belong to one user, organized into a tree, optionally shared, and summarized by AI. The MCP server acts as the signed-in user. Notes are private by default and never appear in tenant-wide search.

10 Tools

List, read, create, update, delete, share, and summarize personal notes.

Private by Default

Notes are encrypted at the application layer and visible only to their owner.

Per-User Quota

AI summarization runs against a per-user quota, separate from the workspace budget.

stdio Transport

Standard stdio transport works with Claude Desktop, VS Code, and any MCP client.

Install

cd developers/mcp
npm install
npm run build

For development without building, run the Capture server directly:

npm run dev:capture

Authentication

The server authenticates with a Bearer token passed via environment variables:

RASEPI_API_URL=http://localhost:5000
RASEPI_API_TOKEN=dev-token-{tenantId}:{userId}

Capture is user-scoped: every note is owned by the authenticated user. Dev tokens use the format dev-token-{'{'}tenantId{'}'}:{'{'}userId{'}'}. In production, use a JWT from the OAuth flow.

Claude Desktop Configuration

Add the Capture server to claude_desktop_config.json, pointing at bin/capture.js:

{
  "mcpServers": {
    "rasepi-capture": {
      "command": "node",
      "args": ["path/to/developers/mcp/dist/bin/capture.js"],
      "env": {
        "RASEPI_API_URL": "http://localhost:5000",
        "RASEPI_API_TOKEN": "dev-token-tenant:user"
      }
    }
  }
}

Capture Tools (10)

list_personal_notes

List the current user's own notes

list_shared_notes

Notes shared with the current user

list_personal_groups

Groups a note can be shared with

get_personal_note

Get one personal note with content

create_personal_note

Create a private note (optionally nested)

update_personal_note

Update a note title and/or content

delete_personal_note

Delete a personal note

set_personal_note_shares

Replace a note's share list

summarize_personal_note

AI-summarize a note (per-user quota)

get_personal_quota

The user's personal AI usage this period