feat: add select/deselect all tools option for MCP server endpoints#5266
feat: add select/deselect all tools option for MCP server endpoints#5266saifsmailbox98 merged 9 commits intomainfrom
Conversation
Co-Authored-By: Tony <dangtony98@gmail.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Greptile OverviewGreptile SummaryThis PR adds a select/deselect all checkbox to the MCP endpoint tool selection UI, enabling users to efficiently toggle multiple tools at once. The implementation:
The code follows established patterns in the codebase and integrates cleanly with existing functionality. Confidence Score: 5/5
Important Files Changed
|
Co-Authored-By: Tony <dangtony98@gmail.com>
|
Can you make sure that all tools are enabled by default when a new MCP server is added to an MCP endpoint? |
frontend/src/pages/ai/MCPEndpointDetailPage/components/MCPEndpointToolSelectionSection.tsx
Outdated
Show resolved
Hide resolved
frontend/src/pages/ai/MCPEndpointDetailPage/components/MCPEndpointToolSelectionSection.tsx
Outdated
Show resolved
Hide resolved
…ools by default Co-Authored-By: Tony <dangtony98@gmail.com>
|
I've addressed all the feedback:
|
Co-Authored-By: Tony <dangtony98@gmail.com>
|
Maybe for the enable/disable all toggle instead of the long text we can just show |
Co-Authored-By: Tony <dangtony98@gmail.com>
|
Done! Changed the toggle text to just "All" - simpler and cleaner. The tooltip still shows "Enable all tools" / "Disable all tools" for clarity on hover. |
|
I had asked you to enable all tools by default when an MCP server is added. You can revert those changes as it's not needed anymore, the switch/toggle is convenient enough for users to enable/disable all tools by themselves. |
Co-Authored-By: Tony <dangtony98@gmail.com>
|
Done! Reverted the backend changes for auto-enabling all tools when a new MCP server is added. The toggle is indeed convenient enough for users to enable/disable all tools themselves. |
frontend/src/pages/ai/MCPEndpointDetailPage/components/MCPEndpointToolSelectionSection.tsx
Outdated
Show resolved
Hide resolved
Co-Authored-By: Tony <dangtony98@gmail.com>
Co-Authored-By: Tony <dangtony98@gmail.com>

Context
When enabling/disabling tools on an MCP server in Agent Sentinel, users currently have to toggle tools one by one, which is tedious when dealing with servers that have many tools. This PR adds a select/deselect all toggle in the header of the tool list for each connected server.
The toggle:
Updates since last revision
Based on PR feedback:
bg-mineshaft-700backgroundScreenshots
N/A - No local testing was performed. UI changes should be verified.
Steps to verify the change
Human review checklist
Type
Checklist
Link to Devin run: https://app.devin.ai/sessions/b2b483a48ae9421b8823fa568d9e6bc2
Requested by: Tony (@dangtony98)