Skip to content
VS Code

threadctx mcp for VS Code

io.github.threadctx-dev/threadctx-mcp

Shared memory MCP server for AI coding agents — local by default, team-shared via threadctx.dev.

client:VS Code transport:stdio runtime:npm

Install threadctx mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "threadctx-mode",
      "description": "THREADCTX_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "threadctx-api-key",
      "description": "THREADCTX_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "threadctx-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "threadctx-mcp"
      ],
      "env": {
        "THREADCTX_MODE": "${input:threadctx-mode}",
        "THREADCTX_API_KEY": "${input:threadctx-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

threadctx mcp in other clients