Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions agents/src/lib/permission-evaluator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ export const GLOBAL_OVERRIDES: PermissionRule[] = [
decision: "deny",
reason: "Worktree creation is managed by Anvil. Use the Bash tool with `git worktree add` if you need a worktree, or ask the user to create one from the sidebar.",
},
{
toolPattern: "^(Mcp|ListMcpResources|ReadMcpResource|SubscribeMcpResource|UnsubscribeMcpResource|SubscribePolling|UnsubscribePolling)$",
decision: "deny",
reason: "MCP is not supported. Do not attempt to use MCP tools.",
},
];

// ── Helpers ────────────────────────────────────────────────────────
Expand Down
7 changes: 0 additions & 7 deletions core/lib/hooks/tool-deny.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@

export const DISALLOWED_TOOLS = [
"EnterWorktree",
"Mcp",
"ListMcpResources",
"ReadMcpResource",
"SubscribeMcpResource",
"UnsubscribeMcpResource",
"SubscribePolling",
"UnsubscribePolling",
] as const;

export type DenyResult =
Expand Down