graphlife Docs graphlife.app

MCP tools

6. Limits and behaviours to plan for

These are factual properties of the current release.

Topic Behaviour
Pagination list_nodes and list_edges page through a whole graph with a cursor (see Listing and paging). Other reads return at most limit rows, clamped to the scope's maxNodes (default 200).
Listing list_nodes, list_edges and get_nodes list a graph or fetch nodes by id; other reads start from a search, a node id, or a question.
Search search matches node labels, and also ranks by meaning with semantic: true where the graph has vectors. search_prose matches the text attribute. Other attributes are not searchable by word; list_nodes can filter on attribute values.
Bulk reads subgraph walks at most 3 hops; paths at most 4 hops and returns at most 5 paths.
Batching One JSON-RPC request per POST. JSON-RPC batch arrays are not supported.
Streaming Responses are single JSON documents. There is no server-sent event stream and no server-initiated message.
Change notification The MCP endpoints send no notifications, and tools.listChanged is false. Changes are followed through the change feed or webhooks.
Idempotency There is no idempotency-key header. add_to_graph merges entities by name by default; add_edge reports added: false for an existing relationship; add_capture and add_document store a new item on every call.
Deletion delete_node and delete_edge are soft and reversible.
Documents Files travel inline as base64 in JSON, up to 50 MB each.
Malformed requests On POST /v1/live, a body that is not valid JSON answers 400 bad_json; one over the size limit 413 too_large; an argument of the wrong type 400 bad_args, naming the argument in arg. On /v1/live/mcp an unreadable body is JSON-RPC error -32700 and a wrong-typed argument is a tool result reading Bad arguments: <name> (see Malformed requests).
Error codes over MCP Tool failures on /v1/live/mcp are sentences, not codes (section 3.3).
Group limits At most 500 groups per graph and 32 groups per node.
Credentials Live keys may carry an expiry, can be rotated and edited, and can belong to a service account rather than a person (see API keys and Service accounts); OAuth access tokens last 30 days; session tokens last one hour. There is no client-credentials (machine-to-machine) OAuth grant.
Concurrency Writes to one graph are applied one at a time inside a single server process.
Versioning Routes are prefixed /v1. Tool names on /v1/live/mcp are fixed because stored scopes refer to them.
MCP features Tools only. Resources, prompts, sampling, elicitation and ping are not implemented on the remote endpoints.