Skip to content

docs(mcp): document the internal user as an MCP entitlement level - #710

Open
yassin-berriai wants to merge 1 commit into
mainfrom
litellm_mcp_user_tool_entitlements
Open

docs(mcp): document the internal user as an MCP entitlement level#710
yassin-berriai wants to merge 1 commit into
mainfrom
litellm_mcp_user_tool_entitlements

Conversation

@yassin-berriai

Copy link
Copy Markdown
Contributor

TLDR

Documents the internal user as an MCP entitlement level, which is what BerriAI/litellm#35146 adds

The permission hierarchy page said "five distinct levels" and listed the entities that can carry mcp_tool_permissions as "the key, team, end-user, agent, or organization". Neither included the human, because until now nothing did

Changes

docs/mcp_control.md gains the Internal user row in the permission-hierarchy table and the matching node in the flowchart, both placed between Agent and Organization to match the resolution order. The per-entity tool-level section gains the human alongside the other principals and a worked example: an admin setting a person's tool subset with /user/update, the /v2/user/info read-back, the refusal text a call outside the entitlement gets, and an Admin UI screenshot of the new section on the internal user page. Two notes go with it: only a proxy admin may set the entitlement, and a human's own entitlement binds them even when their role would otherwise hand them the whole server registry

docs/auth_overview.md and docs/mcp_tool_search.md each carried the same now-stale enumeration of the levels; both are corrected

Merge order

Merge after BerriAI/litellm#35146, or alongside it. The behavior these pages describe does not exist before that PR

MCP entitlements could be attached to a key, a team, an end user, an agent or an
organization, but never to the human. The permission hierarchy is now six levels:
add the internal user row and flowchart node, and a worked example of an admin
granting one person a tool subset via /user/update with the /v2/user/info
read-back.

Also notes the two things that are easy to get wrong: only a proxy admin may set
the entitlement, and an admin-role caller without an explicit key-level
mcp_servers list stops seeing the whole registry once they carry an entitlement
of their own.

Sweeps the stale five-level claim on the auth overview page.
@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
litellm Ready Ready Preview Jul 29, 2026 10:04pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant