Automatic install support
npx githits@latest init supports automatic install for Claude Code, Cursor, Windsurf, VS Code / Copilot, Cline, Claude Desktop, Codex CLI, Pi, Gemini CLI, Google Antigravity, OpenCode, Zed, Junie, Qwen Code, Kiro, Kilo Code, Factory Droid, and Amazon Q CLI.
What gets configured
GitHits adds a local MCP server entry that starts the CLI on demand:Guided MCP setup (default)
Interactivegithits init defaults to the recommended Install GitHits MCP + supporting instructions path. In addition to the MCP server entry above, guided setup installs a small amount of supporting context so agents know when to reach for GitHits:
githits-mcpskill — aSKILL.mdfile describing when to prefer GitHits over model memory or generic search, and which tool to pick for docs, source, package metadata, vulnerabilities, changelogs, and cross-project examples. It is copied into the selected tool’s skills folder (for example.claude/skills/githits-mcp/,.cline/skills/githits-mcp/, or.agents/skills/githits-mcp/when the tool loads shared Agent Skills).- Managed instruction block — a single short paragraph inserted between
<!-- githits -->markers in the appropriate instruction file for your tool (for exampleAGENTS.md,CLAUDE.md, orGEMINI.md). Reruns replace only the content between the markers, so it stays idempotent and easy to remove.
--no-guidance to install the plain MCP server only, or pick Install plain GitHits MCP at the interactive prompt: