-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
Is your feature request related to a problem? Please describe.
The problem I am facing is that I am currently creating an MCP server that through tools creates artifacts (python code, html code)
There is no problem in the model receiving the outcome, but when it presents it in the chat, it essentially regenerates it which causes the following problems:
- slight alterations
- token usage
- speed
Describe the solution you'd like
I would like to be able to enforce the direct return of the tool/ressource.
If using Claude desktop, I would like to even return the output as an artifact, but that is of course specific to anthropic/Claude
Examples:
- Tool creates a custom URL, Ideally this becomes visible in chat as is, quickly and without alteration
- Tool creates Python code, ideally this is just visible as is in the chat OR even claude artifacts
Describe alternatives you've considered
I have tried to prompt/describe my tools to enforce this, but this did not work
Additional context
I am not sure if this is the correct place to ask, but would be very keen to discuss this as I can imagine it is a common problem?
I can also help refine the problem statement a bit more if that's of interest