# Gabooja agent documentation

Written for agents and the developers who point them at Gabooja. Served as raw
markdown so an agent can read it in one fetch without parsing HTML.

New here? Start with the map at https://gabooja.com/llms.txt
(about 2k tokens: auth, the response envelope, the workflow in order, the
endpoint index, the quality-gate warning). The full quickstart, with every
field, error code and gotcha, is https://gabooja.com/llms-full.txt,
which links each manual below.

## What an agent can do here today

One table: connect (key or OAuth), make a product, generate art, publish (gated by print checks and a safety screen), sell, run a drop, read sales, get paid, with the honest state of each and the MCP tool and REST call for it. Links every per-client quickstart.

https://gabooja.com/docs/agents/capabilities

## Connect your client

One page per client, each checked against that vendor's current docs (the
date and source are in the page). Snippets name this host; copy them as is.

- Gabooja CLI: https://gabooja.com/docs/agents/quickstart-cli
  Run the CLI from a provided source checkout, verify your key, reuse artwork, create private products and recover existing jobs.
- Claude Code: https://gabooja.com/docs/agents/quickstart-claude-code
  claude mcp add with a bearer header, or a shared .mcp.json; checked against Anthropic's Claude Code MCP docs.
- Claude Desktop and claude.ai: https://gabooja.com/docs/agents/quickstart-claude-desktop
  Custom connector (OAuth only, rolling out) or the mcp-remote bridge with a bearer header, which always works; checked against Anthropic's connector help and the mcp-remote README.
- ChatGPT: https://gabooja.com/docs/agents/quickstart-chatgpt
  Developer-mode MCP app (OAuth only, rolling out) or a private Custom GPT whose actions use the OpenAPI spec with a Bearer key, which always works; checked against OpenAI's developer-mode and GPT action docs.
- OpenAI Agents SDK and Responses API: https://gabooja.com/docs/agents/quickstart-openai-agents-sdk
  MCPServerStreamableHttp with your own Bearer header (recommended), HostedMCPTool and the Responses API mcp tool, or function tools from the OpenAPI spec; checked against the Agents SDK MCP guide and OpenAI's MCP tool docs.
- Cursor: https://gabooja.com/docs/agents/quickstart-cursor
  ~/.cursor/mcp.json with url plus a Bearer header read from ${env:GABOOJA_API_KEY}, and a terminal upload for local art; checked against Cursor's MCP docs.
- Gemini CLI: https://gabooja.com/docs/agents/quickstart-gemini-cli
  gemini mcp add --scope user --transport http with a Bearer header (settings.json uses httpUrl; headers are not variable-expanded), and a shell upload for local art; checked against the Gemini CLI MCP docs.
- xAI Grok (API agents and grok.com): https://gabooja.com/docs/agents/quickstart-grok
  xai_sdk mcp() with the Bearer header in extra_headers, the Responses-compatible tool JSON, and grok.com custom connectors (Business and Enterprise; accepted auth unconfirmed); checked against xAI's remote MCP and connector docs.
- Muse (Meta): https://gabooja.com/docs/agents/quickstart-muse
  Ask Muse to create a custom connector to the MCP endpoint with a Bearer header, or hand it the REST contract. Unverified: Meta publishes no field-level connector format.
- Any HTTP agent: https://gabooja.com/docs/agents/quickstart-http
  OpenAPI 3.1 (an operationId on every operation) plus a Bearer key: the whole loop in curl, and the MCP server driven by hand with one JSON-RPC call.

## Manuals

## Agent API

Authentication, key acquisition, scopes, rate budgets, response and error envelopes, and the end-to-end product creation workflow over REST.

https://gabooja.com/docs/agents/agent-api

## MCP Server

The hosted streamable-HTTP Model Context Protocol server: endpoint, authentication, the tool catalog (create_product, upload_asset, get_listing, ...), and client configuration.

https://gabooja.com/docs/agents/mcp-server

## OAuth self-onboarding

How an MCP client or agent gets a scoped shop API key with the creator's consent and no pasted key: discovery from any 401, dynamic client registration, PKCE, refresh rotation, and revocation.

https://gabooja.com/docs/agents/oauth

## Run a discount: a runbook for agents

A timed percent-off discount from plan to result: check what is running, preview the prices, show the creator the numbers and get their yes before any price changes, start it with an explicit starts_at so a retry is safe, read the discount on a product, share, read the results, and end it early only when asked. The limits (5 to 70 percent, 31 days, one per product, the break-even floor) and every answer a retry can get.

https://gabooja.com/docs/agents/discount-runbook

## The product playbook

What makes products sell, with the evidence: design for a group the wearer belongs to, one idea a stranger gets at a glance, legible at phone-grid size, the garment on a person first. Strongly recommended; the publish gate never enforces it. Also at /playbook.md, GET /api/agent/playbook and the get_playbook MCP tool.

https://gabooja.com/docs/agents/merch-playbook

## Machine-readable contract

OpenAPI 3.1, public and unauthenticated:

https://gabooja.com/api/agent/openapi.json

## The quickstart in one fetch

The full quickstart and the capability page as one plain-text document, with
a link to each manual (the per-client pages are not included):

https://gabooja.com/llms-full.txt
