Skip to content

[Bug] Failed to add mcp tool #3123

@MoeexT

Description

@MoeexT

Nexent Version

v2.2.0

Problem Description

好的。总结一下这个 bug:

问题:添加 MCP 服务 io.github.drfccv/mcp-server-12306 失败

根因:Kubernetes Pod/Lable 命名不符合 RFC 1123 规范

具体错误

  • Pod name mcp-io-github-drfccv-mcp-server-12306-tenant_i-... 包含 _(下划线)
  • Label io.github.drfccv/mcp-server-12306 包含 /(斜杠)

建议修复

  • Pod name 中的 _ 应替换为 -
  • Label 中的 / 应替换为 .-

错误位置nexent/container/kubernetes.py 或 MCP container service 的 Pod 生成逻辑

这是产品代码 bug,需要开发团队修复。

Reproduction Steps

Image

Additional Information

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

Status
No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions