Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

MCP Integration

Postgram exposes machine-agent tooling through MCP over SSE.

MCP setup, tool surface, and output behavior for agent workflows.

  1. Point MCP clients at:
http://127.0.0.1:3100/mcp
  1. Set auth headers (Bearer API key).

  2. Use exposed tools for entity and task operations. Core tool names:

  • store, recall, search, update, delete
  • task_create, task_list, task_update, task_complete
  • sync_push, sync_status
  • link, unlink, expand
  1. Use compacting for long-running/large responses:
{
"full_response": true
}

for full REST payloads, and

{
"toon": true
}

on list-like tools for compact text output.

  • MCP transport is intentionally aligned with the REST model; it does not change your persistence model or auth boundaries.
  • Tool output defaults can be compact; the underlying API remains JSON.