Getting Started
@memsolus/mcp is the official MCP (Model Context Protocol) server for Memsolus. It gives Claude and other MCP-compatible agents direct access to 17 memory tools — no code required on your end.
Requirements: Node.js 18+ or Bun 1.0+. A Memsolus API key.
Install
Run the MCP server on demand with npx — no global install needed:
Or with Bun:
For agents that need a persistent process, install it globally:
Configure environment variables
The MCP server is configured entirely via environment variables. You will need your API key at minimum.
| Variable | Required | Default | Description |
|---|---|---|---|
MEMSOLUS_API_KEY | Yes | — | Your API key (msk_live_... or msk_test_...) |
MEMSOLUS_WORKSPACE_ID | No | — | Default workspace UUID. When set, all operations scope to this workspace automatically. |
Get your API key from the Memsolus dashboard. For a general-purpose agent, the key needs at minimum:
memory.readmemory.writeknowledge.read
Add memory.delete if you want the agent to remove memories.
Connect to Claude
Add the MCP server to your agent's configuration file.
Claude Desktop
Open ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows) and add:
Claude Code
Add to your project's .claude/settings.json or mcp.json:
Alternatively, register via the Claude CLI:
Bun runner
Replace "command": "npx" and "args": ["-y", "@memsolus/mcp"] with:
Verify the connection
Restart Claude Desktop (or reload your agent) after saving the configuration file.
Then ask Claude:
"What Memsolus tools do you have access to?"
Claude should list the 17 available tools. To confirm the connection works end-to-end:
"Store a test memory: 'MCP server is working'."
Claude will call add_memory and confirm the memory was stored.
What Claude can do with Memsolus
Once connected, Claude has access to 17 tools organized in four categories:
| Category | Tools | What it enables |
|---|---|---|
| Memory Management | 9 | Store, search, list, update, delete, promote, and review the history of memories |
| Knowledge | 2 | Load the consolidated knowledge profile for a user |
| Graph | 3 | Search entities, traverse relationships, and ask natural language questions |
| Utilities | 3 | Dashboard statistics, user profiles, entity discovery |
See Tools Reference for the complete list with parameters and examples.
Tools Reference
All 17 tools with parameters, descriptions, and example responses.
→plugIntegrations
Claude Desktop, Claude Code, Cursor, HTTP mode, and troubleshooting.
→codeTypeScript SDK
Programmatic access for applications and scripts.
→keyAPI Authentication
Creating API keys with the right permissions.
→