{"type":"mcp_server","name":"memory-mcp-server","description":"This Swift repository provides a Model Context Protocol (MCP) server for knowledge graph management, enabling LLMs to maintain memory across conversations by creating, reading, updating, and deleting entities and relations.","category":"AI","language":"Swift","stars":106,"forks":5,"owner":"okooo5km","github_url":"https://github.com/okooo5km/memory-mcp-server","homepage":null,"setup":"## Setup\n\n**Option 1: One-Line Installation (curl)**\n\nThe easiest way to install is with the one-line installer, which automatically downloads the latest version and installs it to `~/.local/bin` in your home directory:\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/okooo5km/memory-mcp-server/main/install.sh | bash\n```\n\nThe installer will:\n\n*   Create `~/.local/bin` if it doesn't exist\n*   Add this directory to your PATH (in .zshrc or .bashrc)\n*   Download and install the latest version\n*   Make the binary executable\n\n**Option 2: Build from Source**\n\n1.  Clone the repository:\n\n    ```bash\n    git clone https://github.com/okooo5km/memory-mcp-server.git\n    cd memory-mcp-server\n    ```\n\n2.  Build the project:\n\n    ```bash\n    swift build -c release\n    ```\n\n3.  Install the binary:\n\n    ```bash\n    # Install to user directory (recommended, no sudo required)\n    mkdir -p ~/.local/bin\n    cp $(swift build -c release --show-bin-path)/memory-mcp-server ~/.local/bin/\n    ```\n\n    Make sure `~/.local/bin` is in your PATH by adding to your shell configuration file:\n\n    ```bash\n    echo 'export PATH=\"$HOME/.local/bin:$PATH\"' >> ~/.zshrc  # or ~/.bashrc\n    source ~/.zshrc  # or source ~/.bashrc\n    ```","tools":"## Available Tools\n\n1.  `Knowledge Graph Storage` (Maintain a persistent graph of entities and their relationships)\n2.  `Entity Management` (Create, retrieve, update, and delete entities with custom types)\n3.  `Relation Tracking` (Define and manage relationships between entities in active voice)\n4.  `Observation System` (Add and remove observations about entities over time)\n5.  `Powerful Search` (Find relevant nodes by name, type, or observation content)\n6.  `Persistent Storage` (Data persists between sessions in a simple JSON format)\n7.  `create_entities` (Create multiple new entities in the knowledge graph)\n8.  `create_relations` (Create multiple new relations between entities)\n9.  `add_observations` (Add new observations to existing entities)\n10. `delete_entities` (Delete multiple entities and their associated relations)\n11. `delete_observations` (Delete specific observations from entities)\n12. `delete_relations` (Delete multiple relations from the knowledge graph)\n13. `read_graph` (Read the entire knowledge graph)\n14. `search_nodes` (Search for nodes in the knowledge graph based on a query)\n15. `open_nodes` (Open specific nodes in the knowledge graph by their names)","faq":null,"created_at":"2025-03-19T05:03:01+00:00","updated_at":"2025-03-28T23:25:47+00:00","source_url":"https://model-context-protocol.com/servers/swift-knowledge-graph-mcp-server","related_articles":[]}