Skip to content

feat(memory): add lightweight read modes for scalability#3959

Open
surapuramakhil wants to merge 2 commits intomodelcontextprotocol:mainfrom
surapuramakhil:main
Open

feat(memory): add lightweight read modes for scalability#3959
surapuramakhil wants to merge 2 commits intomodelcontextprotocol:mainfrom
surapuramakhil:main

Conversation

@surapuramakhil
Copy link
Copy Markdown

Add optional parameters to read_graph, search_nodes, and open_nodes tools to address context explosion in long-running deployments:

  • read_graph: metadataOnly, includeObservations, observationLimit, entityTypes
  • search_nodes: limit, includeObservations, observationLimit
  • open_nodes: includeObservations, observationLimit, observationOffset (pagination)

Fixes #3953

Description

Publishing Your Server

Note: We are no longer accepting PRs to add servers to the README. Instead, please publish your server to the MCP Server Registry to make it discoverable to the MCP ecosystem.

To publish your server, follow the quickstart guide. You can browse published servers at https://registry.modelcontextprotocol.io/.

Server Details

  • Server:
  • Changes to:

Motivation and Context

How Has This Been Tested?

Breaking Changes

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Protocol Documentation
  • My changes follows MCP security best practices
  • I have updated the server's README accordingly
  • I have tested this with an LLM client
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have documented all environment variables and configuration options

Additional context

Add optional parameters to read_graph, search_nodes, and open_nodes tools
to address context explosion in long-running deployments:
- read_graph: metadataOnly, includeObservations, observationLimit, entityTypes
- search_nodes: limit, includeObservations, observationLimit
- open_nodes: includeObservations, observationLimit, observationOffset (pagination)

Fixes modelcontextprotocol#3953
@surapuramakhil
Copy link
Copy Markdown
Author

@cliffhall request to review & merge this PR

@cliffhall cliffhall added enhancement New feature or request server-memory Reference implementation for the Memory MCP server - src/memory labels Apr 20, 2026
@cliffhall
Copy link
Copy Markdown
Member

@claude review

@claude
Copy link
Copy Markdown
Contributor

claude Bot commented Apr 21, 2026

Claude Code is working…

I'll analyze this and get back to you.

View job run

@surapuramakhil
Copy link
Copy Markdown
Author

Hi @cliffhall , just wanted to let you know that claude bot Github action is broken

Successfully fetched PR #3959 data
This is an open PR, checking out PR branch...
PR #3959: 2 commits, using fetch depth 20
PR #3959 is from a fork, fetching via refs/pull/3959/head...
fatal: refusing to fetch into branch 'refs/heads/main' checked out at '/home/runner/work/servers/servers'
Error: Action failed with error: Command failed: git fetch origin --depth=20 pull/3959/head:main
Internal error: directory mismatch for directory "/home/runner/work/_actions/anthropics/claude-code-action/v1/tsconfig.json", fd 4. You don't need to do anything, but this indicates a bug.
Error: Process completed with exit code 1.
Run BUN_BIN="${GITHUB_ACTION_PATH}/bin/bun"
Internal error: directory mismatch for directory "/home/runner/work/_actions/anthropics/claude-code-action/v1/tsconfig.json", fd 4. You don't need to do anything, but this indicates a bug.
No buffered inline comments

@surapuramakhil
Copy link
Copy Markdown
Author

@claude review

@surapuramakhil
Copy link
Copy Markdown
Author

@cliffhall just to let you know that I am using this version of mcp tool for my agentic workflows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request server-memory Reference implementation for the Memory MCP server - src/memory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add lightweight read modes

2 participants