Skip to content

Commit 568c7a9

Browse files
rdimitrovCopilot
andauthored
Update docs/toolhive/guides-registry/authorization.mdx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent a7c8af5 commit 568c7a9

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

docs/toolhive/guides-registry/authorization.mdx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,13 @@ Resources with no claims are accessible to all authenticated callers.
207207
When you publish an MCP server version or skill to a managed source, you can
208208
attach claims to the entry. The server enforces two rules:
209209

210-
1. **Publish claims must be a subset of the publisher's JWT claims.** You cannot
211-
publish entries with broader visibility than your own identity allows. For
212-
example, if your JWT has `{org: "acme", team: "platform"}`, you can publish
213-
entries with `{org: "acme", team: "platform"}` but not with `{org: "acme"}`
214-
alone (which would be visible to all teams).
210+
1. **Publish claims must not be broader than the publisher's JWT claims.** In
211+
other words, the published entry's claims must be at least as specific as the
212+
publisher's claims, so the entry does not become visible to a wider audience
213+
than the publisher belongs to. For example, if your JWT has
214+
`{org: "acme", team: "platform"}`, you can publish entries with
215+
`{org: "acme", team: "platform"}` but not with `{org: "acme"}` alone
216+
(which would be visible to all teams in the org).
215217

216218
2. **Subsequent versions must have the same claims as the first.** Once you
217219
publish the first version of an entry with specific claims, all future

0 commit comments

Comments
 (0)