[PR #5230] [MERGED] MCP tool manager #5361

Closed
opened 2026-06-05 15:21:07 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/5230
Author: @timothycarambat
Created: 3/18/2026
Status: Merged
Merged: 3/18/2026
Merged by: @timothycarambat

Base: masterHead: mcp-tool-manager


📝 Commits (3)

📊 Changes

31 files changed (+971 additions, -57 deletions)

View changed files

📝 frontend/src/components/lib/Toggle/index.jsx (+47 -0)
📝 frontend/src/locales/ar/common.js (+25 -0)
📝 frontend/src/locales/cs/common.js (+25 -0)
📝 frontend/src/locales/da/common.js (+25 -0)
📝 frontend/src/locales/de/common.js (+26 -0)
📝 frontend/src/locales/en/common.js (+25 -0)
📝 frontend/src/locales/es/common.js (+26 -0)
📝 frontend/src/locales/et/common.js (+25 -0)
📝 frontend/src/locales/fa/common.js (+25 -0)
📝 frontend/src/locales/fr/common.js (+26 -0)
📝 frontend/src/locales/he/common.js (+25 -0)
📝 frontend/src/locales/it/common.js (+26 -0)
📝 frontend/src/locales/ja/common.js (+25 -0)
📝 frontend/src/locales/ko/common.js (+25 -0)
📝 frontend/src/locales/lv/common.js (+25 -0)
📝 frontend/src/locales/nl/common.js (+25 -0)
📝 frontend/src/locales/pl/common.js (+25 -0)
📝 frontend/src/locales/pt_BR/common.js (+26 -0)
📝 frontend/src/locales/ro/common.js (+26 -0)
📝 frontend/src/locales/ru/common.js (+25 -0)

...and 11 more files

📄 Description

Pull Request Type

  • feat (New feature)
  • 🐛 fix (Bug fix)
  • ♻️ refactor (Code refactoring without changing behavior)
  • 💄 style (UI style changes)
  • 🔨 chore (Build, CI, maintenance)
  • 📝 docs (Documentation updates)

Description

In order to preserve context, allow users/admins to be able to toggle off specific tools in MCPs since they are often very bloated and lead to over-pollution of context windows every chat.

Only applies to MCP, which in particular wastes the most tokens.

Visuals (if applicable)

Screenshot 2026-03-18 at 1 36 50 PM

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated (if applicable)
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/5230 **Author:** [@timothycarambat](https://github.com/timothycarambat) **Created:** 3/18/2026 **Status:** ✅ Merged **Merged:** 3/18/2026 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `mcp-tool-manager` --- ### 📝 Commits (3) - [`d5083e7`](https://github.com/Mintplex-Labs/anything-llm/commit/d5083e7f8e0b6257cfa8c2979faf8ad4ff8d2470) MCP tool manager - [`927910c`](https://github.com/Mintplex-Labs/anything-llm/commit/927910c29ffc62c791e758ab84a709f156ac4e17) Mcp tool manager i18 (#5231) - [`2fdb65e`](https://github.com/Mintplex-Labs/anything-llm/commit/2fdb65e7b7451c59323f718a266c6d5b8f8e83bb) fix bad i18n key ### 📊 Changes **31 files changed** (+971 additions, -57 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/lib/Toggle/index.jsx` (+47 -0) 📝 `frontend/src/locales/ar/common.js` (+25 -0) 📝 `frontend/src/locales/cs/common.js` (+25 -0) 📝 `frontend/src/locales/da/common.js` (+25 -0) 📝 `frontend/src/locales/de/common.js` (+26 -0) 📝 `frontend/src/locales/en/common.js` (+25 -0) 📝 `frontend/src/locales/es/common.js` (+26 -0) 📝 `frontend/src/locales/et/common.js` (+25 -0) 📝 `frontend/src/locales/fa/common.js` (+25 -0) 📝 `frontend/src/locales/fr/common.js` (+26 -0) 📝 `frontend/src/locales/he/common.js` (+25 -0) 📝 `frontend/src/locales/it/common.js` (+26 -0) 📝 `frontend/src/locales/ja/common.js` (+25 -0) 📝 `frontend/src/locales/ko/common.js` (+25 -0) 📝 `frontend/src/locales/lv/common.js` (+25 -0) 📝 `frontend/src/locales/nl/common.js` (+25 -0) 📝 `frontend/src/locales/pl/common.js` (+25 -0) 📝 `frontend/src/locales/pt_BR/common.js` (+26 -0) 📝 `frontend/src/locales/ro/common.js` (+26 -0) 📝 `frontend/src/locales/ru/common.js` (+25 -0) _...and 11 more files_ </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat (New feature) - [ ] 🐛 fix (Bug fix) - [x] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [ ] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Description In order to preserve context, allow users/admins to be able to toggle off specific tools in MCPs since they are often very bloated and lead to over-pollution of context windows **every chat.** Only applies to MCP, which in particular wastes the most tokens. <!-- Describe the changes in this PR that are impactful to the repo. What problem does it solve? --> ### Visuals (if applicable) <img width="1840" height="1106" alt="Screenshot 2026-03-18 at 1 36 50 PM" src="https://github.com/user-attachments/assets/5b8595fc-8f72-4703-8768-6d989c105589" /> <!-- Add screenshots or screen recordings to demonstrate the changes, especially for UI updates. --> ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [ ] I ran `yarn lint` from the root of the repo & committed changes - [ ] Relevant documentation has been updated (if applicable) - [ ] I have tested my code functionality - [ ] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 15:21:07 -04:00
yindo closed this issue 2026-06-05 15:21:07 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#5361