> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nika.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Use Nika with VS Code and Copilot

> One command writes a repo-local .vscode/mcp.json for VS Code and Copilot agent mode — plus the marketplace extension with LSP and DAG canvas.

One command, or one click — binary first
(`brew install supernovae-st/tap/nika` ·
[other paths](https://docs.nika.sh/getting-started/installation.md)):

```sh theme={"system"}
nika wire vscode
```

[![Install in VS Code](https://img.shields.io/badge/VS_Code-install%20nika%20mcp-0098FF?logo=githubcopilot)](https://insiders.vscode.dev/redirect/mcp/install?name=nika\&config=%7B%22command%22%3A%20%22nika%22%2C%20%22args%22%3A%20%5B%22mcp%22%5D%7D)

## What it writes

`.vscode/mcp.json` in the current repo (`--dir` picks another workspace) —
VS Code's own MCP file, `servers` key, `stdio` type. Idempotent; unrelated
servers survive. The same block by hand:

```json theme={"system"}
{ "servers": { "nika": { "type": "stdio", "command": "nika", "args": ["mcp"] } } }
```

## The rest of the VS Code surface

* The [marketplace extension](https://marketplace.visualstudio.com/items?itemName=supernovae.nika)
  — DAG canvas, preflight and diagnostics from the `nika lsp` it runs.

  > [!WARNING]
  >
  > The editor extension, frozen at 0.120 and not qualified with 0.124: use `nika lsp` and the JSON Schema
  > ([editor setup](https://docs.nika.sh/getting-started/editors.md)). If you keep the extension, set
  > its `nika.server.path` setting to your installed `nika`, and if the
  > editor and the command line disagree, trust `nika check`
  > ([known limits](https://docs.nika.sh/changelog/known-limits.md)).
* `nika init` writes `.github/copilot-instructions.md` and the
  `.vscode/settings.json` schema mapping (validation + completion in any
  YAML-aware editor).

## Verify

Open Copilot's agent-mode tools list — the nine `nika_*` tools appear
([the oracle's contract](https://docs.nika.sh/reference/mcp-server.md)). Then prove the loop
end-to-end: [integrate in 10 minutes](https://docs.nika.sh/integrations/quickstart.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.