Agent setup
Published
Updated
🤖
Chat to deploy.
Connect Claude Code, Codex, Cursor or another coding agent to fortrabbit, and let it create apps, deploy and read deployment logs. Setup takes one command, sign-in happens in the browser.
Get set up
Paste this prompt into any coding agent. The agent sets itself up:
Read https://www.fortrabbit.com/agents.md and set up fortrabbit.
The agent setup page has the same steps for people, with example prompts.
For Claude Code and Codex, one command installs the frbit CLI, the agent skills and the MCP server:
curl -fsSL https://www.fortrabbit.com/agents.sh | sh
With the CLI in place, frbit setup agent does the same. Add --agent codex to set up one agent only.
claude.ai, Cursor, VS Code and other MCP clients take the MCP server URL: https://mcp.fortrabbit.com/mcp. The commands per client are on the MCP server page.
On the first request, the agent opens a browser page. Sign in or sign up there and approve the connection. The agent never sees a password.
Each of these has a way back: remove the agent setup.
Choose the tool
| Tool | What it is | Authentication |
|---|---|---|
| MCP server | Remote endpoint for AI agents | Browser sign-in |
| CLI | frbit binary, client of API | Browser or API token |
| Agent skills | Workflow instructions | Nothing of their own |
| Public API | REST interface over HTTP | Personal API token |
- MCP server: the agent reads apps, environments and deployments, and creates apps and environments.
- CLI: the agent, a script or a CI job deploys, restarts, reads logs and sets environment variables.
- Agent skills: the agent follows the fortrabbit workflows for deployments, database sync and SSH. They hold no credentials and open no connection.
- Public API: a tool of your own talks to the platform. The CLI is built on it.
The setup command above installs the first three. The API needs no setup beyond a token.
Browser sign-in or API token
A person at their own computer signs in through the browser: frbit auth login for the CLI, the client's own login for MCP. Anything that runs without a person present, such as a CI job, a server or an integration, takes a personal API token.
| Browser sign-in | API token | |
|---|---|---|
| Created | frbit auth login, MCP client | Dashboard |
| Expires | After 30 days unused | Never |
| Access | Fixed per client | Chosen at creation |
| Revoke at | AI agents | API tokens |
An MCP client without OAuth support takes a personal API token as a bearer credential instead of the browser sign-in.