Ability to turn off specific tools from an MCP server

Open 💬 6 comments Opened Aug 30, 2025 by sloikodavid

What feature would you like to see?

Please add the ability to turn off specific tools from an MCP server. I'd like the tools to completely be excluded from the context, not simply disallowed to be called like Claude Code handles it. It could help with servers like the supabase MCP, where I want all read-only operations to be handled through the MCP, but for it to not be able to apply migrations through the MCP, since I want that to be handled locally and through the CLI, with version control for migrations

Are you interested in implementing this feature?

_No response_

Additional information

_No response_

View original on GitHub ↗

6 Comments

nakshatra-nahar · 12 months ago

Would like to work on this enhancement

sloikodavid · 12 months ago
Would like to work on this enhancement

That'd be amazing :)

nakshatra-nahar · 11 months ago

Hey @sloikod

Completed the feature implementation - feat: add MCP tool filtering with exclude_tools and include_tools #3255

sloikodavid · 11 months ago

@nakshatra-nahar Wow! I'm actually impressed, tysm for making this haha

nakshatra-nahar · 11 months ago

How can we take this forward @sloikod ?

sloikodavid · 11 months ago

@nakshatra-nahar Not sure, my first time doing this too