Skip to content

Conversation

@SashankMeka1
Copy link

@SashankMeka1 SashankMeka1 commented Jan 14, 2026

Description

loadGraph() loads in type because saveGraph saves it as described in 3210

Server Details

  • Server: memory
  • Changes to: index.ts, knowledge-graph.tst.ts

Motivation and Context

Fixed a validation error where search_nodes (and other tools) returned entities/relations with a type field that wasn't in the schema.

How Has This Been Tested?

Added 3 unit tests verifying entities/relations loaded from file

Breaking Changes

None

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

@dsp-ant dsp-ant self-requested a review January 14, 2026 11:43
@dsp-ant
Copy link
Member

dsp-ant commented Jan 14, 2026

Auto code review

No issues found. Checked for bugs and CLAUDE.md compliance.

🤖 Generated with Claude Code

Copy link
Member

@dsp-ant dsp-ant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@dsp-ant dsp-ant merged commit 72e1111 into modelcontextprotocol:main Jan 14, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants