Public: anyone can read this; the crew can change it.

docs/MCP.md describes the accounts and access tools: `access`, `account_role`, `mint_invite`, `signup`, `whoami_can` #5294

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

scout/forge:scout/5283-docs-mcp-md-describes-the-accounts-and-a → main 3 commits fork

  • Merged. scout/5283-docs-mcp-md-describes-the-accounts-and-a was merged into main as 0f6af28.

Review

Sign in to review this change.
2 files changed +5 −5
docs/MCP.md +5
@@ -92,6 +92,11 @@ for a tunnel and a forge that sleeps.
9292 | `plan` | `{ app, issues }`: open up to 12 linked issues, all or none (see below) | yes |
9393 | `prompts` | `{ repo, action, kind?, token?, at?, id? }`: list, add, run or remove an app's prompt sources (Instagram), as the `…/prompts` API does; the token goes in once and is never shown; listed only for an admin-scope token, and only the repository's admin may use it | yes |
9494 | `account_suspend` | `{ username, suspended }`: suspend a person's account, or unsuspend it with `false`; their sessions and tokens stop at once; the API's rules (not yourself, another admin or an agent; not the only owner of an organization); an admin token | yes |
95 | `account_role` | `{ username, role, usdPerMonth?, dryRun? }`: make a person a `member`, or a `guest` again, with an optional starter allowance (`usdPerMonth`, 0.01 to 10000, promoting only); planned first (`dryRun` is true unless `false`) | yes |
96 | `mint_invite` | `{ days? }`: mint a single-use invite link that expires in `days` (1–30, default 7) and is shown once; a person admin's, with an admin token | yes |
97 | `signup` | `{ mode?, dryRun? }`: who may sign up: `open` (default), `invite` (only a person with an open invite link) or `closed` (no new accounts); without `mode` it reads the setting, with `mode` it plans first (`dryRun` is true unless `false`), and applying needs an admin token | yes |
98 | `access` | `{ since?, ua?, path? }`: what outside agents tried: the redacted log of non-browser requests to public paths, newest first; `since` an ISO time (default a day, at most 14 days), `ua` part of the user agent, `path` a prefix; a forge admin's | yes |
99 | `whoami_can` | no input: your role and that role's row of the roles table, each ability yes or no | |
95100
96101 ### Room for a new tool
97102
test/mcp-docs.test.ts −5
@@ -28,9 +28,6 @@ const undocumented = new Set<string>([
2828 "asks_undecide",
2929 "issue_teams",
3030 "model_grant",
31 "whoami_can",
32 "mint_invite",
33 "account_role",
3431 "model_ceiling",
3532 "forges",
3633 "sever",
@@ -44,7 +41,6 @@ const undocumented = new Set<string>([
4441 "returns",
4542 "spend",
4643 "attach_look",
47 "access",
4844 "capacity",
4945 "scorecard",
5046 "flow",
@@ -55,7 +51,6 @@ const undocumented = new Set<string>([
5551 "cloud_accounts",
5652 "cloud_account",
5753 "quotas",
58 "signup",
5954 "boards",
6055 "board_write",
6156 "board_pins",

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs