Skip to content

Installation

On first run, Playwright's chromium-headless-shell (~30 MB) is downloaded — CodeWiki is an Angular SPA and a plain HTTP request returns an empty shell, so a real browser is required. On the first find_chunks call, the ONNX embedder + reranker models (~50 MB combined) are downloaded. Both are one-time, persistently cached.

You don't run codewikitap directly — your agent launches it as a child process.

Requirements

Minimum
Node.js22.5.0
OSmacOS, Linux, Windows
Disk~150 MB (Playwright shell + ONNX models + index cache)
NetworkFirst-run only (Playwright + models); subsequent queries are local until the 24h SHA probe runs
bash
npx codewikitap install

The wizard prompts for target and scope, shows a diff if an existing entry would be overwritten, and writes the appropriate config file atomically with a .bak backup.

For scripted / CI use, all questions are flag-overridable:

bash
npx codewikitap install --target=claude-code --scope=user --yes
npx codewikitap install --target=cursor --scope=project --dry-run    # preview only

Available --target IDs: claude-code, cursor, vscode, codex-cli, gemini-cli, qwen-code, opencode, windsurf, antigravity. Available --scope values: project, user (some targets are user-only — the wizard auto-resolves).

Alternative installation methods

AgentMethodPath
Claude CodePlugin marketplace/plugin marketplace add burakarslan0110/codewikitap-mcp/plugin install codewikitap@burakarslan0110-codewikitap
Claude CodeManual JSON~/.claude/mcp.json or project .mcp.json
CursorManual JSON~/.cursor/mcp.json or <project>/.cursor/mcp.json
VS CodeManual JSON<project>/.vscode/mcp.json or platform-aware user dir (Linux ~/.config/Code/User/mcp.json, macOS ~/Library/Application Support/Code/User/mcp.json, Windows %APPDATA%\Code\User\mcp.json)
Codex CLIManual TOML~/.codex/config.toml
Gemini CLIManual JSON~/.gemini/settings.json
Qwen CodeManual JSON~/.qwen/settings.json or project equivalent
opencodeManual JSONopencode.json or ~/.config/opencode/opencode.json
WindsurfManual JSON~/.codeium/windsurf/mcp_config.json
AntigravityManual JSON~/.gemini/antigravity/mcp_config.json

The interactive wizard above is recommended — it handles diff, backup, and atomic-write for you. Manual blocks below for reference.

Claude Code

~/.claude/mcp.json (user-level) or .mcp.json at the project root:

json
{
  "mcpServers": {
    "codewikitap": {
      "command": "npx",
      "args": ["-y", "codewikitap"]
    }
  }
}

Or via the Claude plugin marketplace:

text
/plugin marketplace add burakarslan0110/codewikitap-mcp
/plugin install codewikitap@burakarslan0110-codewikitap

Cursor

~/.cursor/mcp.json or <project>/.cursor/mcp.json — same JSON shape as Claude Code.

VS Code

<project>/.vscode/mcp.json (workspace) or VS Code's user data dir (MCP: Open User Configuration from the Command Palette). VS Code uses servers.<name> (NOT mcpServers) and each stdio entry takes a type discriminator:

json
{
  "servers": {
    "codewikitap": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "codewikitap"]
    }
  }
}

User-scope path varies by OS: ~/.config/Code/User/mcp.json on Linux (honors XDG_CONFIG_HOME), ~/Library/Application Support/Code/User/mcp.json on macOS, %APPDATA%\Code\User\mcp.json on Windows. The npx codewikitap install --target=vscode wizard handles all three automatically.

Codex CLI

~/.codex/config.toml:

toml
[mcp_servers.codewikitap]
command = "npx"
args = ["-y", "codewikitap"]

Gemini CLI

~/.gemini/settings.json under mcpServers — identical shape to Claude Code.

Qwen Code

~/.qwen/settings.json or <project>/.qwen/settings.json — same JSON shape as Claude Code.

opencode

opencode.json (project) or ~/.config/opencode/opencode.json (user). opencode uses mcp.<name> (not mcpServers) and each entry needs a type discriminator:

json
{
  "mcp": {
    "codewikitap": {
      "type": "local",
      "command": "npx",
      "args": ["-y", "codewikitap"]
    }
  }
}

Windsurf

~/.codeium/windsurf/mcp_config.json — same JSON shape as Claude Code. User scope only (no per-project config path documented upstream).

Antigravity

~/.gemini/antigravity/mcp_config.json — same JSON shape as Claude Code. User scope only.

Supported project types

CodeWikiTap reads your manifest to learn what your project actually depends on. Nine ecosystems are supported out of the box, with workspace traversal where applicable. Fifteen distinct manifest parsers cover them:

EcosystemManifestWorkspace / extras
JavaScript / TypeScriptpackage.jsonnpm/pnpm/yarn workspaces, pnpm-workspace.yaml
Pythonrequirements.txt, pyproject.tomlPEP 621 + Poetry
Gogo.mod, go.workfull workspace awareness
RustCargo.toml[workspace] members (literal + glob)
PHPcomposer.jsonplatform packages auto-filtered
Java (Maven)pom.xmlfull property resolution + recursive cycle-safe BOM imports + <parent> POM + <modules> aggregator traversal
Java (Gradle)gradle/libs.versions.tomlsettings.gradle(.kts) subproject discovery + per-subproject build.gradle(.kts) parsing
RubyGemfile.lock (preferred)Gemfile regex fallback
.NET*.csproj + Directory.Packages.propsCPM + *.sln-driven discovery

Saying "react" in chat is enough — the resolver maps it to facebook/react. Maven Central, RubyGems, NuGet, crates.io, Packagist, and the npm registry are all integrated.

Verifying it works

After installation, restart your agent and ask:

Which of my dependencies have CodeWiki coverage?

The agent should call list_project_dependencies automatically and respond with a per-dependency coverage report. If you see "no MCP server registered," the config file was written but the agent didn't reload — restart the agent.

For troubleshooting (cold-start errors, -32000, missing prebuilts), see Configuration → Troubleshooting.


Next: Architecture — how it works under the hood.