AgentVault

docs / mcp

MCP clients

Add AgentVault once and every MCP client shares the same memory: remember, recall, search, forget and list_spaces.

How it works

The API serves MCP over Streamable HTTP at /mcp. Authenticate with an API key; the client’s name (for example claude-code) is recorded as the writer of every memory it saves.

Tools

remember · recall · search · list_memories · get_memory · update_memory · forget · list_spaces. The server also tells the agent to recall at the start of a task and to remember durable facts, never secrets.

Claude app (claude.ai and Claude Desktop)

Settings → Connectors → Add custom connector. Name it AgentVault and paste your connector URL. It carries your API key, so treat it like a password; revoke the key in the console to cut access.

connector URL
https://api.useagentvault.com/mcp/$AGENTVAULT_API_KEY

Claude Code

terminal
claude mcp add --transport http agentvault https://api.useagentvault.com/mcp \
  --header "Authorization: Bearer $AGENTVAULT_API_KEY"

Claude Desktop

Settings → Developer → Edit config (claude_desktop_config.json):

claude_desktop_config.json
{
  "mcpServers": {
    "agentvault": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://api.useagentvault.com/mcp", "--header", "Authorization: Bearer $AGENTVAULT_API_KEY"]
    }
  }
}

Cursor and Windsurf

~/.cursor/mcp.json or ~/.codeium/windsurf/mcp_config.json:

mcp.json
{
  "mcpServers": {
    "agentvault": {
      "url": "https://api.useagentvault.com/mcp",
      "headers": { "Authorization": "Bearer $AGENTVAULT_API_KEY" }
    }
  }
}

VS Code / GitHub Copilot

.vscode/mcp.json
{
  "servers": {
    "agentvault": {
      "type": "http",
      "url": "https://api.useagentvault.com/mcp",
      "headers": { "Authorization": "Bearer $AGENTVAULT_API_KEY" }
    }
  }
}