Repository navigation
feat: top level tool config - #2008
Merged
Merged
Conversation
|
Can you provide an example please? I am trying to test this feature but I can't figure out how to use it. I am currently using v0.5.6 so it should be implemented in this version. Here is my setup: "mcp": {
"context7": {
"type": "local",
"enabled": false,
"command": ["npx", "-y", "@upstash/context7-mcp"]
}
}And the sample agent: ---
description: >-
Use this agent when you need to call a tool.
tools:
context7: true
---
When asked to access a tool, just check if you can call it. When asked to
access a MCP server, try to interact with it. Do not read from files to
determine what is exposed to you, just use your tools.I can confirm that removing the "enabled" flag would let the agent access the tool. |
Collaborator
Author
|
@arsham so basically:
|
Rwanbt
pushed a commit
to Rwanbt/unifia
that referenced
this pull request
May 5, 2026
AIALRA-0
pushed a commit
to AIALRA-0/opencode-turn-engine
that referenced
this pull request
Jun 10, 2026
meSingh
pushed a commit
to meSingh/opencode
that referenced
this pull request
Sep 6, 2026
simonklee
added a commit
that referenced
this pull request
Nov 12, 2026
Brings borrowed Markdown reads (#2005), one keymap view per key (#2008), allocation-free Markdown lines and code blocks (#2006), exact layout for culled ScrollBox content (#2003), zeroed hidden Yoga nodes (#2009), ordered tree-sitter edits (#2002), syntax::prewarm (#2007) and notification text kept inside its OSC (#1998). The header hash changes to 0x3afe582f1647625d, so native artifacts must be rebuilt. No client code changes. #817's super+backspace binding reaches the prompt (OT817), and #1998 changes OSC 9 for text that starts with a digit and for ConEmu (OT1998).
simonklee
added a commit
that referenced
this pull request
Nov 12, 2026
Brings borrowed Markdown reads (#2005), one keymap view per key (#2008), allocation-free Markdown lines and code blocks (#2006), exact layout for culled ScrollBox content (#2003), zeroed hidden Yoga nodes (#2009), ordered tree-sitter edits (#2002), syntax::prewarm (#2007) and notification text kept inside its OSC (#1998). The header hash changes to 0x3afe582f1647625d, so native artifacts must be rebuilt. No client code changes. #817's super+backspace binding reaches the prompt (OT817), and #1998 changes OSC 9 for text that starts with a digit and for ConEmu (OT1998).
simonklee
added a commit
that referenced
this pull request
Nov 12, 2026
Brings borrowed Markdown reads (#2005), one keymap view per key (#2008), allocation-free Markdown lines and code blocks (#2006), exact layout for culled ScrollBox content (#2003), zeroed hidden Yoga nodes (#2009), ordered tree-sitter edits (#2002), syntax::prewarm (#2007) and notification text kept inside its OSC (#1998). The header hash changes to 0x3afe582f1647625d, so native artifacts must be rebuilt. No client code changes. #817's super+backspace binding reaches the prompt (OT817), and #1998 changes OSC 9 for text that starts with a digit and for ConEmu (OT1998).
simonklee
added a commit
that referenced
this pull request
Nov 12, 2026
Brings borrowed Markdown reads (#2005), one keymap view per key (#2008), allocation-free Markdown lines and code blocks (#2006), exact layout for culled ScrollBox content (#2003), zeroed hidden Yoga nodes (#2009), ordered tree-sitter edits (#2002), syntax::prewarm (#2007) and notification text kept inside its OSC (#1998). The header hash changes to 0x3afe582f1647625d, so native artifacts must be rebuilt. No client code changes. #817's super+backspace binding reaches the prompt (OT817), and #1998 changes OSC 9 for text that starts with a digit and for ConEmu (OT1998).
simonklee
added a commit
that referenced
this pull request
Nov 13, 2026
Brings borrowed Markdown reads (#2005), one keymap view per key (#2008), allocation-free Markdown lines and code blocks (#2006), exact layout for culled ScrollBox content (#2003), zeroed hidden Yoga nodes (#2009), ordered tree-sitter edits (#2002), syntax::prewarm (#2007) and notification text kept inside its OSC (#1998). The header hash changes to 0x3afe582f1647625d, so native artifacts must be rebuilt. No client code changes. #817's super+backspace binding reaches the prompt (OT817), and #1998 changes OSC 9 for text that starts with a digit and for ConEmu (OT1998).
simonklee
added a commit
that referenced
this pull request
Nov 13, 2026
Brings borrowed Markdown reads (#2005), one keymap view per key (#2008), allocation-free Markdown lines and code blocks (#2006), exact layout for culled ScrollBox content (#2003), zeroed hidden Yoga nodes (#2009), ordered tree-sitter edits (#2002), syntax::prewarm (#2007) and notification text kept inside its OSC (#1998). The header hash changes to 0x3afe582f1647625d, so native artifacts must be rebuilt. No client code changes. #817's super+backspace binding reaches the prompt (OT817), and #1998 changes OSC 9 for text that starts with a digit and for ConEmu (OT1998).
simonklee
added a commit
that referenced
this pull request
Nov 14, 2026
Brings borrowed Markdown reads (#2005), one keymap view per key (#2008), allocation-free Markdown lines and code blocks (#2006), exact layout for culled ScrollBox content (#2003), zeroed hidden Yoga nodes (#2009), ordered tree-sitter edits (#2002), syntax::prewarm (#2007) and notification text kept inside its OSC (#1998). The header hash changes to 0x3afe582f1647625d, so native artifacts must be rebuilt. No client code changes. #817's super+backspace binding reaches the prompt (OT817), and #1998 changes OSC 9 for text that starts with a digit and for ConEmu (OT1998).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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