# Connect GitHits to Your AI Agent (Universal MCP)

> Use your AI to build software, query data, and analyze data in GitHits — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http githits https://api.universalmcp.app/mcp/githits`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/githits` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "githits", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: GitHits | Category: AI, Data & Automation (GITHITS) | Auth: Encrypted workspace API key
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Lockfile contents, Public docs index, Pull request drafts; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=githits | Guide: https://universalmcp.app/mcp/githits
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (15 actions: 10 Read, 5 Write)
Perform over 10 actions across agent setup, discovery, dependency upgrades, code understanding, and index coverage. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Agent Setup (5):** Read CLI Documentation (read), Read MCP Documentation (read), Generate API Key (write), Connect Coding Agent (write), Publish Project Guidance for Agents (write)
- **Discovery (3):** Look Up Repository (read), Search Package Index (read), Review Tool Examples (read)
- **Dependency Upgrades (3):** Evaluate Dependency Upgrade (read), Debug Dependency Issue (read), Maintain Project Dependencies (write)
- **Code Understanding (2):** Read Package Source Code (read), Retrieve API Documentation (read)
- **Index Coverage (2):** Check Index Coverage (read), Start Documentation Scan (write)

## Example Prompts for GitHits
- **Lockfile audit:** "Compare the package versions in my lockfile against GitHits indexed docs and list any with breaking changes."
- **Deprecation scan:** "Find deprecated packages in the project and show each recommended replacement and the modules that import it."
- **API lookup:** "Pull the current API reference for the retry option in our HTTP client, with the exact version it applies to."
- **Draft upgrade PR:** "Draft a pull request description for upgrading the two breaking packages, and hold it until I approve the branch."
