Skip to content

fix: make mcp filter type explicit in mcp_filter demo#871

Open
octo-patch wants to merge 1 commit intokatanemo:mainfrom
octo-patch:fix/issue-644-explicit-mcp-filter-type
Open

fix: make mcp filter type explicit in mcp_filter demo#871
octo-patch wants to merge 1 commit intokatanemo:mainfrom
octo-patch:fix/issue-644-explicit-mcp-filter-type

Conversation

@octo-patch
Copy link
Copy Markdown

Fixes #644

Problem

The mcp_filter demo relied on commented-out notes to indicate that type: mcp is the default filter type. This was inconsistent with the http_filter demo which explicitly declares type: http on each filter.

Solution

Add explicit type: mcp to each filter definition in demos/filter_chains/mcp_filter/config.yaml, replacing the implicit default with a clear, self-documenting declaration. This mirrors the style of the http_filter demo.

Testing

  • Config validates successfully via validate_prompt_config
  • All 60 Python CLI tests pass

…#644)

Update the mcp_filter demo to explicitly declare `type: mcp` on each
filter definition, matching the style of the http_filter demo which
uses explicit `type: http`. This makes the configuration more readable
and self-documenting instead of relying on the implicit default.
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.

update mcp_fitler demo to only use mcp filter type

1 participant