feat(providers): add mcp category for provider profiles
还没有人认领这个 Issue。
评估
调研方向
从 crates/openshell-providers/src/profiles.rs 中第 825 行附近的类别 enum 开始。检查现有的有效类别和不支持类别错误,然后添加请求的 MCP 类别。当 MCP 提供商配置文件类别能够在不改变 schema 或行为的情况下被接受时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Problem Statement
Provider profiles use a category field to classify services. Current valid values: inference, source_control, agent, other, data, messaging, knowledge. There is no mcp category for MCP tool server profiles.
As MCP tool servers become a common integration pattern for agents, MCP-specific profiles need a dedicated category so developers can filter and discover them via openshell provider list-profiles.
Proposed Design
Add mcp to the valid category values in crates/openshell-providers/src/profiles.rs.
This is a one-line addition to the category enum. No schema changes, no behavioral changes.
Agent Investigation
- Category enum parsed in
crates/openshell-providers/src/profiles.rs:825— unknown categories produce"unsupported provider profile category"error McpOptionsProfilestruct exists but isn't used in any built-in profile YAML- MCP L7 protocol (
L7Protocol::Mcp) already recognized by the supervisor relay
Checklist
- Searched for existing issues — no issue tracks adding an
mcpcategory - Minimal scope — one enum value addition
- 主要语言
- Rust
- 星标
- 8.7k
- 派生
- 1.3k
- 平均合并
- 2 天 7 小时
- 30 天内合并 PR
- 243
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NVIDIA/OpenShell 的其他 Issue
-
area:docs
难度 1/5 1 小时以内 新手友好度 88/100
-
state:triage-needed
难度 2/5 1-3 小时 新手友好度 82/100
-
area:cli state:validated
难度 2/5 1-3 小时 新手友好度 72/100
-
area:build spike state:review-ready state:stale
难度 2/5 半天 新手友好度 68/100
-
area:docs state:stale
难度 1/5 1 小时以内 新手友好度 82/100
相似的 Issue
-
risk:low runtime status:in-progress type:test
难度 1/5 1 小时以内 新手友好度 92/100
zeroclaw-labs/zeroclaw#11023 ·
-
good first issue refactor
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
难度 2/5 1-3 小时 新手友好度 84/100
-
难度 1/5 1 小时以内 新手友好度 72/100
bevyengine/bevy#25861 ·