Skip to content

Set permission for tool required or not #672

Open
@Mehdi-Bl

Description

Is your feature request related to a problem? Please describe.
Like Claude code agents, I want the MCP tools to not default as requiring permissions, would be nice to set on the SDK side the ability to authorize reading capabilities like in Claude code.
And eventually keep the authorization to dangerous edit/write/delete/execution as you decide for the tool.
Other exemple If I have a tool for DB, I should not need to allow reading schema, list tables. But running queries.

Describe the solution you'd like
Have a meta attribute in the tool to allow it by default.

Describe alternatives you've considered
Or have that on Claude Desktop? But still how Claude desktop will know if a tool is read only. That may require it persist it after restarts.

Additional context
N/A

Activity

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

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions