feat: add MCP Hub to sdk#714
Conversation
|
CodeAnt AI is reviewing your PR. Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
|
CodeAnt AI finished reviewing your PR. |
✅ Object Smoke Tests & Coverage ReportTest Results✅ All smoke tests passed Coverage Results
Coverage Requirement: 100% function coverage (all public methods must be called in smoke tests) ✅ All tests passed and all object methods are covered! View detailed coverage report
|
|
CodeAnt AI is running Incremental review Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
Sequence DiagramThis PR adds an object-oriented McpConfig class and exposes McpConfigOps on RunloopSDK so clients can create, retrieve, update, list, and delete MCP configs via the SDK. The diagram shows the core lifecycle (create → read → update → delete) using the SDK which delegates to the underlying API resources. sequenceDiagram
participant User
participant RunloopSDK
participant McpConfigOps
participant RunloopAPI
User->>RunloopSDK: sdk.mcpConfig.create(params)
RunloopSDK->>McpConfigOps: create(params)
McpConfigOps->>RunloopAPI: POST /mcp-configs (create)
RunloopAPI-->>McpConfigOps: MCP config id
McpConfigOps-->>RunloopSDK: McpConfig instance
User->>RunloopSDK: mcpConfig.getInfo()
RunloopSDK->>RunloopAPI: GET /mcp-configs/:id (retrieve)
RunloopAPI-->>RunloopSDK: McpConfig data
User->>RunloopSDK: mcpConfig.update(params)
RunloopSDK->>RunloopAPI: PATCH /mcp-configs/:id (update)
RunloopAPI-->>RunloopSDK: updated McpConfig
User->>RunloopSDK: mcpConfig.delete()
RunloopSDK->>RunloopAPI: DELETE /mcp-configs/:id
RunloopAPI-->>RunloopSDK: deletion confirmation
Generated by CodeAnt AI |
|
CodeAnt AI Incremental review completed. |
|
CodeAnt AI is running Incremental review Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
|
CodeAnt AI Incremental review completed. |
|
CodeAnt AI is running Incremental review Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
|
CodeAnt AI Incremental review completed. |
|
CodeAnt AI is running Incremental review Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
|
CodeAnt AI Incremental review completed. |
|
CodeAnt AI is running Incremental review Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
|
CodeAnt AI Incremental review completed. |
I also added the missing sdk tests