Repository navigation
feat(connectors): add OpenDesign MCP integration and CLI installation - #2019
Open
Master-Frank wants to merge 11 commits into
Open
Master-Frank wants to merge 11 commits into
Master-Frank wants to merge 11 commits into
Conversation
This was referenced Oct 14, 2026
Merged
Collaborator
GitHub PR 提交规范✅ PR 必备清单1. 📸 提供视觉证明(截图/录屏)必须贴截图,无论放在 PR 描述中还是评论里——让 reviewer 看到"人",证明是经过人工检查、用心完成的。 2. 🧪 测试用例完整 & CI 通过
3. 🔄 与 AI 协作:确认理解一致
4. 🎯 代码质量:最小修改 & 追问优化
📋 Quick Checklist(可直接放进 PR 模板)- [ ] 📸 已提供 UI 截图/功能演示
- [ ] 🧱 测试用例已添加并通过
- [ ] ✅ CI Workflow 全部通过
- [ ] 🤖 已与 AI 对齐需求理解
- [ ] 🎯 遵循最小修改原则,代码结构清晰
- [ ] 📝 已询问并处理代码优化建议核心原则:PR 是沟通,不是交接。让 reviewer 轻松,就是让自己更快合入。 🔍 本 PR 自动检查发现的问题
|
Master-Frank
marked this pull request as ready for review
October 21, 2026 12:15
Contributor
Author
@jubaoliang 已补充 |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add OpenDesign as a built-in connector using standard stdio MCP. Users can detect a local installation or import its canonical launch configuration, select the connector in a conversation, confirm a brief, generate/refine a project and obtain preview links or requested source.
Reuse the stdio loading path for built-in and custom MCP servers. Connections are scoped by user, connector, agent, conversation and launch fingerprint, serialized within a conversation, and closed on idle, reload or shutdown. Discovery uses the official MCP SDK and handles paginated tool lists.
Remove the separate
managedcatalog mode,runtime_handler,managed.py, the handler registration protocol andruntime.py. AgentManager owns only stdio connection lifecycle. OpenDesign extends the shared stdio runtime with its brief/task/resource behavior.Preserve existing HTTP/gateway handling, tool-name normalization and structured results. Conversation preparation covers dashboard, IM and cron entry points.
Keep the automatic local detection, advanced JSON import, official logo and catalog order before Notion. Credentials use existing encryption and sharing/access controls.
Keep
octop connector install/get/remove open-designfor the companion one-clickod mcp install octopintegration; this registers MCP configuration, not the OpenDesign application.Keep connector-specific preparation, validation, stdio specs, probes and runtime construction in
open_design.py. Shared builder/probe/API paths delegate through a small bundled function table; they contain no OpenDesign name checks. This adds no transport mode or lifecycle protocol.Dependencies / merge readiness
Uses the upstream PyPI dependency
octop-harness[all]>=1.0.6and its lockfile. No Git override or temporary source snapshot is needed. The persistent MCP client is available in this release.The Harness
ManagedMCPClientwraps the standard MCP SDK; it does not define a new transport or protocol. Octop's separatemanagedregistration framework has been removed.nexu-io/open-design#8724 provides the companion one-click OpenDesign CLI target.
Validation
After merging
developat3359f5bdon 2026-11-02, with the regular PyPI lockfile:make all: Ruff, strict mypy (633 source files), 5371 passed / 33 skipped.npm run build: TypeScript and production build passed.Local
docs/plans/notes, runtime data and credentials are excluded. Full background task tracking and the design console remain in phase 2 (#2048).Latest sync: merged
developatdde733b1(#2755), retaining the upstream Docker assertion unchanged. Focused Docker tests: 7 passed; normal commit checks passed. The full-suite results above are from the preceding sync.Visual verification
Screenshots captured during the earlier local acceptance of this phase; these show phase 1 rather than the phase 2 console. Existing sharing/access controls from current
developare retained by the conflict resolution.Built-in catalog: OpenDesign before Notion
Local detection and advanced configuration import