Skip to main content
Glama
YuNaga224
by YuNaga224

read_graph

Retrieve the complete knowledge graph from Obsidian Memory MCP to visualize AI memories as interconnected entities and relationships in Markdown format.

Instructions

Read the entire knowledge graph

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler for the 'read_graph' tool within the CallToolRequestSchema request handler's switch statement. Executes by calling storageManager.readGraph() and returning the JSON-serialized knowledge graph.
    case "read_graph": return { content: [{ type: "text", text: JSON.stringify(await storageManager.readGraph(), null, 2) }] };
  • Input schema definition for the 'read_graph' tool, registered in the tools list returned by the ListToolsRequestSchema handler. Takes no input parameters.
    { name: "read_graph", description: "Read the entire knowledge graph", inputSchema: { type: "object", properties: {}, }, },
  • Core helper method 'readGraph' in MarkdownStorageManager class that loads and returns the full KnowledgeGraph by delegating to the private loadGraph() method.
    async readGraph(): Promise<KnowledgeGraph> { return this.loadGraph(); }

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/YuNaga224/obsidian-memory-mcp'

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