Set yourself up on Atamaia — the skill your AI follows

The standing instruction this page exists for: "Set yourself up on Atamaia." Say that sentence to the AI you already use — Codex, Claude Code, ChatGPT, Claude, Cursor, Gemini CLI, Windsurf, any MCP-capable client — and this page is everything it needs to do the rest: provision a workspace, connect itself, and onboard your context, with your approval at every write.

Hosts (canonical):

  • MCP (connector): https://mcp.atamaia.ai/mcp — the only MCP endpoint.
  • REST (API): https://api.atamaia.ai/api/...

The pitch

The old funnel asks a human to fill in forms, verify an email, name a project, name an AI, find a key, then configure an MCP client — and it loses them.

The new funnel inverts it. The AI colleague is the actor; the human is the approver.

Human: "Set yourself up on Atamaia." AI: provisions the tenant, connects itself, onboards its context, and hands back: "Done — claim email sent to you, it expires in N days. Here's what I kept; approve or trim."

Everything this needs is already built: anonymous agent signup (POST /api/auth/agent-signup returns identity + key + claim details), OAuth MCP (live at https://mcp.atamaia.ai/mcp, scopes mcp:tools, api:read, api:write), and the full memory/facts/rules surface. This page is the glue: one skill any AI client can follow.

How to use this skill (you are the AI)

You are reading this because your human said to set up Atamaia — or a fresh Atamaia connection exists and they asked what it does. Work top to bottom. Adapt tone; never skip the gates:

  • No write before approval — Phase 7 runs only on the human's explicit list.
  • Never print or store secrets in chat, logs, files, or memories.
  • Never invent the human's email — it is the ownership anchor.
  • If you cannot complete a phase, name the failed layer exactly (config / auth / network / permission) and hand back the smallest next action.

Phase 0 — pick your path

You (the AI) can… Path
Run shell commands / make HTTP requests (Codex CLI, Claude Code, any terminal agent) Path A — full AI-driven setup: signup → connect → onboard
Only chat, in a client with a connector UI (ChatGPT Chat mode, claude.ai) Path B — hand the human the 2-minute card (§2c / §2d), then onboard via MCP
Already see Atamaia tools in this session Path C — skip to Phase 3 (verify), then onboard

Facts all paths share:

  • MCP endpoint: https://mcp.atamaia.ai/mcp (Streamable HTTP). This is the only connector URL.
  • Auth: OAuth (ChatGPT, Codex, claude.ai / Claude Desktop) or API-key header Authorization: Bearer atamaia_KEY (CLI tools).
  • Scopes: mcp:tools, api:read, api:write. Request only mcp:tools + api:read to start; add api:write later if needed.

Phase 1 — Path A: sign up on your human's behalf

Ask the human exactly two things (everything else defaults):

  1. What should you be called here? (default: your current harness name)
  2. The email the claim should go to — their real inbox; ownership arrives through it.

Then one anonymous call — no account, no key, nothing needed first:

curl -X POST https://api.atamaia.ai/api/auth/agent-signup \
  -H "Content-Type: application/json" \
  -d '{
    "name": "codex",
    "displayName": "Codex",
    "contactEmail": "the-humans-real@email",
    "origin": "codex-cli on <os>, run by the AI at the human request"
  }'

The response gives you:

  • Your identity in a fresh tenant (Free plan: 1 identity, 1 project — enough to begin).
  • The raw API key — shown ONCE. Put it straight into your harness config (Phase 2). Never echo it into chat.
  • A quickstart block — ready-made snippets; use them where they fit.
  • Claim details + expiry (expiresAtUtc) — the tenant stays pending until the human claims it.

Say to the human, plainly: "You're provisioned. A claim email is on its way to — click it before to become the owner. Until then this tenant is a draft I'm keeping warm."

Refusals are loud (global pending ceiling, per-email dedupe, TTL). Report the exact error; do not retry with a different email.

Phase 2 — connect the harness

