Skip to content
VS Code

contextforge mcp for VS Code

io.github.alfredoizdev/contextforge-mcp

Persistent memory MCP server for Claude Code, Cursor, and GitHub Copilot.

client:VS Code transport:stdio runtime:npm

Install contextforge mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "contextforge-api-key",
      "description": "CONTEXTFORGE_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "contextforge-api-url",
      "description": "CONTEXTFORGE_API_URL",
      "password": true
    }
  ],
  "servers": {
    "contextforge-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "contextforge-mcp"
      ],
      "env": {
        "CONTEXTFORGE_API_KEY": "${input:contextforge-api-key}",
        "CONTEXTFORGE_API_URL": "${input:contextforge-api-url}"
      }
    }
  }
}

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

contextforge mcp in other clients