GitHits connects to Cursor through the Model Context Protocol (MCP), giving your AI agent access to real open-source context as you code. Install it through the hybrid CLI.Documentation Index
Fetch the complete documentation index at: https://docs.githits.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Node.js 24 or later
- Cursor installed
Installation
Run the hybrid CLI
From your terminal, run:GitHits detects your Cursor installation and writes the MCP server configuration automatically. Authentication is handled automatically for common local setup.
How Cursor uses the plugin
Cursor reads vendor-neutral Open Plugin configuration from.plugin/plugin.json when GitHits is installed via npx githits@latest init. The MCP server itself runs as a local process started by Cursor on demand — no background service is required.
Uninstall
To remove GitHits configuration from Cursor, run:npx githits@latest logout afterwards.