Skip to content

[Bug] MCP server question #10323

@AngleNaris

Description

@AngleNaris

Contact Information

kasidias

1Panel Version

v2.0.10

Problem Description

添加MCP服务器并将协议设置为HTTP Stream后,会发现反向代理没有按照配置的端点进行配置 (手动修改后也不能用)

Steps to Reproduce

{
"mcpServers": {
"upstash-context7": {
"args": [
"-y",
"@upstash/context7-mcp"
],
"command": "npx"
}
}
}

部署的是context7

输出类型选 streamablehttp

The expected correct result

正确创建对于 streamablehttp 的反向代理

Related log output

upstash-context7  | [supergateway] Starting...
upstash-context7  | [supergateway] Supergateway is supported by Supermachine (hosted MCPs) - https://supermachine.aiupstash-context7  | [supergateway]   - outputTransport: streamableHttp
upstash-context7  | [supergateway] Running stateless server
upstash-context7  | [supergateway]   - Headers: (none)
upstash-context7  | [supergateway]   - port: 40007
upstash-context7  | [supergateway]   - stdio: npx -y @upstash/context7-mcp
upstash-context7  | [supergateway]   - streamableHttpPath: /context7upstash-context7  | [supergateway]   - CORS: disabled
upstash-context7  | [supergateway]   - Health endpoints: (none)
upstash-context7  | [supergateway] Listening on port 40007
upstash-context7  | [supergateway] StreamableHttp endpoint: http://localhost:40007/context7

Additional Information

我把绑定的mcp映射域名删了重新创建了一次也还是有问题

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions