MCP
Pack exposes the same corpus to external agents via the Model Context Protocol. One endpoint, your session cookie, ten tools.
Endpoint
POST /mcp — JSON-RPC 2.0, protocol 2024-11-05. Standard methods: initialize, tools/list, tools/call.
Auth
Pack authenticates MCP requests with the same session cookie your browser uses. There’s no separate API key today.
Tools
| Tool | What it does |
|---|---|
fs_ls |
List a directory’s children. |
fs_cat |
Read a document. |
fs_stat |
Metadata only. |
fs_find_by_tags |
Find documents by tag overlap. |
fs_write |
Create or overwrite a document. |
fs_edit |
Replace a unique substring in a document. |
fs_rm |
Delete a document or folder. |
search_documents |
Semantic search, optionally tag-filtered. |
list_tags |
List tag definitions. |
set_tags |
Replace a document’s tag set. |
Claude Desktop
Claude Desktop speaks stdio or bearer-token HTTP, so wiring it to Pack needs a small stdio bridge that forwards requests with your session cookie. Or skip the bridge and use the in-app chat at /chat — it calls the same tools.