mirror of
https://github.com/open-webui/mcpo.git
synced 2026-11-05 01:27:39 +00:00
[GH-ISSUE #281] feat: 建议在readme中补充一点 #124
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#124
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 @tonycheungzyz on GitHub (Jan 23, 2026).
Original GitHub issue: https://github.com/open-webui/mcpo/issues/281
Check Existing Issues
Problem Description
使用mcpo连接sse带token的mcp服务器时:
readme中给定的方法:
mcpo --port 8000 --api-key "top-secret" --server-type "sse" --header '{"Authorization": "Bearer token", "X-Custom-Header": "value"}' -- http://127.0.0.1:8001/sse
在windows下是跑不通的,认证通不过要进行转义如下:。
mcpo --port 8000 --api-key "top-secret" --server-type "sse" --header '{\"Authorization\": \"Bearer token\", \"X-Custom-Header\": \"value\"}' -- http://127.0.0.1:8001/sse
这样才能使用,否则会报认证失败的代码。
然而 以上代码在linux下也不能用。linux下用readme中的格式才能跑。
因此希望在readme中补充上,让新用户少走弯路,我开始在windows上调了好久,最后才发现是命令行的问题。
Desired Solution you'd like
在readme中加上windows需转义的注释。
Alternatives Considered
No response
Additional Context
No response