Skip to content

🐛 Post 0.5.0 MCP gateway updates leading to non-prefixed tool names #85

@evaline-ju

Description

@evaline-ju

Describe the bug

Previously with the 0.5.0 tag of MCP gateway we would see with current adapter ext-proc filter settingsDEBUG:ext-proc-PM:**** Invoking Tool Pre Invoke with payload: name='test2_hello_world' args={'tool_name': 'test2_hello_world',

On the latest (Kuadrant/mcp-gateway@92da659) MCP gateway there is some change in "default" behavior, where now the tool prefixes do not show up for the ext-proc

DEBUG:ext-proc-PM:**** Invoking Tool Pre Invoke with payload: name='hello_world' args={'tool_name': 'hello_world'

This may be due to unintentional filtering ordering and filter settings for the ext-proc here may be looked into. This is generally "INSERT_BEFORE" where MCP gateway routing has an INSERT_FIRST.

Steps To Reproduce

  • Deploy the latest MCP gateway
  • Try to guardrail tools based on names with vs. without the prefix

Expected Behavior

Default guardrailing post MCP gateway routing

Additional Context

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions