Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this handle nonmcp requests from host application #60

Open
WoxWik opened this issue Mar 15, 2025 · 1 comment
Open

Does this handle nonmcp requests from host application #60

WoxWik opened this issue Mar 15, 2025 · 1 comment

Comments

@WoxWik
Copy link

WoxWik commented Mar 15, 2025

Assuming host prepends its own list of tools, how are host tools handled, and also about naming conflicts are mcp tools then prioritized?

Thanks for the details

@SecretiveShell
Copy link
Owner

The downstream tools are currently stripped here.

    request.tools = []

Though you could fix this by setting the line to be

request.tools = request.tools if request.tools else []

And then checking in the call_tool function if the tool does not exist inside of bridge to forward the tool call json downstream.

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

No branches or pull requests

2 participants