unity-mcp icon indicating copy to clipboard operation
unity-mcp copied to clipboard

Auto-approve tool calls

Open justinpbarnett opened this issue 1 year ago • 2 comments

Would love the ability to not have to click "approve" every single time a tool gets called. There may be a way to add this to the config of the MCP clients. If so we should have an easy toggle in Window > Unity MCP that allows the user to decide if they want that feature.

X post

Michael Gschwandtner

Does claude desktop support the

"autoApprove": [

config for mcp servers?

I saw that in the Godot-MCP repo. I am not actually sure if that even does something because I am using Dive instead of Claude-Desktop but if it does then you could avoid the approve this and that stuff

justinpbarnett avatar Mar 21 '25 14:03 justinpbarnett

I think it would be better to approach this a little more cautiously. When Unity recompiles the script after modifying it, it will initialize the tcp connection, and I am concerned about the side effects that this might have. Of course, services like claude, which are widely used, take this into account and retry, but it doesn't seem to work perfectly. In fact, it's sometimes better for me to control this.

But it's a great idea!

flashwade03 avatar Mar 27 '25 11:03 flashwade03

IDE's do this for you now, including Cursor, Claude Code and Claude Desktop. Closing.

dsarno avatar Aug 09 '25 15:08 dsarno