@delivery-agents/cli
v0.11.2
Published
Sign in to Delivered and connect your coding agent to the workspace over MCP.
Downloads
845
Readme
@delivery-agents/cli
Sign in to Delivered and point your coding agent at your workspace over MCP — the Data Room, Connectors, Workflows and Crons, driven from your editor.
Two binaries, zero runtime dependencies, Node 20+.
| | |
|---|---|
| fde-login | One interactive Google sign-in. Stores a refresh token at ~/.config/fde-mcp/credentials.json (mode 600). |
| fde-mcp | The MCP server your coding agent talks to. Mints a fresh ID token per session, so every write carries your identity — not a shared key. |
fde-mcpwrites to the live platform — the same blob store and Ops API the web console uses. There is no sandbox, so be deliberate about what you write.
1. Sign in (once)
npx -p @delivery-agents/cli fde-loginOpens your browser for Google consent, catches the code on 127.0.0.1, and
exchanges it with PKCE. Use your work Google account — personal Gmail
addresses aren't admitted.
Check the platform is healthy any time:
curl -s https://fde-agent.vercel.app/api/ops/health2. Connect it to your coding agent
Add this to your Claude Code MCP config (~/.claude/mcp.json, or a project
.mcp.json). Cursor and Codex use the same shape:
{
"mcpServers": {
"fde": {
"command": "npx",
"args": ["-y", "-p", "@delivery-agents/cli", "fde-mcp"],
"env": {
"BLOB_READ_WRITE_TOKEN": "blob_rw_..."
}
}
}
}Restart your agent, then ask it to list connectors to confirm the wiring.
3. Set up a data room for your vertical
Ask your agent to set up the workspace and it will use these two tools:
vertical_list # fintech · healthcare · legal · insurance
vertical_setup {vertical} # writes the data room + installs the workflowsvertical_setup is idempotent (existing files are skipped) and supports
dryRun so you can see the plan first. For a vertical it writes the skeleton —
regulatory rules, model-risk/PHI/privilege policy, acceptance bars — and installs
durable workflows that fan out across multiple subagents:
| Workflow | Subagents |
|---|---|
| {v}-account-brief | customer-context → research → follow-ups |
| {v}-readiness-audit | configuration ∥ data-migration ∥ evals → deployment |
| {v}-regulatory-watch | research → customer-context → app-author |
Pass customerId to also seed that customer's context.md and readiness file.
About that token
BLOB_READ_WRITE_TOKEN unlocks the Data Room tools only. The Connector,
Workflow and Cron tools authenticate from your fde-login session instead — so
skip the token entirely if you don't need the data room.
It is direct write access to production customer data: never commit it, never
paste it into a chat or into dataroom_write.
Configuration
| Variable | Purpose |
|---|---|
| BLOB_READ_WRITE_TOKEN | Enables the Data Room tools. |
| FDE_OAUTH_CLIENT_ID / FDE_OAUTH_CLIENT_SECRET | Override the built-in desktop OAuth client. |
The desktop client id and secret ship inside this package deliberately. Google's docs are explicit that an installed-app secret "is not treated as a secret" — an installed app cannot keep one. It grants nothing on its own: every token still requires an interactive sign-in, and the API re-verifies each one against Google's JWKS.
Troubleshooting
401 / "not signed in" — the refresh token expired or was revoked. Re-run
npx -p @delivery-agents/cli fde-login.
Data Room tools missing — BLOB_READ_WRITE_TOKEN isn't set in the MCP
server's env block.
Browser never opens — copy the URL the command prints and open it manually.
Working in the platform repo itself? TEAM-SETUP.md has the
full ten-minute walkthrough: pulling the blob token, the tool inventory, and the
end-to-end verification loop.
