Sheaf.us
MCP connector and REST API

Agent-first document management

Your agent works on your cases directly: Claude through the MCP connector, any other agent through the REST API.

What an outside agent can do

… stands for /api/applications/{id}.

What an outside agent can do, by connector tool and API call
CapabilityExampleClaude (connector tool)Any agent (API call)
Find and open casesCases by how complete their document list islist_applications, lookup_applicationGET /api/applications, GET …
Create a caseA case on the Purchase Loan (CA) listlist_expected_doc_lists, create_applicationPOST /api/applications
Add filesSend two PDFs from Claude’s sandboxcreate_upload_linkPOST …/files
Request documents from a customerAsk the borrower for pay stubs and bank statementscreate_request_linkPOST …/request-links
Split, classify, extractRun the case’s workflow on new fileslist_workflows, start_workflow_runPOST /api/workflows/{id}/runs, POST …/run/gate, POST …/run/cancel
Search and read pagesFind “loan amount”, then read that pagesearch_case_text, read_parsed_pagesGET …/search, GET …/text, GET …/pages-pdf
List and download documentsA filed document’s PDFlist_documentsGET …/documents, GET …/approved-docs/{docId}/file
Read extracted valuesNet pay from each pay stub—GET …/analysis, POST …/run/tool
Match a documentPages 12–13 are the W-2approve_documentPOST …/document-approvals
File pages no document claimedFile page 40 under Gift Letter, or archive itfile_pagesPOST …/placements
Tag a documentPriority, or Excluded from searchtag_documentPOST …/document-tags
Cited briefsA cited summary of the caselist_intel_templates, start_intel_brief, list_intel_briefs, get_intel_briefPOST …/intel-briefs, GET …/intel-briefs/{briefId}
Teach (fine-tune)Add a test for a misread total, then read the report—POST …/files/{fileId}/pages/{page}/teach-tests, GET …/teach-report
Audit trailWho changed what, and when—GET …/events
WebhooksA signed POST when a run finishes—a Manager adds the endpoint
Stored filesYour folders and files, with sizes and dateslist_storageGET /api/storage
ModelsThe model options for each step—GET /api/models/options

How an agent connects

  • Claude (claude.ai, the Claude app, Cowork, Claude Code): add the connector https://sheaf.us/api/mcp and sign in once. It acts as that person, with their role. Connect Claude
  • Any agent that runs code (Claude Code, Codex): paste the setup from Settings → API keys, or connect with a pairing code. An API key acts as an Originator in the organization. Connect an agent
  • Claude, ready-made: the skill or the plugin, sheaf-skill.zip or sheaf-claude-plugin.zip. The plugin adds the connector too. Add the skill
  • Try it: POST /api/guest returns a key for a guest sandbox with a sample case, open for 24 hours, at 10 requests a minute.
  • Docs an agent reads: /skill.md, /llms.txt, any docs page as .md, and /api/openapi.json without a key. Docs for agents

Your data

  • Your documents can sit in your own S3 bucket in a standard folder layout, so a project or the whole library copies out. You keep your data
  • Your database, your storage, your model keys. Whitelabel
  • You keep all rights, with 30 days to export after you leave. Terms
  • Role checks on every request, and fixed retention. Security and data

Safeguards

  • Every change an agent makes is in the audit trail, shown, for example, as “Agent via Claude · jane@example.com”.
  • An agent can match documents but never reject them. Only a person gives Teach verdicts.
  • Flagged files wait for a person. Another organization’s case answers “not found”.

Test with your documents. Send the bundle that currently ruins someone's afternoon, exactly as it arrived.