[GH-ISSUE #281] feat: 建议在readme中补充一点 #124

Closed
opened 2026-10-18 21:12:00 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @tonycheungzyz on GitHub (Jan 23, 2026).
Original GitHub issue: https://github.com/open-webui/mcpo/issues/281

Check Existing Issues

  • I have searched the existing issues and discussions.

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

Originally created by @tonycheungzyz on GitHub (Jan 23, 2026). Original GitHub issue: https://github.com/open-webui/mcpo/issues/281 ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### 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_
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-webui/mcpo#124
No description provided.