Verified MCP Host Presets & Setup Guides
1-command configuration and auto-detected setup paths across Cursor, Claude Code, VS Code, Google Antigravity, Windsurf, Zed, and Goose.
Overview
Configure Vivechak as an MCP server in your AI host.
Vivechak is a **universal Model Context Protocol (MCP) server**. It communicates over standard `stdio` using JSON-RPC 2.0. Any IDE, agent CLI, or runtime that supports the open MCP standard can connect to Vivechak out of the box.
**💡 Shorthand CLI Alias (`vck`):** Vivechak installs the official 3-letter shorthand **`vck`** alongside `vivechak`. Both names are 100% identical and interchangeable across all subcommands (`vck setup`, `vck mcp-config`, `vck version`, `vck doctor`, `vck gate`, `vck serve`).
Quick Host Setup (`vck setup`)
The fastest way to configure your AI host is the streamlined **`setup`** subcommand (aliased as `install`):
# Configure any supported desktop host or harness in 1 second:
vck setup cursor # Cursor IDE
vck setup vscode # VS Code (Copilot Agent mode)
vck setup claude # Claude Desktop
vck setup agy # Google Antigravity (IDE, 2.0, CLI)
# Inside a project with an active host folder (.cursor, .agents, .vscode, .roo, etc.):
vck setup # Auto-detects workspace host!
# Target any custom JSON file or folder directly (folders auto-target <dir>/mcp.json):
vck setup /path/to/mcp-settings.json
vck setup /path/to/my-agent-folder
# Preview changes without modifying files:
vck setup cursor --dry-run
`vck setup` automatically resolves the target configuration file, detects whether global or workspace scope is active, formats Windows/macOS/Linux paths cleanly, and merges the Vivechak MCP server block without overwriting existing servers.
### Universal Agent Skill (`npx skills add`) For agent harnesses that support decentralized skills (Claude Code, Cursor, Antigravity, OpenCode), install Vivechak's skill directly:
npx skills add bhaskarjha-dev/vivechak
This automatically installs the calibrated agent playbook (`skills/vivechak/SKILL.md`) into your workspace or global skill catalog.
### Smithery CLI (`@smithery/cli`) If you use [Smithery.ai](https://smithery.ai) for automatic MCP client discovery and installation:
npx -y @smithery/cli install @bhaskarjha-dev/vivechak --client cursor
# Or for Claude Desktop:
npx -y @smithery/cli install @bhaskarjha-dev/vivechak --client claude
### Native MCP Prompts & Slash Commands Once Vivechak is connected, typing `/` in compatible chat clients (Antigravity IDE, Cursor, Claude Desktop, Continue, Zed) reveals 4 native prompt templates (in Claude Code, they appear as `/mcp__vivechak__`):
- `/compare`: Interactive brief for 2–5 option comparisons (~5 min, WEP matrix).
- `/decision`: Interactive brief for resolving an architectural dilemma (~30 min, ADR).
- `/project`: Interactive brief for decomposing a greenfield system into an adaptive DAG to a FAD.
- `/gate`: Pre-codebase exit criteria evaluation checklist.
### Pre-Packaged Editor Rules Pre-configured rules are available in `templates/rules/`:
- Cursor: `templates/rules/cursor.mdc` (copy to `.cursor/rules/vivechak.mdc`)
- Claude Code: `templates/rules/claude.md` (copy to `.claude/rules/vivechak.md` or append to `CLAUDE.md`)
- Google Antigravity: `templates/rules/antigravity.md` (copy to `.agents/rules/vivechak.md`)
Universal Setup & Manual Configuration
### Universal MCP JSON (`vck mcp-config`)
To generate the exact JSON snippet containing the absolute path of your current binary (for any host or agent that supports standard MCP), run:
vck mcp-config
Output:
{
"mcpServers": {
"vivechak": {
"command": "/usr/local/bin/vivechak",
"args": ["serve"]
}
}
}
#### Ephemeral Runners (Zero Local Binary Installation)
If you prefer not to install the binary onto your system `$PATH`, configure any host to run Vivechak on the fly via `npx`, `uvx`, or Docker:
**Via `npx` (Node.js):**
{
"mcpServers": {
"vivechak": {
"command": "npx",
"args": ["-y", "vivechak", "serve"]
}
}
}
**Via `uvx` (Python):**
{
"mcpServers": {
"vivechak": {
"command": "uvx",
"args": ["vck", "serve"]
}
}
}
**Via Docker (Containers / Cloud Agent Sandboxes)** — replace `:` with the output of `echo "$(id -u):$(id -g)"`:
{
"mcpServers": {
"vivechak": {
"command": "docker",
"args": ["run", "-i", "--rm", "--user", "<uid>:<gid>", "-e", "VIVECHAK_PROJECT_ROOT=/workspace", "-v", "${workspaceFolder}:/workspace", "ghcr.io/bhaskarjha-dev/vck:latest", "serve"]
}
}
}
### Supported Desktop Hosts & Harness Presets
Each preset writes the file and key that the host's own documentation names (the documentation URL is next to each preset in `cmd/vivechak/presets.go`).
| Environment / Harness | Fast Setup Command | Preset Shortcut | Default Config Location | Schema Key |
|---|---|---|---|---|
| **Cursor** | `vck setup cursor` | `cursor` | `~/.cursor/mcp.json` (global) or `.cursor/mcp.json` (workspace) | `mcpServers` |
| **VS Code** | `vck setup vscode` | `vscode` | `.vscode/mcp.json` (workspace; legacy file, see [VS Code](#vs-code)) | `servers` |
| **Claude Desktop** | `vck setup claude` | `claude`, `claude-desktop` | `claude_desktop_config.json` (OS-specific application storage) | `mcpServers` |
| **Claude Code** | `vck setup claude-code` | `claude-code`, `claudecode` | `~/.claude.json` (global) or `.mcp.json` (workspace) | `mcpServers` |
| **OpenCode** | `vck setup opencode` | `opencode`, `open-code` | `opencode.json` or `.opencode/opencode.json` (workspace), or `~/.config/opencode/opencode.json` | `mcp` |
| **Block Goose** | `vck setup goose` | `goose`, `block-goose` | `~/.config/goose/config.yaml` (or `%APPDATA%\Block\goose\config\config.yaml`) | `extensions` |
| **Windsurf** | `vck setup windsurf` | `windsurf` | `~/.codeium/windsurf/mcp_config.json` (discovery file, see [Windsurf](#windsurf)) | `mcpServers` |
| **Google Antigravity** | `vck setup agy` | `agy`, `antigravity` | `~/.gemini/config/mcp_config.json` (global) or `.agents/mcp_config.json` (workspace) | `mcpServers` |
| **Zed Editor** | `vck setup zed` | `zed` | `~/.config/zed/settings.json` (or `%APPDATA%\Zed\settings.json`) | `context_servers` |
| **Roo Code (VS Code)** | `vck setup roo` | `roo` | `.roo/mcp.json` (workspace) | `mcpServers` |
**Hosts without a preset** (for example Cline, Kiro, Continue, Trae, GitHub Copilot CLI, OpenHands, Factory Droid, Devin): find the MCP config file in the host's own documentation and run `vck setup `; Vivechak merges its entry into that file under the `mcpServers` key (or the key the file already uses).
*(The legacy syntax `vck mcp-config --preset --write` and `vck mcp-config --path --write` remains 100% backward-compatible for scripts and automation).*
**Protocol Neutrality Note:** These presets are strictly convenience shortcuts for filesystem path resolution across macOS, Windows, and Linux. At runtime, every MCP harness and editor interacts with Vivechak through the exact same JSON-RPC 2.0 wire protocol over `stdio`.
Desktop IDE Quick Reference
The following subsections document the default locations and shortcut commands for desktop editors:
### Cursor
#### Automatic
vck setup cursor
# or: vivechak mcp-config --preset cursor --write
#### Manual Edit `~/.cursor/mcp.json` (or `.cursor/mcp.json` in your workspace):
{
"mcpServers": {
"vivechak": {
"command": "/usr/local/bin/vivechak",
"args": ["serve"],
"env": {
"VCK_PROJECT_ROOT": "${workspaceFolder}"
}
}
}
}
**Automatic Workspace Injection:** Running `vck setup cursor` automatically configures `"env": { "VCK_PROJECT_ROOT": "${workspaceFolder}" }`, ensuring Cursor dynamically resolves your active workspace root without manual configuration.
| OS | Config Path |
|---|---|
| macOS | `~/.cursor/mcp.json` |
| Linux | `~/.cursor/mcp.json` |
| Windows | `%USERPROFILE%\.cursor\mcp.json` |
### VS Code
Native VS Code (via GitHub Copilot Agent mode) discovers MCP servers defined in your project's `.vscode/mcp.json`. Note that **native VS Code uses the `"servers"` key** rather than `"mcpServers"`.
**Legacy file:** `vck setup vscode` writes `.vscode/mcp.json`, which VS Code's [MCP configuration reference](https://code.visualstudio.com/docs/copilot/reference/mcp-configuration) documents as deprecated (the Local harness that reads it is to be removed in February 2027). VS Code's native Copilot files are `~/.copilot/mcp-config.json` and a workspace-root `.mcp.json`, both with the `mcpServers` key; write them with `vck setup <path>`.
#### Automatic
vck setup vscode
# or: vivechak mcp-config --preset vscode --write
#### Manual Edit `.vscode/mcp.json` in your workspace root:
{
"servers": {
"vivechak": {
"command": "/usr/local/bin/vivechak",
"args": ["serve"],
"env": {
"VCK_PROJECT_ROOT": "${workspaceFolder}"
}
}
}
}
**Automatic Workspace Injection:** Running `vck setup vscode` automatically injects `"env": { "VCK_PROJECT_ROOT": "${workspaceFolder}" }`, ensuring VS Code expands the macro to your active workspace folder.
**Note for Extension Users (Cline, Roo Code, Continue):** If you use VS Code extensions like Cline or Roo Code, they use the generic `"mcpServers"` format in their extension settings tabs. You can paste the output of `vck mcp-config` directly into their MCP settings panel.
### Claude Desktop
#### Automatic
vck setup claude
# or: vivechak mcp-config --preset claude-desktop --write
#### Manual Edit `claude_desktop_config.json`:
{
"mcpServers": {
"vivechak": {
"command": "/usr/local/bin/vivechak",
"args": ["serve"]
}
}
}
| OS | Config Path |
|---|---|
| macOS | `~/Library/Application Support/Claude/claude_desktop_config.json` |
| Windows | `%APPDATA%\Claude\claude_desktop_config.json` |
| Linux | `~/.config/Claude/claude_desktop_config.json` |
**⚠️ macOS Note:** Claude Desktop runs as a GUI application with a truncated `$PATH` (`/usr/bin:/bin:/usr/sbin:/sbin`). The `command` field **must** use an absolute path to the Vivechak binary. Running `vck setup claude` handles this automatically.
### Windsurf
#### Automatic
vck setup windsurf
# or: vivechak mcp-config --preset windsurf --write
**Discovery file:** `vck setup windsurf` writes `~/.codeium/windsurf/mcp_config.json`. Per the [Windsurf (Devin) MCP docs](https://docs.devin.ai/windsurf/plugins/cascade/mcp), the editor reads that file only when its `chat.mcp.discovery.enabled` setting includes the `windsurf` source; Cascade's own MCP file is now `~/.config/devin/mcp_config.json` (Windows: `%AppData%\devin\mcp_config.json`), which you can write with `vck setup <path>`.
#### Manual Edit `~/.codeium/windsurf/mcp_config.json`:
{
"mcpServers": {
"vivechak": {
"command": "/usr/local/bin/vivechak",
"args": ["serve"],
"env": {
"VCK_PROJECT_ROOT": "${workspaceFolder}"
}
}
}
}
**Automatic Workspace Injection:** Running `vck setup windsurf` automatically injects `"env": { "VCK_PROJECT_ROOT": "${workspaceFolder}" }`.
| OS | Config Path |
|---|---|
| macOS | `~/.codeium/windsurf/mcp_config.json` |
| Linux | `~/.codeium/windsurf/mcp_config.json` |
| Windows | `%USERPROFILE%\.codeium\windsurf\mcp_config.json` |
**Tip:** After editing the configuration, click the **Refresh** button in Windsurf's Cascade MCP panel to load the server.
### Google Antigravity (Antigravity IDE, Antigravity 2.0, & Antigravity CLI `agy`)
Antigravity discovers MCP servers via **`mcp_config.json`**. This single configuration is shared seamlessly across all Antigravity surfaces:
- Antigravity IDE : Standalone in-editor AI pair programmer (VS Code-based).
- Antigravity 2.0 : The desktop application (chat canvas, agent orchestrator).
- Antigravity CLI (`agy`) : The lightweight terminal interface / TUI.
#### Automatic Setup Run either shortcut (both `vck setup agy` and `vck setup antigravity` are supported):
vck setup agy
# or: vivechak mcp-config --preset antigravity --write
*Writes to `~/.gemini/config/mcp_config.json` (global, available across all projects and CLI sessions) or `.agents/mcp_config.json` if run inside a project with an `.agents/` directory.*
#### Antigravity CLI (`agy`) Native Command You can also register Vivechak directly via the `agy` CLI command:
agy mcp add vivechak /path/to/vivechak
*(Or inspect configured servers in `agy` via `agy mcp list`, or press `/mcp` inside the interactive TUI).*
#### Manual JSON Configuration Add Vivechak to `~/.gemini/config/mcp_config.json` (global) or `/.agents/mcp_config.json` (workspace):
{
"mcpServers": {
"vivechak": {
"command": "/usr/local/bin/vivechak",
"args": ["serve"]
}
}
}
| Scope | Location | Applies To |
|---|---|---|
| **Global** | `~/.gemini/config/mcp_config.json` | All Antigravity surfaces (IDE, 2.0, CLI `agy`) across all projects |
| **Workspace** | `.agents/mcp_config.json` | Project-specific workspace |
**Tip:** In Antigravity IDE or Antigravity 2.0, you can verify active MCP servers anytime in the chat panel via **"..." (More Options) > "Manage MCP Servers" > "View raw config"**. Inside the `agy` terminal, use `/mcp` or `agy mcp list`. **Workspace Location Best Practice:** When prompting agents in IDE environments, ensure agents pass `project_root` explicitly if needed (or configure `"env": { "VCK_PROJECT_ROOT": "${workspaceFolder}" }` or `"VIVECHAK_PROJECT_ROOT"`). Vivechak includes active guards against host CWD inheritance and rejects any attempts to initialize workspaces inside application program folders (`AppData\Local\Programs\...`).
### Zed Editor
Zed supports MCP natively via its Assistant panel and sandboxes MCP servers. Zed uses the **`"context_servers"`** configuration key.
#### Automatic
vck setup zed
# or: vivechak mcp-config --preset zed --write
#### Manual Edit `settings.json` (accessible via Command Palette: `zed: open settings`):
{
"context_servers": {
"vivechak": {
"command": "/usr/local/bin/vivechak",
"args": ["serve"]
}
}
}
| OS | Config Path |
|---|---|
| macOS | `~/.config/zed/settings.json` |
| Linux | `~/.config/zed/settings.json` |
| Windows | `%APPDATA%\Zed\settings.json` |
### Roo Code (VS Code Extension)
Roo Code reads project-level MCP servers from `.roo/mcp.json` in your project root:
vck setup roo
# or: vivechak mcp-config --preset roo --write
*Writes `.roo/mcp.json` in the current directory. Roo Code's global `mcp_settings.json` is opened from its MCP settings view; to write it, run `vck setup `.*
### Other Hosts (No Preset)
Cline, AWS Kiro, ByteDance Trae, Oh My Pi, OpenHands, Factory Droid, Cognition Devin, Continue.dev, Void and GitHub Copilot CLI have no `vck setup` preset, because their config locations were not verified against their own documentation. Find the MCP config file in the host's documentation and run:
vck setup <path-to-its-mcp-config>
# or: vivechak mcp-config --path <path-to-its-mcp-config> --write
Hosts with their own MCP command can also register Vivechak directly (see [CLI-Native Agent Harnesses](#cli-native-agent-harnesses)).
### Claude Code
Claude Code supports user-global settings in `~/.claude.json` as well as project-level `.mcp.json`. `vck setup` automatically merges the Vivechak MCP server while strictly preserving user state, tokens, and active sessions:
vck setup claude-code
### OpenCode
OpenCode terminal agent uses `opencode.json` with the specialized `"mcp"` key and array-style execution commands:
vck setup opencode
### Block Goose
Block Goose orchestrates stdio extensions via YAML in `~/.config/goose/config.yaml`. `vck setup` safely merges the extension into Goose's configuration without disturbing existing settings:
vck setup goose
### CLI-Native Agent Harnesses
For terminal agents with built-in MCP management commands, you can register Vivechak directly without manually touching configuration files:
- Claude Code :
```sh claude mcp add vivechak -- /path/to/vivechak serve ```
- xAI Grok Build :
```sh grok mcp add vivechak -- /path/to/vivechak serve ```
- GitHub Copilot CLI :
```sh copilot mcp add vivechak /path/to/vivechak serve ```
- Block Goose :
```sh goose configure # Select stdio -> name: vivechak -> command: /path/to/vivechak -> args: serve ```
- Sourcegraph Amp :
```sh amp mcp add vivechak /path/to/vivechak ```
Graphical & Interactive Settings
For clients or applications that configure MCP servers through an interactive settings interface (such as desktop AI apps or custom agent dashboards), add the server directly via their configuration panel:
- Name: `vivechak`
- Command: Absolute path to `vivechak` (run `vck mcp-config` to output the exact binary path)
- Arguments: `serve`
- Transport: `stdio`
Windows Configuration
On Windows, use escaped backslashes (`\\`) in configuration files:
{
"mcpServers": {
"vivechak": {
"command": "C:\\Users\\you\\AppData\\Local\\Programs\\vivechak\\vivechak.exe",
"args": ["serve"]
}
}
}
The `vck setup` (and `vck mcp-config --write`) command automatically detects and formats Windows paths correctly.
Troubleshooting & Diagnostics
### Binary Not Found Make sure the `command` field uses an **absolute path**. GUI applications on macOS do not inherit terminal `$PATH`.
### Verify Installation & Workspace
vck version
vck doctor /path/to/your/project
vck gate /path/to/your/project
### Test MCP Connection Interactively Verify that the Vivechak MCP server responds over stdio using the official MCP Inspector:
npx @modelcontextprotocol/inspector vck serve