Skip to main content
Glama
YeomYuJun

Remote Memory MCP Server

by YeomYuJun

open_nodes

Retrieve specific entities from a knowledge graph to access synchronized memory data stored in GitHub repositories for collaborative analysis.

Instructions

특정 이름의 엔티티들을 조회합니다

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
namesYes

Implementation Reference

  • The handler function for the 'open_nodes' tool. It retrieves entities by the provided names using the memoryManager and returns a structured JSON response containing the requested names, found nodes, and counts.
    private async handleOpenNodes(args: any) { const nodes = this.memoryManager.getNodes(args.names); return { content: [{ type: 'text', text: JSON.stringify({ success: true, requestedNames: args.names, nodes: nodes, found: nodes.length, requested: args.names.length, }, null, 2), }], }; }
  • Input schema defining the expected arguments for the 'open_nodes' tool: an object with a required 'names' array of strings.
    inputSchema: { type: 'object', properties: { names: { type: 'array', items: { type: 'string' }, }, }, required: ['names'], },
  • src/index.ts:225-238 (registration)
    Registration of the 'open_nodes' tool in the list_tools response, including name, description, and input schema.
    { name: 'open_nodes', description: '특정 이름의 엔티티들을 조회합니다', inputSchema: { type: 'object', properties: { names: { type: 'array', items: { type: 'string' }, }, }, required: ['names'], }, },
  • src/index.ts:394-395 (registration)
    Dispatch registration in the call_tool request handler switch statement, routing 'open_nodes' calls to the handleOpenNodes method.
    case 'open_nodes': return await this.handleOpenNodes(args);
  • Helper method in MemoryGraphManager that retrieves Entity objects by exact name matches from the internal graph, filtering out non-existent nodes.
    getNodes(names: string[]): Entity[] { return names .map(name => this.graph.entities.get(name)) .filter((entity): entity is Entity => entity !== undefined); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/YeomYuJun/remote-memory-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server