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

# pb vs MCP package

> Two different tools: the Product Brain CLI and the MCP server package.

<Warning>
  **Early access** — Naming is easy to confuse during beta. [**Join the Product Brain Community**](https://community.productbrain.io) if setup fights you.
</Warning>

## `pb` (CLI)

* Package: **`@productbrain/cli`**
* Install: `npm install -g @productbrain/cli@beta`
* Use for terminal workflows.

## `@productbrain/mcp` (MCP)

* Package: **`@productbrain/mcp`**
* Use for MCP hosts (often `npx @productbrain/mcp@beta` for stdio) or the hosted URL from [MCP overview](/docs/mcp/overview).

## When to use which

| Need                            | Use      |
| ------------------------------- | -------- |
| Shell + git + tests             | **`pb`** |
| Cursor / Claude / ChatGPT tools | **MCP**  |

Next: [Connect your tools](/docs/integrations/overview).
