Skip to content

add_observations tool in Knowledge Graph Memory Server frequently fails when invoked by GitHub Copilot Chat (Claude) in VS Code #2030

Open
@sascharo

Description

@sascharo

Describe the bug
When using the Knowledge Graph Memory Server (installed via npx) in Visual Studio Code with GitHub Copilot Chat and Claude, the add_observations tool often fails silently or with error, whereas other tools such as create_entities appear to work consistently. This suggests a potential reliability or integration issue specific to add_observations.

To Reproduce
Steps to reproduce the behavior:

  1. Open VS Code Insiders (version details below).
  2. Launch GitHub Copilot Chat (with Claude selected as the agent, if applicable).
  3. Interact with a tool using the add_observations method.
  4. Observe that add_observations often fails or is not executed correctly.
  5. In contrast, call create_entities – observe it works as expected.

Expected behavior
The add_observations tool should succeed reliably when invoked by GitHub Copilot Chat in the same way as other tools like create_entities.

Logs
Unfortunately, there are no explicit errors printed to the terminal in some cases – but behavior can be confirmed through:

  • Incomplete or missing results from memory updates.
  • Lack of entity enrichment that would normally follow add_observations.

Additional context

  • VS Code Version:

    Version: 1.101.0-insider (user setup)  
    Commit: 921786be45c46b54e727aa4f210819bbc6430a6d  
    Date: 2025-06-06T00:25:36.239Z  
    Electron: 35.5.1  
    ElectronBuildId: 11708675  
    Chromium: 134.0.6998.205  
    Node.js: 22.15.1  
    V8: 13.4.114.21-electron.0  
    OS: Windows_NT x64 10.0.26100  
    
  • Knowledge Graph Memory Server is started via npx.

  • Issue seems specific to GitHub Copilot Chat + Claude integration, possibly due to malformed requests or unexpected payloads.

  • A minimal reproduction may involve a manual call to add_observations via an equivalent API endpoint to compare success/failure modes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingserver-memoryReference implementation for the Memory MCP server - src/memory

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions