Skip to content
VS Code

memwright for VS Code

io.github.bolnet/memwright

Embedded memory for AI agents with SQLite, pgvector, and Neo4j graph search.

client:VS Code transport:stdio runtime:pypi

Install memwright in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "pg-connection-string",
      "description": "PG_CONNECTION_STRING",
      "password": true
    },
    {
      "type": "promptString",
      "id": "neo4j-password",
      "description": "NEO4J_PASSWORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "openrouter-api-key",
      "description": "OPENROUTER_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "openai-api-key",
      "description": "OPENAI_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "memwright": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "memwright"
      ],
      "env": {
        "PG_CONNECTION_STRING": "${input:pg-connection-string}",
        "NEO4J_PASSWORD": "${input:neo4j-password}",
        "OPENROUTER_API_KEY": "${input:openrouter-api-key}",
        "OPENAI_API_KEY": "${input:openai-api-key}"
      }
    }
  }
}

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

memwright in other clients