Skip to content
VS Code

Ratary Memory MCP for VS Code

io.github.ontorata/ratary

Persistent coding memory for AI assistants. MCP stdio, hybrid search, graph, context.

client:VS Code transport:stdio runtime:npm

Install Ratary Memory MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "ratary-api-key",
      "description": "RATARY_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ratary-base-url",
      "description": "RATARY_BASE_URL",
      "password": true
    }
  ],
  "servers": {
    "ratary": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ratary/mcp-server"
      ],
      "env": {
        "RATARY_API_KEY": "${input:ratary-api-key}",
        "RATARY_BASE_URL": "${input:ratary-base-url}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Ratary Memory MCP in other clients