---
title: "Getting started"
description: "Sign in to Forge, connect your agent over MCP or auth.md, and set up your first repo."
---

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

# Getting started

Forge keeps a company's structured records, such as budgets, orders, vendors, employees, assets, and invoices, in repos. Each repo is a version-controlled database: changes land on a branch, a commit saves them to the repo's history, and every change records the person or agent who made it.

These docs are for people and agents who use Forge.

## 1. Sign in to the dashboard

Create an account or sign in at [app.onforge.com](https://app.onforge.com/). A new account starts with an org of its own, which the dashboard calls a workspace and which you can rename. If your team already has an org, open the link in the invite email instead, so you join their workspace.

These docs are public at [buildrforge.com/docs/](https://buildrforge.com/docs/) (and [docs.buildrforge.com](https://docs.buildrforge.com/), which redirects there) and are linked from the sidebar menu in the dashboard.

## 2. Connect your agent via MCP

Connect Forge's MCP server at `https://mcp.onforge.com/mcp` to your AI client and complete the browser OAuth prompt when asked. The client gets its own grant, so you never copy or paste a token. **Connect an agent** in the dashboard's sidebar gives you a prompt that asks your agent to do this for you.

### Claude Code

```sh
claude mcp add --transport http forge https://mcp.onforge.com/mcp
```

### Codex

Add the server and sign in through OAuth (shared by the Codex CLI, app, and IDE extension):

```sh
codex mcp add forge --url https://mcp.onforge.com/mcp
codex mcp login forge
```

### Other MCP clients

In Claude, ChatGPT, Cursor, or any other client that supports remote HTTP MCP servers with OAuth, add `https://mcp.onforge.com/mcp` and sign in when prompted. See [MCP client connection](https://buildrforge.com/docs/introduction/api-mcp-and-cli/#mcp-client-connection) for per-client steps, or [Manual OAuth setup](https://buildrforge.com/docs/introduction/api-mcp-and-cli/#manual-oauth-setup) if your client asks for OAuth endpoints.

The MCP server uses [Code Mode](https://buildrforge.com/docs/introduction/api-mcp-and-cli/#the-code-mode-mcp-server) (`search` and `execute`), includes `submit_feedback` for reporting issues to Forge's builders, and ships three built-in skills: `forge`, `forge-setup`, and `forge-extension-authoring`.

## 3. Set up your first repo

With MCP connected, tell your agent what you want to track—such as vendors, cost codes, budgets, or orders—and ask it to set up your first repo. The `forge-setup` skill walks it through checking your orgs, inviting the people who share the data, creating a repo, defining tag families and custom models, and committing to `main`. If your agent doesn't pick the skill up, ask it to read `skill://forge-setup/SKILL.md` from the Forge MCP server.

Setting up a repo takes an org you own, or one whose [policies](https://buildrforge.com/docs/introduction/#organizations) let you create repos and change schema. When you join someone else's org, you usually start in its `Editors` group, which works on records but does neither, so ask an owner or `Admin` to add you to `Admins`.

You can also create repos directly in the dashboard, or call the [HTTP API](https://buildrforge.com/docs/api/) from a script or terminal.

## Agent access to these docs

These docs are public, so agents can fetch them without a credential. Every doc page has a Markdown version at `index.md` beside it, `/docs/llms.txt` lists every page, and `/docs/llms-full.txt` holds every page in one document:

```sh
curl https://buildrforge.com/docs/llms-full.txt
```

To call the Forge API without MCP, point your agent at `https://app.onforge.com/auth.md` along with your email address:

1. The agent follows `/auth.md` to register with your email and sends you a confirmation link and a 6-digit code.
2. You open the link while signed in with that email and enter the code.
3. The agent receives a bearer token it can use against the API (`https://api.onforge.com`).

See [Agentic registration](https://buildrforge.com/docs/introduction/api-mcp-and-cli/#agentic-registration) for token lifetimes and how to revoke connected apps and agents in **Settings → Apps and agents**.

## Documentation sections

Explore the documentation by topic:

- [Core concepts](https://buildrforge.com/docs/introduction/) explains organizations, repos, and the extension registry.
- [Version control](https://buildrforge.com/docs/introduction/version-control/) covers branches, working state, commits, diffs, three-way merges, and change requests.
- [Schema and records](https://buildrforge.com/docs/introduction/schema-and-records/) details custom models, custom field types, formulas, tag families, and file attachments.
- [CI checks](https://buildrforge.com/docs/introduction/ci-checks/) describes how checks verify each commit, standard library checks, custom checks, and the merge gate.
- [API, MCP, and CLI](https://buildrforge.com/docs/introduction/api-mcp-and-cli/) covers authentication, the HTTP API conventions, the Code Mode MCP server, and the `forge` CLI.
- [Permissions](https://buildrforge.com/docs/permissions/) explains how org and repo policies decide who can do what, down to single records, with recipes, testing tools, and an action reference.
- [Extensions](https://buildrforge.com/docs/extensions/) covers extension architecture, authoring with `@buildr/sdk`, tools, third-party connections, cron schedules, branch triggers, inbound webhooks, durable workflows, web pages, email, browser UIs, and installation updates.
- [API reference](https://buildrforge.com/docs/api/) documents every HTTP endpoint generated from Forge's OpenAPI contract.

Source: https://buildrforge.com/docs/index.mdx
