[PR #2008] feat: top level tool config #10158

Closed
opened 2026-02-16 18:14:46 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/2008

State: closed
Merged: Yes


I've heard the following a few times: "I want to enable an mcp server only for a particular agent"

currently it is kinda messy to disable a tool for each agent, then only not disable for one, having a top level configuration option can allow someone to disable an mcp server by default and only enable for the particular agent they want.

This follows existing pattern that permissions uses

note

if this isn't wanted feel free to close, ik there was talk of combining tools + permissions

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/2008 **State:** closed **Merged:** Yes --- I've heard the following a few times: "I want to enable an mcp server only for a particular agent" currently it is kinda messy to disable a tool for each agent, then only not disable for one, having a top level configuration option can allow someone to disable an mcp server by default and only enable for the particular agent they want. This follows existing pattern that permissions uses ## note **if this isn't wanted feel free to close**, ik there was talk of combining tools + permissions
yindo added the pull-request label 2026-02-16 18:14:46 -05:00
yindo closed this issue 2026-02-16 18:14:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10158