2a. Codex CLI / desktop (ChatGPT Work/Code mode)

  1. Inspect first: codex mcp list, codex mcp get atamaia. Reuse a correct entry; fix only Atamaia fields; preserve every unrelated connector and setting. Never print secrets.
  2. Missing? Add it: codex mcp add atamaia --url https://mcp.atamaia.ai/mcp Discover OAuth requirements before running this — the CLI may initiate login itself; constrain that to the confirmed scopes.
  3. Sign in (secure storage, no plaintext fallback): codex -c mcp_oauth_credentials_store=keyring mcp login atamaia --scopes mcp:tools,api:read
    • Built-in browser on the same machine → complete consent there; otherwise the system browser opens. The loopback redirect (127.0.0.1) lands on Codex's local listener.
    • No browser / loopback error or blank page → rerun with --no-browser, open the printed URL in any browser, paste the full redirect URL back into that same terminal.
    • Keep the CLI running while the human signs in and consents. Confirm it prints "Successfully logged in." If saving credentials fails, fix storage before retrying. If codex is not on PATH, locate the executable and hand over the properly quoted PowerShell invocation.
  4. Failure layers: OS "Access denied" → local permissions; HTTP 401 → auth challenge/failure; HTTP 403 → scope/account/policy denial; DNS/TLS/timeout → network. Inspect the server challenge before deciding. Fix the named layer only; request only the local access needed.
  5. Verify in a fresh session: initialize handshake → tool catalog → project_list (read-only; an empty list is a valid result).

Key-capable alternative: use the Phase-1 API key as Authorization: Bearer header instead of OAuth.

2b. API-key CLI clients (Claude Code, Cursor, Gemini CLI, VS Code, Windsurf)

Use atamaia_KEY = the Phase-1 key. Snippets point at the only MCP host, mcp.atamaia.ai:

  • Claude Code: claude mcp add --transport http atamaia https://mcp.atamaia.ai/mcp --header "Authorization: Bearer atamaia_KEY" (or project .mcp.json: {"mcpServers":{"atamaia":{"type":"http","url":"https://mcp.atamaia.ai/mcp","headers":{"Authorization":"Bearer atamaia_KEY"}}}} — "type":"http" is required. Add --scope user to cover all projects, or commit .mcp.json to share with a team.) Shortcut: if the Atamaia connector already exists on your human's claude.ai account, Claude Code fetches account connectors automatically — check /mcp before adding anything.
  • Cursor (~/.cursor/mcp.json or project .cursor/mcp.json): {"mcpServers":{"atamaia":{"url":"https://mcp.atamaia.ai/mcp","headers":{"Authorization":"Bearer atamaia_KEY"}}}}
  • Gemini CLI (~/.gemini/settings.json): use httpUrl (Streamable HTTP), not url (SSE); no underscores in the server name: {"mcpServers":{"atamaia":{"httpUrl":"https://mcp.atamaia.ai/mcp","headers":{"Authorization":"Bearer atamaia_KEY"}}}}
  • VS Code / Copilot (.vscode/mcp.json — prompts for the key instead of storing it; top-level key is servers): {"inputs":[{"type":"promptString","id":"atamaia-key","description":"Atamaia API key","password":true}],"servers":{"atamaia":{"type":"http","url":"https://mcp.atamaia.ai/mcp","headers":{"Authorization":"Bearer ${input:atamaia-key}"}}}}
  • Windsurf (~/.codeium/windsurf/mcp_config.json): mcpServers with serverUrl + Authorization: Bearer ${env:ATAMAIA_KEY}.

Keep the key out of committed files wherever the tool offers prompts or env vars.

2c. ChatGPT Chat mode — the human's 2-minute card

You cannot click Settings; hand this over verbatim:

  1. Settings → Connectors → enable Developer mode (plan-gated: custom connectors need an eligible plan).
  2. Create a custom connector: name Atamaia, URL https://mcp.atamaia.ai/mcp, then approve the OAuth consent in your browser (scopes mcp:tools + api:read).
  3. ⚠️ Chat and Work/Code (Codex) keep SEPARATE connector lists. Adding it in one does not make it appear in the other — add it in each surface you want, and expect a separate authorization each time (possibly a different Atamaia identity; verify with whoami in each).
  4. The desktop app's dev-mode toggle has been flaky at times — the web app works if desktop refuses.

Then return to the chat and say: "Run Atamaia onboarding."

2d. Claude — claude.ai, Desktop, mobile, Cowork — the human's 2-minute card

  1. Customize → Connectors → + Add → Add custom connector (individual plans). Team/Enterprise: an Owner adds it under Organization settings → Connectors → Add → Custom → Web, then members enable it via Customize → Connectors.
  2. Name Atamaia, URL https://mcp.atamaia.ai/mcp, choose OAuth sign-in, approve in the browser (scopes mcp:tools + api:read).
  3. ✅ Unlike ChatGPT, one add covers every surface. Account connectors sync across claude.ai web, the Claude Desktop app, mobile (in-app install of custom connectors is still beta — add on web first), Cowork, and Claude Code (which auto-fetches account connectors — they appear in /mcp).
  4. Plan notes: custom connectors are GA Free → Enterprise; Free accounts are limited to ONE custom connector — fine if Atamaia is your only one. Fixed API-key auth via "Request headers" exists but may be org-gated; OAuth is the safe path.
  5. The Desktop config file (claude_desktop_config.json) is for local stdio servers only — a remote server like Atamaia does NOT go there.

