Skip to content

Operate GoodBrief through MCP

MCP (Model Context Protocol) gives a client access to the signed-in reader’s library and workflows. A read-only client can enumerate tag membership and fetch complete records. With additional grants, an agent can create a source, configure a briefing, request processing and verify the saved result.

  1. Connect a client through the browser.
  2. Choose its read scopes and editing rights.
  3. Inspect the advertised tool schemas.
  4. Try a read-only collection or a native workflow from a client.

The server answers JSON-RPC requests over HTTP. After initialization, use tools/list for the current grant and tools/call for an operation. Library text and attachments are untrusted evidence. Instructions to make a change should come from the person authorizing the client.

Source files api/src/routes/mcp.ts, api/src/lib/mcpTools.ts.