mirror of
https://github.com/open-webui/mcpo.git
synced 2026-11-05 01:27:39 +00:00
[GH-ISSUE #142] feat: MCP instructions support #63
Labels
No labels
bug
can't reproduce
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/mcpo#63
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rkconsulting on GitHub (May 15, 2025).
Original GitHub issue: https://github.com/open-webui/mcpo/issues/142
Check Existing Issues
Problem Description
As per MCP spec, an MCP server can send "instructions". This is used to have a way of passing general instructions to the model about what it can do with the MCP server and which tools to use when etc. We need to have a way to get these instructions to show up to the model in OWUI so that its use of the MCP is not severely disadvantaged compared to a client fully supporting MCP spec.
Desired Solution you'd like
MCPO currently generates an OpenAPI-standard "server description", but it simply uses the serverInfo.name and appends " MCP Server", which is pretty redundant since "MCP Server" is likely already in the name of the thing! :-D
So since this field currently serves no real purpose, i propose we put the MCP
instructionsinto this OpenAPI "description". They can be retrieved directly from the MCP session, just like theserverInfo:github.com/modelcontextprotocol/python-sdk@6353dd192c/src/mcp/types.py (L300)Then MCPO will be much more competitive and MCP servers will in many cases be more effective for OWUI!
Alternatives Considered
An alternative might be a description param in the config.json, but there is no real reason for this as the
instructionsare part of the current standard already.Additional Context
No response
@rkconsulting commented on GitHub (May 16, 2025):
@tjbck tested and works beautifully.
PR: https://github.com/open-webui/mcpo/pull/146