Ir al contenido
PumatiDesarrolladores
Language / Idioma: Español
Iniciar sesión

Esta página todavía no está disponible en Español, así que se muestra en inglés.

Access

permissions.md

OAuth consent and per-app scopes

When a client connects, pumati.app shows a consent page with the client's name and where it returns (for Claude Code, Codex and Cursor a program on your own computer, for claude.ai and ChatGPT their own site). The request is valid for 15 minutes. You choose:

  • All my apps (the default), or only the apps I choose. All my apps covers every app you have now and every app you create later (team apps only while you're on the team), so one connection serves all your projects. It gives every app the same scopes: read and write to start with; publish (spending credits) only if you turn it on. Pick only the apps I choose to tick apps one by one.
  • With chosen apps: scopes for each app. An app you leave unticked is not listed and can't be used by this connection. You also choose whether it may create new apps, and the scopes those apps get. Creating needs write.
  • A spend limit in credits (spend limit).

Nothing is fixed at consent: on pumati.app/dev/mcp you edit a connection without connecting again: add or remove apps, change each app's scopes (in all-apps mode an app can follow the default, get its own scopes, or be left out), set a spend limit for the connection and, optionally, for each app, or switch between all apps and chosen apps. The next tool call sees the change. Every change is in the audit log. One exception: newly allowing publish (spending credits) cuts off every token the client got before, and the client connects again; the consent page shows that connection's mode, per-app scopes and limits, and you pick it to keep its settings. Switching a chosen-apps connection to all apps with publish on counts too, since apps you get later gain publish. Archived apps are not part of all-apps mode.

Scopes

ScopeAllows
readlist_apps, find_app, list_app_tests, get_test, wait_for_updates, list_feedback, get_feedback: missions, results and feedback
writeupsert_app (rename, add identifiers), register_build, create_test, create_upload, create_comparison, update_test, record_resolution, record_decision, create_retest: drafts and records, nothing spent
publishpublish_test, adjust_test, cancel_test: reserve or return credits and start, change or stop recruiting. create_share_link: turn a published test's share link on, renew or off. review_feedback: judge submissions (approving pays testers)

Write and publish always include read: an agent that changes something can see what it changed.

Token scopes

A client may narrow its token (read, write, publish) when it exchanges the code or refreshes. A call is allowed only when both the token and the connection allow the scope on that app; otherwise it is FORBIDDEN. A connection only ever sees its own apps: an app it doesn't cover or the user can no longer use (left the team, for instance), and every mission and feedback in it, is NOT_FOUND, the same as one that doesn't exist. Connections made before October 2026 keep tokens with the scopes chosen then; to go beyond them, connect again.

Which app this project is

One connection can cover many apps, so tell the agent which one the working copy belongs to:

  • Keep the app id in the project: a .pumati.json at the repository root ({ "app_id": "app_…" }), or a line in CLAUDE.md / AGENTS.md ("Pumati app: app_…"). Agents read it first.
  • Otherwise find_app matches the project's identifiers (the git remote as repo, the iOS bundle_id, the Android or npm package) against the connection's apps. list_apps shows each app's identifiers.
  • For repo, send what git remote get-url origin prints, as is. Pumati drops https vs ssh, .git and a trailing / and stores the host and path (git@github.com:Owner/Repo.git and https://github.com/owner/repo are both github.com/owner/repo). github.com ignores case and ports; self-hosted servers keep an explicit port, the SSH user (alice@host:projects/app is under that user's home, so two users can mean two repositories) and the path's case and subgroups. On gitlab.com and bitbucket.org the SSH user is always git and is dropped. The stored value list_apps shows can be sent back as is and finds the same app.
  • When several apps fit, the tool returns AMBIGUOUS_APP with the candidates and the agent asks you. upsert_app refuses to create an app whose identifiers already name one (APP_EXISTS).
  • Add identifiers to an app with upsert_app (app_id and identifiers), so later sessions find it.
  • A GitHub repository linked on the app's "Repositories" page (pumati.app/dev/apps) through the Pumati GitHub App is verified. find_app picks the app with a verified repository first (verified in the result), teammates find it by the same repository, and the link survives renames and transfers. list_apps shows them as verified_repos.

Revoke

pumati.app/dev/mcp lists your connections with their apps, scopes and spend. Revoking takes effect on the next call (FORBIDDEN); every tool call reads the grant, so there is no cached access.

Devices

Each connection is one device. Indie allows 2 devices connected at once, Team 3 per member (API tokens do not count). At the limit, the consent screen asks you to pick a connected device to disconnect before it approves the new one. Each device keeps the client and browser name, when it first connected, when it was last used and a rough location (country and city); IP addresses are not stored. A new device sends you an app push and an email. On pumati.app/dev/mcp you can rename a device, disconnect one, or disconnect all other devices. A connection unused for 90 days is disconnected automatically.