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

# Build on Deal Brain

> Two ways to build on Deal Brain — the MCP server for agents, and the REST API for everything else.

Deal Brain is infrastructure, not a destination. Your organization's customer context is reachable through open interfaces, grounded in your own sales process, playbooks, and deal state — so you can build on it rather than around it.

There are two programmatic surfaces, and which one you want depends on what you're building.

## Which surface do I want?

<CardGroup cols={2}>
  <Card title="MCP server" icon="sparkles" href="/integrations/mcp">
    **For AI agents.** A broad capability surface, including Signals, Agents, Playbook, and Canvas configuration. Tools are self-describing, so an agent can discover what it can do. OAuth per user.
  </Card>

  <Card title="REST API" icon="code" href="/api-reference/introduction">
    **For traditional integrations.** Dashboards, ETL, internal tools, scheduled jobs. Versioned endpoints, Bearer API key, predictable request/response shapes.
  </Card>
</CardGroup>

|               | MCP                                                                                                                                                  | REST API                                 |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- |
| **Built for** | Agents and assistants                                                                                                                                | Services and scripts                     |
| **Auth**      | OAuth, per user                                                                                                                                      | API key, Bearer token                    |
| **Surface**   | Deal context, daily workflow, writing, action items, CRM, plus Signals, Agents, Playbook, and Canvas configuration — not organization administration | Read, query, and Canvas generation       |
| **Shape**     | Self-describing tools                                                                                                                                | Versioned HTTP endpoints under `/api/v1` |
| **Use when**  | The caller reasons about what to call                                                                                                                | You know exactly what you want           |

MCP is broad, but it isn't an administration surface. Organization membership, teams, integrations, provider mappings, API keys, organization settings, and the full field-definition policy surface are managed in the web app, not over MCP.

Both hit the same underlying data, so mixing them is fine — an agent over MCP and a nightly job over REST will see the same deals.

## Connect over MCP

| Field              | Value                          |
| ------------------ | ------------------------------ |
| **MCP server URL** | `https://findtempo.co/api/mcp` |
| **Authentication** | OAuth                          |

Point any MCP client at that URL and authenticate with your Deal Brain account. See [MCP setup](/integrations/mcp) for client-specific instructions.

## What the MCP surface exposes

It breaks into six areas:

| Area               | Tools cover                                                                                    |
| ------------------ | ---------------------------------------------------------------------------------------------- |
| **Deal context**   | Deal state, stakeholders, cited observations, artifacts, meetings, and search across them      |
| **Daily workflow** | Briefs, meeting prep, debriefs, and next-action recommendations                                |
| **Writing**        | Draft generation, template rendering, and the seller's tone profile                            |
| **Action items**   | Listing, creating, and completing follow-ups                                                   |
| **CRM**            | Field catalogs, field semantics, CRM objects, and proposed updates                             |
| **Configuration**  | [Signals](/signals), [Agents](/agents), [Playbook](/playbook), and [Canvas templates](/canvas) |

"Configuration" here means the capabilities in that last row. It does not mean organization administration: membership, teams, integrations, provider mappings, API keys, organization settings, and the full field-definition policy surface stay in the web app. Do that work there, then build on it over MCP.

Configuration tools are permission-gated. A caller only sees the actions its account is allowed to take — don't infer availability from an empty result.

## Design notes worth knowing

**Tools report their own readiness.** Configuration tools return allowed actions and named blockers rather than failing opaquely. Read those before retrying.

**Mutations are revision-checked.** Signals, agents, playbook sources, and canvas templates all carry a revision. Pass the revision you expect; a concurrent edit rejects the write instead of silently overwriting. On conflict, re-list and reapply.

**Configuration changes disable the thing they change.** Editing an agent or a signal returns it to a disabled state, so a half-applied change can't run against live data. Re-enable explicitly.

## Where to go next

<CardGroup cols={2}>
  <Card title="REST API reference" icon="code" href="/api-reference/introduction">
    Auth, endpoints, and the query API.
  </Card>

  <Card title="Building on Canvas" icon="pen-ruler" href="/canvas/developers">
    Render authored templates from your own agent, including auth, key resolution, and the render lifecycle.
  </Card>
</CardGroup>
