Skip to content

feat: Add an optional confirmation / risk level marker for individual tool actions #169

@leblancfg

Description

@leblancfg

Related to #114, but at a different grain.

Is your feature request related to a problem? Please describe.
Let's imagine I have an API with two endpoints:

  1. GET /users/: lists users
  2. PUT /users/<id>: edits a user's attributes

I want my users to install a single MCP server to handle connections to my API, with multiple tools.

As a user, when I install this MCP server, my agent/chatbot app might ask for initial confirmation. This is all fine and good for the GET endpoint, but as a user I also want to manually be able to audit and approve any changes the agent decides to make to the PUT one.

Describe the solution you'd like
Add an optional per-action flag or marker, to indicate risk level of the action performed.

It would then be up to client implementations to handle what to do with this information.

For risky actions, the docs can prescribe that use in a chatbot setting would be to let the user confirm any actions taken.

Describe alternatives you've considered
I believe having a server-grain risk level is too high, as I imagine the standard will be to have multiple tool actions available within a single MCP server connection.

Metadata

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