Skip to main content
DOCS

VS Code extension

One-click OAuth connect, an @codata chat participant, and MCP config written for you.

Codata for VS Code

The Codata extension (codata.codata-mcp) is the fastest way to connect your editor to Codata. No JSON files to edit, no terminal — just click Connect.

Install

  1. Open the Extensions view (⌘⇧X on macOS, Ctrl+Shift+X on Windows/Linux)
  2. Search for Codata
  3. Click Install

Or install from the command line:

code --install-extension codata.codata-mcp

Connect

  1. Click Codata: Disconnected in the status bar (bottom-right)
  2. Your browser opens for OAuth login — approve access
  3. The extension writes .vscode/mcp.json for you
  4. Copilot Chat immediately has access to Codata tools

Tokens are stored in your OS keychain and auto-refresh.

Chat participant

Use @codata in Copilot Chat:

@codata select
Set the active workspace, used as the default for subsequent commands.
@codata list
List all your workspaces.
@codata show
Show workspace details, assets, and endpoints.
@codata new
Create a new workspace from a description.
@codata scaffold
Generate a typed API client for a workspace.
@codata openapi
Display the OpenAPI spec for a workspace.
@codata branch
Manage workspace branches — list, create, delete.
@codata status
Show your account info and plan.

Command palette

Codata: Connect to MCP Server
Initiate OAuth login (opens browser).
Codata: Disconnect from MCP Server
Revoke tokens and remove config.
Codata: Show Connection Status
Display current auth status.
Codata: Scaffold API Client
Generate a typed client from a workspace spec.
Codata: Install Integration into Project
Add the SDK plus code samples to the current project.

Prefer manual setup? You can also paste .vscode/mcp.json by hand — see MCP setup — or use the CLI: npx @codata-io/cli init.