Skip to content

fix: show MCP tool arguments in permission dialog - #24605

Closed
rachadaccoumeh wants to merge 2 commits into
anomalyco:devfrom
rachadaccoumeh:dev
Closed

rachadaccoumeh wants to merge 2 commits into
anomalyco:devfrom
rachadaccoumeh:dev

Conversation

@rachadaccoumeh

Copy link
Copy Markdown

Summary

Fixes the MCP tool permission dialog showing only * instead of actual tool arguments, making it hard for users to understand what command will be executed before approving.

Problem

When using MCP tools, the permission approval dialog shows only * instead of the actual arguments.

Solution

  1. Backend: Pass tool args in metadata when asking for MCP tool permissions
  2. Frontend: Display tool arguments in permission dialog

Testing

Use any MCP tool and trigger a permission dialog - arguments should now be visible.

- Backend: pass tool args in metadata when asking for MCP tool permissions
- Frontend: display tool arguments in permission dock UI
@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Apr 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

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

Labels

needs:compliance This means the issue will auto-close after 2 hours. needs:issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant