Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Remove unused include_tags/exclude_tags settings (#2756)

Jeremiah Lowin7d0b49bfb4a8
diff --git a/src/fastmcp/settings.py b/src/fastmcp/settings.py
index fc1940321..d89db320c 100644
--- a/src/fastmcp/settings.py
+++ b/src/fastmcp/settings.py
@@ -327,31 +327,6 @@ class Settings(BaseSettings):
),
] = None
- include_tags: Annotated[
- set[str] | None,
- Field(
- description=inspect.cleandoc(
- """
- If provided, only components that match these tags will be
- exposed to clients. A component is considered to match if ANY of
- its tags match ANY of the tags in the set.
- """
- ),
- ),
- ] = None
- exclude_tags: Annotated[
- set[str] | None,
- Field(
- description=inspect.cleandoc(
- """
- If provided, components that match these tags will be excluded
- from the server. A component is considered to match if ANY of
- its tags match ANY of the tags in the set.
- """
- ),
- ),
- ] = None
-
include_fastmcp_meta: Annotated[
bool,
Field(