{"type":"mcp_server","name":"MemoryMesh","description":"MemoryMesh is a knowledge graph server for AI models, ideal for text-based RPGs and interactive storytelling, helping AI maintain consistent, structured memory across conversations for richer interactions. MemoryMesh is a","category":"AI","language":"TypeScript","stars":347,"forks":20,"owner":"CheMiguel23","github_url":"https://github.com/CheMiguel23/MemoryMesh","homepage":null,"setup":"## Setup\n\n1.  **Clone the Repository:**\n\n    ```bash\n    git clone https://github.com/CheMiguel23/memorymesh.git\n    cd memorymesh\n    ```\n\n2.  **Install Dependencies:**\n\n    ```bash\n    npm install\n    ```\n\n3.  **Build the Project:**\n\n    ```bash\n    npm run build\n    ```\n   This command compiles the TypeScript code into JavaScript in the `dist` directory and copies sample schema and data files into it as well.\n\n4.  **Verify File Copy (Optional):**\n\n    *   The build process should automatically copy the `data` folder to `dist`.\n    *   **Check** that `dist/data` exists and contains `.json` files. Also verify that `dist/data/schemas` exists and contains `.schema.json` files.\n\n5.  **Configure Claude Desktop:**\n\n   Open your Claude Desktop configuration file:\n\n    * **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`\n    * **Windows:** `%APPDATA%\\Claude\\claude_desktop_config.json`\n    * Add an entry for `memorymesh` to the `mcpServers` section. You can choose **one** of the following configuration options:\n\n    ```json\n    \"mcpServers\": {\n      \"memorymesh\": {\n        \"command\": \"node\", \n        \"args\": [\"/ABSOLUTE/PATH/TO/YOUR/PROJECT/memorymesh/dist/index.js\"]\n      }\n    }\n    ```\n\n    *   Replace `/ABSOLUTE/PATH/TO/YOUR/PROJECT/` with the **actual absolute path** to your `memorymesh` project directory.\n    *   **Example (macOS):**\n        ```json\n        \"command\": \"node\",\n        \"args\": [\"/Users/yourusername/Projects/memorymesh/dist/index.js\"]\n        ```\n    *   **Example (Windows):**\n        ```json\n        \"command\": \"node\",\n        \"args\": [\"C:\\\\Projects\\\\memorymesh\\\\dist\\\\index.js\"]\n        ```\n\n6.  **Restart Claude Desktop:** Completely restart Claude Desktop for the changes to take effect.","tools":"## Available Tools\n\n1.  **Knowledge Graph Server:** Designed for AI models, focusing on text-based RPGs and interactive storytelling.\n2.  **Dynamic Schema-Based Tools:** Automatically generates tools for data management based on defined schemas.\n3.  **SchemaManager Tool:** Simplifies schema creation and editing with a visual interface.\n4.  **Memory Viewer:** Visualizes and inspects the contents of the knowledge graph.\n5.  **Event Support:** Tracks operations, providing insights into how the knowledge graph is being modified.\n6.  **Pre-built Schemas:** Includes 11 pre-built schemas designed for text-based RPGs.\n7.  **Dynamic Tools:** Automatically generated tools from schema definitions for adding, updating, and deleting entities.\n","faq":null,"created_at":"2024-12-06T00:50:19+00:00","updated_at":"2025-03-28T00:51:19+00:00","source_url":"https://model-context-protocol.com/servers/knowledge-graph-server-ai-model-memory","related_articles":[]}