You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to do this via plugin? I arrived at this code after reading docs, but how to proceed further?
exportconstMcpApproval=async({ project, client, $, directory, worktree })=>{return{"tool.execute.before": async(input,output)=>{if(input.tool.startsWith("mcp_")){// What to do here? How to show approval dialog in TUI?}},}}
I keep circling back to this need. I've been compensating with hyper specific agent access but it's imperfect and leave's me disabling some mcp tools permanently. I've got a local build running with a real slim quick permissions add for mcp that sits beside and works identically to bash permissions. I'll see how it tests out tomorrow. I'll be happy for a permanent fix though because this has defiantly been a pain point.
Reacted by nitg16, pypeaday and Jan-Henrik Damaschke
Activity
github-actions commentedon Nov 28, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
rekram1-node commentedon Dec 2, 2025
we need to expand permissions to work for all tools, currently not possible (unless you do this via plugin)
nitg16 commentedon Dec 5, 2025
How to do this via plugin? I arrived at this code after reading docs, but how to proceed further?
JeminiRiver commentedon Dec 7, 2025
I keep circling back to this need. I've been compensating with hyper specific agent access but it's imperfect and leave's me disabling some mcp tools permanently. I've got a local build running with a real slim quick permissions add for mcp that sits beside and works identically to bash permissions. I'll see how it tests out tomorrow. I'll be happy for a permanent fix though because this has defiantly been a pain point.
nitg16 commentedon Jan 7, 2026
Any update on this? I see a new permission system. But it is not clear from docs if it covers mcp.
0byte-coding commentedon Jan 9, 2026
it does, check https://opencode.ai/docs/tools/#configure
nitg16 commentedon Jan 9, 2026
Thanks, will check it out.
rekram1-node commentedon Jan 9, 2026
This is possible in new permission system, here is an example: