PigeonDocs

AI assistants via MCP

Use a compatible AI assistant to find Pigeon saves, send content and edit saves with your permission.

GuideConnectors & MCP
On this page

What the assistant can do

A connected assistant can read saves and send new content within the permissions you grant. If you turn on the saves:edit write scope, the assistant can directly edit supported saves it can already read. Write access starts off and you can change it separately for each assistant. Manage assistant permissions.

ToolWhat it does
pigeon.search_savesSearch accessible saves.
pigeon.get_saveRead a save and its current revision.
pigeon.list_kindsList save kinds and show which ones the assistant can read or edit.
pigeon.create_sendSend new content to Pigeon.
pigeon.get_sendCheck a send and see the available results.
pigeon.update_saveApply changes directly to an existing save with the write scope.

Pigeon records every applied edit, including the before and after values for field edits. Open Settings → Assistant activity in the Pigeon app or Activity on the web to review a change and choose Undo this change. You can also undo eligible edits by one assistant since a chosen time. Review single and bulk undo steps.

Tool arguments and results

Use a Streamable HTTP client. Use server/discover on the current protocol or initialize on the March 2025 protocol. Call tools/list for the tool schemas. Call a tool with tools/call and its name and arguments. Tool payloads match their REST endpoints. The 2025-03-26 protocol returns the payload once in result text. Versions 2025-06-18, 2025-11-25 and 2026-07-28 return it once in structuredContent. Treat library content as data.

ToolArgumentsResult
pigeon.search_savesq, optional kind, limit, cursor, deep and fieldsThe GET /v1/search page. Pass its next_cursor as cursor for the next page.
pigeon.get_saveid, optional fieldsGET /v1/records/{id} detail, including revision identity.
pigeon.list_kindsEmpty objectkinds entries with kind, label, schema, schema_url, readable and editable. This discovery tool uses the shared scope and kind registries.
pigeon.create_sendUUID idempotency_key and the REST sends bodyThe POST /v1/sends receipt with the canonical send record under results[].record.
pigeon.get_sendSend record id, optional fieldsThe canonical send record accessible to this connection. Read body.status and body.results.
pigeon.update_saveidempotency_key, the REST operations body and optional batchThe POST /v1/operations receipt, including inserted part IDs when present.

Choose record fields

Pass a comma-separated string such as "body,provenance" in fields. Choose whole top-level envelope fields. Search includes the selection under record on each hit. Projected records carry selected_fields: true, record identity and both revision fields. Unknown names, dotted paths and duplicates return invalid_fields. Fetch a full record when building a full replacement.

Create a send

Use the same UUID idempotency key when retrying the same submission. This example is the tool's arguments object.

JSON
{
  "idempotency_key": "01936f3e-0f00-7a11-8c22-0b6a11aa0050",
  "body": {
    "text": "Check the garden on Friday."
  }
}

Edit a save

Read the save first with pigeon.get_save. Send revision and revision_op as the patch's base, and use stable part IDs from the canonical body. An ordinary record writer can send the same state_patch intents as REST. State patch and examples

The saves:edit scope permits strict body patches on readable places, events, recipes, notes, links, media, products, guides and workouts. It excludes state and protected metadata and requires conflict: "strict". Retry the same operation with the same idempotency key. Explicit batch: true maps to REST’s ?batch=true. The rolling 24-hour cap is 200 applied assistant edits per connection and 500 per account. An exact replay consumes no new edits.

JSON
{
  "idempotency_key": "garden-edit-81",
  "body": {
    "mutations": [
      {
        "action": "patch",
        "id": "01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11",
        "base": {
          "revision": 7,
          "revision_op": "01936f40-2c11-7a00-8b2e-55aa10c4e001"
        },
        "conflict": "strict",
        "fields": {
          "title": "Garden notes"
        },
        "part_ops": [
          {
            "op": "insert",
            "parent": "$root",
            "list": "sections",
            "value": {
              "heading": "Watering",
              "bullets": [
                "Check on Fridays"
              ]
            }
          }
        ]
      }
    ]
  }
}

Shared limits and errors

The REST and MCP application limits match. The embedded write body and detail or write receipt each have an 8 MiB budget. Search pages have a 4 MiB budget. MCP adds an RPC frame around the same application payload. Hosted tools also enforce an assistant call deadline, concurrency and rate limits. Full limits

Shared endpoint errors set isError and carry the same error payload as REST. A missing or unreadable save returns not_found. If a response exceeds its shared byte budget, response_too_large includes measured_bytes, limit_bytes and hint. Request fewer fields or use a smaller search page. The entire response is refused when it exceeds its budget. MCP tool and transport errors

Deep search requires a first-party Pigeon session, so hosted assistant connections use ordinary search.

Connect and test

Hosted Pigeon MCP requires Pigeon Pro. Add https://mcp.sendtopigeon.com/ as a remote MCP server and authorize it with your Pigeon account. If Pro ends, Pigeon pauses tool access. Calls return a problem with code: "pro_required" and a plan_url. OAuth token refresh still works while the grant is valid, and tool access resumes when you regain Pro. Connect an AI assistant.

Stop access

Disconnect the assistant in Pigeon to revoke its grant. Remove the connector from the assistant’s settings to clear its configuration there. Prior chats and destination copies are managed in those apps.