mirror of
https://github.com/open-webui/mcpo.git
synced 2026-07-21 03:05:29 -04:00
[PR #155] [CLOSED] feat: implement mcp resource #179
Reference in New Issue
Block a user
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/mcpo/pull/155
Author: @dheerapat
Created: 5/24/2025
Status: ❌ Closed
Base:
dev← Head:dheeto/resource-implementation📝 Commits (3)
27af7a6Merge pull request #135 from taylorwilsdon/issues/7396dc949feat: add resource route and register to main app0b1b039feat: image result will store in memory and return uri📊 Changes
3 files changed (+61 additions, -3 deletions)
View changed files
📝
src/mcpo/main.py(+6 -1)📝
src/mcpo/utils/main.py(+8 -2)➕
src/mcpo/utils/resource_handler.py(+47 -0)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Added
mcpo/utils/resource_handler.pyChanged
mcpo/utils/main.pyunderprocess_tool_responsemethod, if tool return image content, add that image in to resource and return URI to clientDeprecated
None
Removed
None
Fixed
None
Security
None
Breaking Changes
None
Additional Information
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.