> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mergeguide.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MergeGuide documentation

> Embrace AI velocity without sacrificing control. Learn to install, configure, and operate MergeGuide across your development workflow.

MergeGuide is **AI-assisted code governance**. It lets your team move at AI speed
while keeping policy, security, and compliance under control — checks meet
developers where they already work instead of slowing them down with a separate
review step.

This documentation covers how to provision your account, install MergeGuide,
configure your policies, run scans, read findings, and wire enforcement into your
pull requests and CI.

## Start here

<CardGroup cols={2}>
  <Card title="What is AI code governance?" icon="shield-halved" href="/get-started/what-is-ai-code-governance">
    The user-facing concept: govern AI-written and human-written code in one place,
    without leaving your workflow.
  </Card>

  <Card title="Quickstart" icon="rocket" href="/get-started/quickstart">
    Install the CLI, authenticate, and run your first check in a few minutes.
  </Card>

  <Card title="Install MergeGuide" icon="download" href="/install/cli">
    CLI, MCP server, IDE extension, git hooks, and the PR gate.
  </Card>

  <Card title="CLI reference" icon="terminal" href="/reference/cli">
    Every command and flag, verified against the shipping CLI.
  </Card>
</CardGroup>

## Where MergeGuide fits in your workflow

MergeGuide checks code at the points where you already work, so issues surface
early instead of at review time:

| Where you work    | How MergeGuide helps                                                                            |
| ----------------- | ----------------------------------------------------------------------------------------------- |
| Your IDE          | The extension surfaces findings as you edit.                                                    |
| Your AI assistant | The MCP server lets AI coding tools check changes against your policies before you keep them.   |
| Local commits     | Git hooks check staged changes before they leave your machine.                                  |
| Pull requests     | The PR gate evaluates each PR on GitHub, GitLab, Bitbucket, or Azure DevOps and reports inline. |

Each layer is the *same* governance applied earlier in your flow — catch an issue
in the IDE and it never reaches a commit, a PR, or an auditor.

## Install commands

MergeGuide ships as two packages — a Python CLI and an npm MCP server:

<CodeGroup>
  ```bash CLI (Python) theme={null}
  pip install mergeguide
  ```

  ```bash MCP server (npm) theme={null}
  npx @mergeguide/mcp-server
  ```
</CodeGroup>

See [Install the CLI](/install/cli) and [Install the MCP server](/install/mcp-server)
for the full setup, including the one-command `mergeguide init` flow that wires up
the CLI, MCP server, and git hooks together.

## Get help

* **Dashboard:** [portal.mergeguide.com](https://portal.mergeguide.com)
* **Support:** [support@mergeguide.ai](mailto:support@mergeguide.ai)
