mirror of
https://github.com/open-webui/mcpo.git
synced 2026-07-21 03:05:29 -04:00
[PR #246] [MERGED] Feat: Tools can be filtered out using the disabledTools configuration option in the server declaration
#212
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/mcpo/pull/246
Author: @druellan
Created: 9/7/2025
Status: ✅ Merged
Merged: 10/14/2025
Merged by: @tjbck
Base:
dev← Head:disabledTools📝 Commits (4)
84b5cceFeat: option for disabling individual tools from servers058fe25Feat: adding the disabledTools feature to the changelog7bc2037Merge branch 'dev' into disabledToolscfa9206Merge branch 'dev' into disabledTools📊 Changes
4 files changed (+45 additions, -1 deletions)
View changed files
📝
CHANGELOG.md(+6 -0)📝
README.md(+2 -1)📝
src/mcpo/main.py(+24 -0)📝
src/mcpo/tests/test_hot_reload.py(+13 -0)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Added
disabledToolsin the server declaration, to indicate tools that must be filtered out from the model.Changed
mcp.config.jsonfile:disabledToolsoption in themcp.config.jsonfile:test_validate_server_config_disabled_tools_valid():test_validate_server_config_disabled_tools_invalid():Additional Information
I'm rather new to Python development, let me know if everything is ok.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.