mirror of
https://github.com/open-webui/mcpo.git
synced 2026-07-01 21:04:00 -04:00
feat: 建议在readme中补充一点 #128
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?
Originally created by @tonycheungzyz on GitHub (Jan 23, 2026).
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