Commit fafd33f
committed
feat: add auto-approve support for MCP access_resource tool
- Extended auto-approval logic to handle both use_mcp_tool and access_mcp_resource types
- MCP resource access requests are now auto-approved when alwaysAllowMcp is enabled
- Maintains existing behavior for MCP tools with individual alwaysAllow settings
- Ensures notification sounds are properly suppressed for auto-approved resource requests
Fixes auto-approve workflow for access_resource MCP operations1 parent 59d6e74 commit fafd33f
1 file changed
+25
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1145 | 1145 | | |
1146 | 1146 | | |
1147 | 1147 | | |
1148 | | - | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
1149 | 1173 | | |
1150 | 1174 | | |
1151 | 1175 | | |
| |||
0 commit comments