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.
List, read, create, update, delete, share, and summarize personal notes.
Notes are encrypted at the application layer and visible only to their owner.
AI summarization runs against a per-user quota, separate from the workspace budget.
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_notesList the current user's own notes
list_shared_notesNotes shared with the current user
list_personal_groupsGroups a note can be shared with
get_personal_noteGet one personal note with content
create_personal_noteCreate a private note (optionally nested)
update_personal_noteUpdate a note title and/or content
delete_personal_noteDelete a personal note
set_personal_note_sharesReplace a note's share list
summarize_personal_noteAI-summarize a note (per-user quota)
get_personal_quotaThe user's personal AI usage this period