Document MCP tool modes and on-demand tool discovery - #798
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Directus docs to explain the new MCP “tool registry” approach (default vs tool_mode=registry) and aligns AI Assistant guidance with on-demand tool discovery, including troubleshooting and security implications of registry mode.
Changes:
- Documented MCP tool modes (default vs registry), including the
search→ tool-details →executeflow and trade-offs. - Added troubleshooting and security guidance specific to registry mode (notably around approvals for
execute). - Refined AI Assistant tips/tools/setup language around on-demand tool discovery and disabling tools for capability-limiting (not cost).
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| content/guides/12.ai/2.mcp/1.installation.md | Adds “Choose a Tool Mode” section and registry-mode guidance; also updates examples/settings tables. |
| content/guides/12.ai/2.mcp/3.tools.md | Introduces “Tool Modes” section describing default vs registry behavior and trade-offs. |
| content/guides/12.ai/2.mcp/5.troubleshooting.md | Adds a troubleshooting entry explaining why only three tools appear in registry mode. |
| content/guides/12.ai/2.mcp/7.security.md | Adds a registry-mode-specific warning about auto-approving execute. |
| content/guides/12.ai/1.assistant/1.setup.md | Updates the default system prompt template and cost guidance bullets. |
| content/guides/12.ai/1.assistant/3.tools.md | Clarifies on-demand tool discovery and reframes disabling tools as a capability restriction. |
| content/guides/12.ai/1.assistant/4.tips.md | Refines best practices and revises cost/tool-disable guidance to match on-demand loading. |
Suppressed comments (1)
content/guides/12.ai/2.mcp/1.installation.md:382
- The
chatexample block is malformed (## :::chatheading + missing opening---frontmatter delimiter). Other pages use the:::chatcomponent with---delimiters; as-is this will likely render as plain text instead of a chat component.
## :::chat
chatId: "verify-connection"
messages:
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
JamesW1
approved these changes
Aug 19, 2026
JamesW1
left a comment
Contributor
There was a problem hiding this comment.
LGTM if fix the formatting issue mentioned in comments
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.
Documents the search-first tool registry from directus/directus#27797.
tool_mode=registry(search,execute,schema), when to use each, and the approval trade-offs