Authorization policy for MCP #760
RakhithaRR
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem Statement
Currently, mcp authentication policy allows the users to define scopes to enforce authorization. However, when it comes to MCP, there's a need to enforce more finer access control based on the tools, resources, prompts, or JSON-RPC methods.
Proposed Solution
Introduce a new policy to support fine grained access control for MCP proxies based on different capabilities. The following is the proposed policy definition for this policy.
Sample policy attached to a proxy will be as follows
This policy allows you to define a set of rules which governs how the authorization is applied. Each rule consist of the attribute which you need to apply this rule against, the required scope, and required claims. If the policy is applied against a tool, prompt, etc. instead of at the top level (API level), the attribute section can be omitted as we will be able to derive that internally.
Beta Was this translation helpful? Give feedback.
All reactions