What is Memory MCP 服务器?
Memory MCP 服务器 is a knowledge graph management server based on the MCP Servers memory implementation. It supports multiple startup modes—interactive, command line, and JSON configuration—and offers complete knowledge graph operations along with experimental short story generation tied to the graph's context. It is intended for developers or users who need a self-hosted, persistent knowledge graph accessible through the Model Context Protocol.
How to use Memory MCP 服务器?
Run the executable directly for interactive setup (it prompts for port and memory file path), or use command‑line arguments like --port 8080 --memory-path ./memory.json. You can also pipe a JSON‑RPC configuration string (method start with params) to start the server, or use method help to get usage info. The server listens on port 8080 by default and persists data to ./memory.json (configurable via the memory_path parameter).
Key features of Memory MCP 服务器
- Multiple startup modes: interactive, command line, and JSON configuration
- Supports MCP tools, resources, and sampling protocols
- Automatic data persistence in JSON lines format
- Complete knowledge graph entity and relation management
- Experimental short story generation based on graph context
- Flexible port and memory file path configuration
Use cases of Memory MCP 服务器
- Manage a local knowledge graph with entities, relations, and observations
- Serve graph data to MCP‑compatible clients via tools and resource endpoints
- Generate narrative stories that reflect the knowledge graph's current topics
- Automate graph creation and manipulation through command line or config files
- Integrate with other MCP servers that consume or query knowledge graphs
Comments