Skip to content
Docs menu

Tool reference · Team server (remote)

memory_export

Pages through every record in one workspace, in id order, with authorship and revision.

team server /mcp
Caution. Includes deleted and superseded records, not just active ones. Filter on status if you only want current content. At most 50 records per page.

When to use

  • You want a full backup or audit of a team’s memory.
  • You are migrating a workspace’s records to another system.
  • You want to browse a workspace without a search query.

Parameters

NameTypeDefaultDescription
scope { kind, team_id } — —
after integer 0 (min 0)
limit integer 50 (min 1, max 50)

Example

Arguments

{
  "scope": {
    "kind": "shared"
  },
  "after": 0,
  "limit": 2
}

Result shape

{
  "scope": {
    "kind": "shared",
    "team_id": null
  },
  "scope_tags": [
    "scope:shared"
  ],
  "data": [
    {
      "id": 1,
      "type": "convention",
      "content": "All services log JSON to stdout.",
      "project": "general",
      "status": "active",
      "created_by": {
        "user_id": "unknown",
        "display_name": "Legacy / unknown",
        "client": "legacy"
      },
      "updated_by": {
        "user_id": "unknown",
        "display_name": "Legacy / unknown",
        "client": "legacy"
      },
      "revision": 1
    },
    {
      "id": 2,
      "type": "fact",
      "content": "Staging database is refreshed from production every Sunday.",
      "project": "general",
      "status": "deleted",
      "created_by": {
        "user_id": "petya",
        "display_name": "Petya",
        "client": "claude-code"
      },
      "updated_by": {
        "user_id": "vasya",
        "display_name": "Vasya",
        "client": "codex"
      },
      "revision": 2
    }
  ]
}

Pass the last id you received as after to get the next page; an empty data list means you reached the end. Records created before authorship tracking show "Legacy / unknown".

Values are illustrative; the keys follow the server's handler. MCP clients receive the result as JSON text content.

Server description

The description the server sends to your agent in tools/list, captured from the v14.7.0 source:

Page through workspace records with authorship; pass last ID as after.

Found a mistake? Open an issue on GitHub.

Search