Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

196 pages for scopes.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

compliance-org-data Claude Developer Platform · in the page manage-claude/compliance-org-data …read:compliance_org_data`. Create the Compliance Access Key with both scopes when you intend to use it for directory enumeration; otherwise the call returns [403 Forbidden](https://platform.claude.com… plugins-api Claude Developer Platform · in the page manage-claude/plugins-api …ndpoints, except marketplace validation, which either scope allows); [Scopes](https://platform.claude.com/docs/en/manage-claude/plugins-api#scopes) has the details, including two other read scopes tha… spend-limits-api Claude Developer Platform · in the page manage-claude/spend-limits-api …rise-organization) for where your primary owner creates one and which scopes to select. Pass the key in the `x-api-key` header on every request, together with the [`anthropic-version`](https://platfor… user-management Claude Developer Platform · in the page manage-claude/user-management …rise-organization) for where your primary owner creates one and which scopes to select. Pass the key in the `x-api-key` header on every request, together with the [`anthropic-version`](https://platfor… wif-admin-api Claude Developer Platform · in the page manage-claude/wif-admin-api …claude/wif-reference): environment variables, validation rules, OAuth scopes, and error codes * [Admin API](https://platform.claude.com/docs/en/manage-claude/admin-api): the rest of the organization m… Replace NODE_UID with the node's UID: Claude Developer Platform · in the page manage-claude/wif-providers/spiffe …r URL are independent. The trust domain (`spiffe://prod.example.com`) scopes the `sub` claim. The issuer URL (`https://oidc-discovery.prod.example.com`) is where Anthropic fetches signing keys. They d… wif-reference Claude Developer Platform · in the page manage-claude/wif-reference …N_FILE` or `ANTHROPIC_IDENTITY_TOKEN` from the environment. ## OAuth scopes The `oauth_scope` you set on a federation rule determines which Claude API endpoints the minted access token can call. |… workload-identity-federation Claude Developer Platform · in the page manage-claude/workload-identity-federation …modal creates rules scoped to `workspace:manage_tunnels`. See [OAuth scopes](https://platform.claude.com/docs/en/manage-claude/wif-reference#oauth-scopes). The rule also sets `token_lifetime_seconds`… github Claude Developer Platform · in the page managed-agents/github …e the minimum required permissions: | Action | Required scopes | | ------------------- | --------------------------------- | | Clone private repos | `repo`… memory Claude Developer Platform · in the page managed-agents/memory …ults are returned in a stable, server-defined order. * `path_prefix` scopes the list to one directory. It must end with `/` and matches whole path segments, so `path_prefix=/notes/` returns `/notes/t… vaults Claude Developer Platform · in the page managed-agents/vaults …ava, php: `injectionLocation`; csharp, go: `InjectionLocation`) field scopes where the secret is substituted; the full semantics follow the example. <CodeGroup> ```bash cURL curl --fa… Track cost and usage Claude Code CLI · in the page agent-sdk/cost-tracking …usage is nested. Cost tracking depends on understanding how the SDK scopes usage data: * **`query()` call:** one invocation of the SDK's `query()` function. A single call can involve multiple steps… Intercept and control agent behavior with hooks Claude Code CLI · in the page agent-sdk/hooks …s related tools. This example registers three matchers with different scopes, and each hook it names stands in for a callback you define: * A pipe-separated exact list (`Write|Edit|NotebookEdit`) tri… Connect to external tools with MCP Claude Code CLI · in the page agent-sdk/mcp …Claude Code CLI so they load in every project, see [MCP installation scopes](/docs/en/mcp.md#mcp-installation-scopes). ## Quickstart This example connects to the [Claude Code documentation](https:/… Extend agents with skills Claude Code CLI · in the page agent-sdk/skills …`.claude/commands/` and `~/.claude/commands/` files from the same two scopes as skills. See [Extend Claude with skills](/docs/en/skills.md) for the complete guide to both artifact forms. ### Create a… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …agent`. A `.mcp.json` server reports `project`, and [MCP installation scopes](/docs/en/mcp.md#mcp-installation-scopes) defines `local`, `project`, and `user`. Servers your application passes in the [`… Configure auto mode Claude Code CLI · in the page auto-mode-config …e` settings block. The classifier reads `autoMode` from the following scopes: | Scope | File | Use for | | :- | :- | :- | | One developer | `~/.claude/settings.json` | Personal trusted infrastructure… Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry Claude Code CLI · in the page claude-apps-gateway …e includes additional fields, such as `response_types_supported` and `scopes_supported`. Second, request a device authorization, which confirms the device sign-in flow works and Postgres is reachable… Claude apps gateway configuration Claude Code CLI · in the page claude-apps-gateway-config …or a list of fallback keys where the first present key is used. | | `scopes` | No | Full override of the OIDC scopes the gateway requests. Default `[openid, profile, email, offline_access]`. Set when… Claude apps gateway deployment and operations Claude Code CLI · in the page claude-apps-gateway-deploy …kta emits `groups` only when the `groups` scope is requested in `oidc.scopes` and the app's groups claim filter allows it; `userinfo_fallback` can't fill a claim the IdP wasn't asked for. * **Microsof… Deploy Claude apps gateway on AWS Claude Code CLI · in the page claude-apps-gateway-on-aws …ope is requested and the # app's groups claim filter allows them. scopes: [openid, profile, email, offline_access, groups] session: jwt_secret: ${GATEWAY_JWT_SECRET} # EKS: ${file:… Deploy Claude apps gateway on Google Cloud Claude Code CLI · in the page claude-apps-gateway-on-gcp …com] # Google ignores offline_access; these yield refresh tokens: scopes: [openid, profile, email] extra_auth_params: { access_type: offline, prompt: consent } session: jwt_secret: ${GATEWAY_… Explore the .claude directory Claude Code CLI · in the page claude-directory …/>, <>Array settings like <C>permissions.allow</C> combine across all scopes; scalar settings like <C>model</C> use the most specific value</>], exampleIntro: <>This example allows <C>npm te… Scan your codebase for vulnerabilities Claude Code CLI · in the page claude-security …one area at a time instead of the whole tree. Pick one of the focused scopes the plugin offers, such as your API layer or your authentication code, and the run sizes itself to what you pick. The repor… Configure cloud environments Claude Code CLI · in the page cloud-environments …r requirements.txt exit 0 ``` The `CLAUDE_CODE_REMOTE` check is what scopes the install to cloud sessions: the session VM's environment carries that variable as `true`, it's never `true` locally, so… Debug your configuration Claude Code CLI · in the page debug-your-config …:- | :- | | `/memory` | Memory file locations across user and project scopes with the option to open each in your editor, plus access to the auto memory folder and the auto memory toggle | | `/skills`… Development containers Claude Code CLI · in the page devcontainer …iner, define them at [project scope](/docs/en/mcp.md#mcp-installation-scopes) in a `.mcp.json` file at the repository root so they are checked in alongside your dev container configuration. Install an… Environment variables Claude Code CLI · in the page env-vars …en directly instead of opening a browser. Requires `CLAUDE_CODE_OAUTH_SCOPES`. Useful for provisioning authentication in automated environments… Error reference Claude Code CLI · in the page errors …**What to do:** * Run `/login` to get a new token with the current scopes. You don't need to log out first. ### claude.ai rejected the session token A [claude.ai connector](/docs/en/mcp.md#use-mc… Hooks reference Claude Code CLI · in the page hooks …this with the settings-file rule, and the subagents page lists [which scopes are exempt](/docs/en/sub-agents.md#hooks-in-subagent-frontmatter). Before v2.1.218, these hooks could run from folders you… Automate actions with hooks Claude Code CLI · in the page hooks-guide …allow"`, Claude Code answers the request on your behalf. The matcher scopes the hook to `ExitPlanMode` only, so no other prompts are affected. Add this to `~/.claude/settings.json`: ```json theme={n… Set up Claude Code in a monorepo or large codebase Claude Code CLI · in the page large-codebases …settings-live): user, project, local, or managed. Arrays merge across scopes, so a team can set project-level defaults while individuals add local overrides. If your organization deploys a [managed CL… Connect Claude Code to an LLM gateway Claude Code CLI · in the page llm-gateway-connect …s.md) instead of relying on your shell. Settings files have different scopes: * `~/.claude/settings.json` applies to all your projects. On Windows the path is `%USERPROFILE%\.claude\settings.json` *… Control MCP server access for your organization Claude Code CLI · in the page managed-mcp …is evaluated](#how-a-server-is-evaluated) says how lists from several scopes and managed sources combine | For enforcement, a [managed settings source](/docs/en/admin-setup.md#decide-how-settings-reac… Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …For a server in the local, project, or user [scope](#mcp-installation-scopes) or in managed MCP configuration, the origin shows the host as written in that configuration, so a `${VAR}` reference in th… Connect to MCP servers Claude Code CLI · in the page mcp-quickstart …disk The `claude mcp add` command writes the server to one of three scopes, stored across two files, depending on the `--scope` flag. You don't need to edit these files directly, but knowing where t… How Claude remembers your project Claude Code CLI · in the page memory …UDE.local.md, and other memory file locations across user and project scopes, including user and project CLAUDE.md entries for files that don't exist yet. It also lets you toggle auto memory on or off… Model configuration Claude Code CLI · in the page model-config …than the version pinned in `model`. The two settings cover different scopes: `enforceAvailableModels` makes Default obey the allowlist, while the `env` block pins which version a permitted alias such… Enterprise network configuration Claude Code CLI · in the page network-config …EXTRA_CA_CERTS` * `NODE_TLS_REJECT_UNAUTHORIZED` * `CLAUDE_CODE_OAUTH_SCOPES` Claude Code notes each ignored key in the session's debug log. In [Claude Desktop](/docs/en/desktop.md) sessions where t… Choose a permission mode Claude Code CLI · in the page permission-modes …tructure) entries, such as sensitive remote targets and protected IaC scopes, that you can narrow to concrete names. Claude Code v2.1.257 and later also block these by default: * Requesting credenti… Configure permissions Claude Code CLI · in the page permissions …beyond what managed settings define. The same holds across settings scopes: if user settings allow a permission and project settings deny it, the deny rule blocks it. The reverse is also true: a use… Plugin commands reference Claude Code CLI · in the page plugins/cli-reference …se the qualified form. `configure` takes only the qualified form. * **Scopes**: `--scope` takes `user`, `project`, or `local`, and names the settings file the command writes to. `update` also takes `m… Code intelligence plugins Claude Code CLI · in the page plugins/code-intelligence …l plugin * [Install and manage plugins](/docs/en/plugins/install.md): scopes, updates, and uninstalling * [Troubleshoot plugins](/docs/en/plugins/troubleshooting.md): load errors beyond the language-s… Host and maintain a marketplace Claude Code CLI · in the page plugins/host-marketplace …Plugins` and `pluginConfigs` in the user, project, and local settings scopes. * **`null` entry**: the old key is dropped from those scopes and the user sees `Removed from the "your-marketplace" market… Install and manage plugins Claude Code CLI · in the page plugins/install …ab of `/plugin` in a session. When the same plugin is set at several scopes, the local setting overrides the project setting, and the project setting overrides the user setting. See [Find where a plu… Mods overview Claude Code CLI · in the page plugins/mods/overview …[Install plugins](/docs/en/plugins/install.md) covers marketplaces, scopes, the VS Code extension and the Desktop app, and [keeping plugins updated](/docs/en/plugins/install.md#keep-plugins-updated)… Mods reference Claude Code CLI · in the page plugins/mods/reference …laced from 144 terminal columns, 110 after they've opened it once | | Scopes, such as functions, blocks, and loops, nested inside one another in one file of a hooks module | 2,000 | | Command, tool, s… Troubleshoot a mod Claude Code CLI · in the page plugins/mods/troubleshoot …n `settings.json`. ### `code nested too deep to scan: more than 2000 scopes` The line starts with the mod's name, then `hooks module did not load:`, the file, and `code nested too deep to scan: more… Plugins overview Claude Code CLI · in the page plugins/overview …manage plugins](/docs/en/plugins/install.md): the full install steps, scopes, and other surfaces * [Create a plugin](/docs/en/plugins/create.md): build your own * [Decide whether you need a plugin](#d… Troubleshoot plugins Claude Code CLI · in the page plugins/troubleshooting …n. > [!NOTE] > > These cases are covered on other pages: > > * **Why scopes, the cache, and precedence behave the way they do**: read [Plugin loading reference](/docs/en/plugins/loading.md) > * **Loo…
Feedback