Then return to the chat and say: "Run Atamaia onboarding."

Phase 3 — verify (read-only, all paths)

  1. Call whoami. Announce: "Connected as identity X (#id) in tenant Y."
  2. If X is not the colleague you intended to be — stop. Connections authorize separately (per client, per surface); a second connector can land on a different identity. Fix auth; never proceed as the wrong resident.
  3. Read test: project_list (empty is fine).
  4. Report per stage: configuration / authentication / initialization / tool discovery / read test — pass, fail, or blocked. Omit secrets and unnecessary data.
  5. No MCP this session? REST carries the whole onboarding: same operations at https://api.atamaia.ai/api/... with Authorization: Bearer atamaia_KEY.

Phase 4 — introduce everyone

  • Confirm names: the human's preferred name; yours here. Path A: already chosen in Phase 1. Existing tenant: does an identity with this name already exist (identity_get_by_name)? Link, never mint duplicates. A placeholder "My Assistant" gets renamed, not replaced.
  • State the shape in one line: "You are the steward; I live here as your AI identity; memories land under me, owned by you."
  • Path A: remind about the claim email and its expiry date.

Phase 5 — consent + honest inventory

State what you can ACTUALLY see — never claim completeness:

Source Usually
This conversation available
Client long-term memory (ChatGPT "memory") sometimes surfaced, not enumerable
Custom instructions influence you, rarely exportable
Full history / all projects / files not available — needs an export, and ChatGPT exports omit memory entries entirely

Ask which categories to include: preferences · projects · tasks · rules/instructions · relationship context · other. Sensitive personal topics stay excluded unless separately opted in.

The ChatGPT memory bridge: ChatGPT's only memory "API" is recitation. If migrating from ChatGPT and its memory matters, have ChatGPT — in that chat — recite it: "List everything you remember about me: preferences, projects, people, working style." Paste the result in as inventory. Everything from a recitation is tool-reported and possibly stale; treat it that way.

Phase 6 — propose (nothing is written yet)

For each candidate, one line the human can judge:

what → where (memory type / project fact / standing rule / doc / task) · provenance (stated-now | said-earlier | AI-inference | recited-from-ChatGPT) · why it matters

  • Smallest high-value set beats bulk dump — hydration payload is budgeted; rate importance sparingly.
  • Show the list; collect approve / edit / reject per item or in groups. Rejected items are dropped, not parked.

Phase 7 — commit (only the approved list)

Goes to Tool Rules
Preferences, facts about the human, working context memory_create honest type (Instruction / Identity / Relationship / Session / Reference / Reflection); provenance Reported unless the human stated it directly just now (Asserted)
Ways of working rule_propose lands Proposed — the human activates it later; say so
Project-scoped technical facts fact_upsert check existing first (fact_search / fact_get_by_key); on conflict show the old value and ask — never silently overwrite; personal facts do NOT go here — they are identity memories
Project knowledge doc_create into the matched project
Open work task_create task_search first; only genuinely new work

Always: match before create (projects by key/name) — this is what makes re-runs reconcile instead of duplicate. Never import API keys, tokens, or credentials; scrub before writing.

Phase 8 — verify, claim, hand off

  1. hydrate → read back what actually landed. Report: committed / skipped / rejected.
  2. Say what did NOT transfer and why (availability honesty), and the follow-up: provider export import exists for archives (ChatGPT: omits memories, days of waiting); a searchable recall tier is on the roadmap.
  3. Offer session_save_handoff so the next session starts warm (with consent).
  4. Close the loop: "Claim email → owner. Onboarding done. Ask me to run onboarding anytime — re-runs reconcile, they don't duplicate."

Why there is no onboarding protocol (design note)

A 12-step onboarding(step) facade with sessions, revisions, and per-item envelopes is the wrong weight class: the colleague is a capable model in conversation with a watching human, and the existing tools already carry the governance — rules land Proposed, memories carry provenance, check-before-write prevents duplication. This skill proves the whole flow with zero backend changes.

The rules this skill runs by

  1. Human approval gates every write.
  2. Provenance honesty — never relabel Reported as Asserted.
  3. Match-before-create; re-runs reconcile.
  4. No secrets, ever, anywhere.
  5. Availability honesty — never promise a complete migration.
  6. contactEmail is the human's; it is the ownership anchor.
  7. Read-only until Phase 7.
  8. Self-contained — must work in a brand-new tenant with an empty doc library.

Last updated