Skip to content

fix: replace removed FastMCP include_tags/exclude_tags kwargs with en…#320

Merged
privateip merged 1 commit intoitential:develfrom
AutomateIP:fix/fastmcp-include-tags-removed
Feb 25, 2026
Merged

fix: replace removed FastMCP include_tags/exclude_tags kwargs with en…#320
privateip merged 1 commit intoitential:develfrom
AutomateIP:fix/fastmcp-include-tags-removed

Conversation

@AutomateIP
Copy link
Contributor

…able/disable API

FastMCP 3.x removed include_tags and exclude_tags from the constructor. Passing them (even as None) raises TypeError. Replace with the new post-creation API: server.enable(tags=..., only=True) for include and server.disable(tags=...) for exclude.

…able/disable API

FastMCP 3.x removed include_tags and exclude_tags from the constructor.
Passing them (even as None) raises TypeError. Replace with the new
post-creation API: server.enable(tags=..., only=True) for include and
server.disable(tags=...) for exclude.
@AutomateIP AutomateIP requested a review from a team as a code owner February 25, 2026 17:36
@privateip privateip merged commit d1f5e3e into itential:devel Feb 25, 2026
4 checks passed
wcollins pushed a commit to wcollins/itential-mcp that referenced this pull request Mar 6, 2026
…able/disable API (itential#320)

FastMCP 3.x removed include_tags and exclude_tags from the constructor.
Passing them (even as None) raises TypeError. Replace with the new
post-creation API: server.enable(tags=..., only=True) for include and
server.disable(tags=...) for exclude.

Co-authored-by: joksan.flores <joksan.flores@itential.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants