Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#1919·graphiti

[Feature] MCP server: explicit '*' to read across every group, and report the scope searched

Author: fabiosiqueiraCreated Sep 24, 2026Updated Sep 30, 2026
Labelsscope:mcp

Before you file

  • I searched existing issues and did not find an existing proposal.
  • I read the contributing guide and will not open a feature pull request until the Graphiti team has discussed this issue and added rfc-approved.

Affected component

MCP server

Size

Small improvement to existing behavior

User problem

An MCP server that holds several partitions gives callers no way to read across them. search_memory_facts and search_nodes take group_ids. When the argument is omitted, they fall back to config.graphiti.group_id. A caller that does not know the partition names therefore cannot query the whole graph.

The failure is also silent. On a deployment whose configured default points to a group with no data, every search that omits group_ids returns "No relevant facts found". The agent cannot tell that apart from "the graph knows nothing about this", and it concludes the latter. We measured this on a production graph with 7 populated partitions and a stale default. Two searches that had clear answers in the graph both came back empty.

Related background: #838 (closed by the stale bot, not resolved), where the reporter asked for a "search everywhere" option in the MCP server.

Desired outcome

  • A caller can explicitly widen a read to every group.
  • Every read response names the scope that was actually searched, so an empty result reads as "nothing in these groups" and not as "nothing at all".
  • The default stays fail-closed. A single-tenant deployment must never start answering across tenants because a caller left an argument out (see #1716).

Proposed design

  • Accept '*' in group_ids as a sentinel meaning "every group" on search_memory_facts and search_nodes. The tools pass None to core, which already treats a missing group filter as "all groups". '*' cannot collide with a real group: validate_group_id only accepts [a-zA-Z0-9_-]+.
  • Add searched_group_ids to every read response (None means all groups).
  • get_episodes does not accept '*', because it needs a concrete list for get_by_group_ids. When no group resolves, it returns an error instead of an empty list.
  • clear_graph explicitly rejects '*'. Without that guard, the sentinel reaches clear_data as a literal group name, matches nothing, and the tool still reports success.

A draft implementation with tests is in #1791. It stays in draft until this design is approved.

Alternatives considered

Make "all groups" the default when group_ids is omitted. That fixes the same symptom, but it turns a fail-closed scope into a fail-open one for every existing deployment.

— Claude Opus 5.5

Source: getzep/graphiti

View original on GitHubView discussion on GitHub