setup/vscode 1.00

An AI agent in VS Code that shows its work

The Open Context Engine extension puts an agent in the sidebar, grounded in a local index of your workspace — with a live plan, approvals before it acts, a review of what it changed, and checkpoints you can rewind. Using Copilot instead? Give its agent mode the same index over MCP.

Updated

The extension

The Open Context Engine sidebar in VS Code: a live plan, a sub-agent at work, and an edit waiting for approval
A plan, a sub-agent, and an edit waiting for your approval.
A finished agent turn listing the files it changed, with Diff, Get review and Undo all
Every turn ends with its changes: diff, review, undo.

It works with OpenAI, Anthropic, Google, Ollama or any OpenAI-compatible endpoint. Indexing is local; with Ollama and local embeddings, nothing leaves the machine.

GitHub Copilot agent mode, over MCP

If Copilot is your agent, give it Open Context Engine's tools instead. From the project root:

npm install -g @dhaxor/open-context
oce mcp install vscode

That merges a server into .vscode/mcp.json, the workspace file VS Code reads:

{
  "servers": {
    "open-context": {
      "type": "stdio",
      "command": "oce",
      "args": ["mcp", "--workspace", "${workspaceFolder}"]
    }
  }
}

Commit it to share the setup with your team. For every workspace instead, oce mcp install vscode --scope user runs code --add-mcp for you. With the extension installed, Open Context: Set Up MCP for Another Tool… in the Command Palette does the same.

Then open Copilot Chat in agent mode and check the tools picker: the open-context tools — codebase-retrieval, repo-map, symbol definitions and references — are listed and can be toggled.

Requirements

Setting up a different client? Claude Code · Cursor · Windsurf · Claude Desktop. What changed in each release is in the changelog.