SFabDocs
Getting Started

Connect your agent

Drive the factory from Claude, Cursor, or any MCP client.

Your factory speaks the Model Context Protocol. Any MCP-aware client (Claude Code, Claude Desktop, Cursor, a custom AI SDK app) can read and mutate your factory's tasks, documents, runs, and logs through one server, with no per-client integration.

The server lives at https://<your-platform-domain>/mcp and uses OAuth 2.1 with dynamic client registration: the first time your client calls a tool, a browser opens to the consent page where you sign in and pick an organization.

Claude Code

claude mcp add --transport http sfab https://<your-platform-domain>/mcp

Claude Desktop

Add to your MCP config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "sfab": { "url": "https://<your-platform-domain>/mcp" }
  }
}

Clients that only speak stdio

Use the mcp-remote proxy. It runs locally and handles the OAuth flow in your browser:

npx -y mcp-remote https://<your-platform-domain>/mcp

One connection = one organization

At consent time the connection is bound to the organization you pick, and every tool call resolves to it. Tools never take an organization parameter, so a leaked token can never operate outside its org. To work with a second org, register the server a second time under a different name and pick the other org when prompted.

Access tokens last an hour and refresh automatically for seven days; after that the client re-runs the consent flow.

What your agent can do

ToolsWhat they cover
tasks_*List, read, create, and update tasks: status, priority, assignee, content
documents_*Read and write repo documents (synced into .sfab/.docs/)
repos_listThe GitHub repositories linked to the org
runs_*Dispatch, watch, transcript, and cancel coding-agent runs
activity_*The unified agent-run feed: reviews, contractors, monitors
logs_*The platform's structured request log: webhooks, skips, errors
contractors_*, sandboxes_*Configure the coding agents and the sandboxes they run in

Every tool advertises its full input schema over MCP, so clients discover valid filters and required fields without extra documentation.