Skip to content

feat: add MCP Hub to sdk#714

Merged
dines-rl merged 14 commits into
mainfrom
dines/mcp-hub-sdk
Feb 26, 2026
Merged

feat: add MCP Hub to sdk#714
dines-rl merged 14 commits into
mainfrom
dines/mcp-hub-sdk

Conversation

@dines-rl

@dines-rl dines-rl commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

I also added the missing sdk tests

@codeant-ai

codeant-ai Bot commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

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 ·
Reddit ·
LinkedIn

@codeant-ai codeant-ai Bot added the size:XL This PR changes 500-999 lines, ignoring generated files label Feb 6, 2026
@codeant-ai

codeant-ai Bot commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

CodeAnt AI finished reviewing your PR.

@github-actions

github-actions Bot commented Feb 6, 2026

Copy link
Copy Markdown

✅ Object Smoke Tests & Coverage Report

Test Results

✅ All smoke tests passed

Coverage Results

Metric Coverage Required Status
Functions 100% 100%
Lines 89.01% - ℹ️
Branches 65.75% - ℹ️
Statements 87.67% - ℹ️

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
File Functions Lines Branches
src/sdk.ts ✅ 100% 85.11% 70.83%
src/sdk/agent.ts ✅ 100% 100% 100%
src/sdk/blueprint.ts ✅ 100% 100% 80%
src/sdk/devbox.ts ✅ 100% 91.81% 96.96%
src/sdk/execution-result.ts ✅ 100% 92.68% 70.83%
src/sdk/execution.ts ✅ 100% 94.11% 83.33%
src/sdk/gateway-config.ts ✅ 100% 100% 100%
src/sdk/mcp-config.ts ✅ 100% 100% 100%
src/sdk/network-policy.ts ✅ 100% 100% 100%
src/sdk/scenario-run.ts ✅ 100% 96.87% 50%
src/sdk/scenario.ts ✅ 100% 100% 100%
src/sdk/scorer.ts ✅ 100% 100% 100%
src/sdk/snapshot.ts ✅ 100% 100% 100%
src/sdk/storage-object.ts ✅ 100% 80% 48.93%

📋 View workflow run

@codeant-ai

codeant-ai Bot commented Feb 10, 2026

Copy link
Copy Markdown
Contributor

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 ·
Reddit ·
LinkedIn

@codeant-ai

codeant-ai Bot commented Feb 10, 2026

Copy link
Copy Markdown
Contributor

Sequence Diagram

This 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
Loading

Generated by CodeAnt AI

@codeant-ai codeant-ai Bot added size:XXL This PR changes 1000+ lines, ignoring generated files and removed size:XL This PR changes 500-999 lines, ignoring generated files labels Feb 10, 2026
@codeant-ai

codeant-ai Bot commented Feb 10, 2026

Copy link
Copy Markdown
Contributor

CodeAnt AI Incremental review completed.

@codeant-ai

codeant-ai Bot commented Feb 23, 2026

Copy link
Copy Markdown
Contributor

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 ·
Reddit ·
LinkedIn

@codeant-ai codeant-ai Bot added size:XXL This PR changes 1000+ lines, ignoring generated files and removed size:XXL This PR changes 1000+ lines, ignoring generated files labels Feb 23, 2026
@codeant-ai

codeant-ai Bot commented Feb 23, 2026

Copy link
Copy Markdown
Contributor

CodeAnt AI Incremental review completed.

@codeant-ai

codeant-ai Bot commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

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 ·
Reddit ·
LinkedIn

@codeant-ai codeant-ai Bot added size:XXL This PR changes 1000+ lines, ignoring generated files and removed size:XXL This PR changes 1000+ lines, ignoring generated files labels Feb 25, 2026
@codeant-ai

codeant-ai Bot commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

CodeAnt AI Incremental review completed.

@codeant-ai

codeant-ai Bot commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

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 ·
Reddit ·
LinkedIn

@codeant-ai codeant-ai Bot added size:XXL This PR changes 1000+ lines, ignoring generated files and removed size:XXL This PR changes 1000+ lines, ignoring generated files labels Feb 25, 2026
@codeant-ai

codeant-ai Bot commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

CodeAnt AI Incremental review completed.

@codeant-ai

codeant-ai Bot commented Feb 26, 2026

Copy link
Copy Markdown
Contributor

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 ·
Reddit ·
LinkedIn

@codeant-ai codeant-ai Bot added size:XXL This PR changes 1000+ lines, ignoring generated files and removed size:XXL This PR changes 1000+ lines, ignoring generated files labels Feb 26, 2026
@codeant-ai

codeant-ai Bot commented Feb 26, 2026

Copy link
Copy Markdown
Contributor

CodeAnt AI Incremental review completed.

@dines-rl dines-rl changed the title [wip] MCP Config feat: add MCP Config to sdk Feb 26, 2026
@dines-rl dines-rl changed the title feat: add MCP Config to sdk feat: add MCP Hub to sdk Feb 26, 2026
@dines-rl
dines-rl requested a review from alb-rl February 26, 2026 01:18
Comment thread tests/smoketests/utils.ts Outdated
@dines-rl
dines-rl merged commit 4bc5ba4 into main Feb 26, 2026
9 checks passed
@dines-rl
dines-rl deleted the dines/mcp-hub-sdk branch February 26, 2026 01:52
@stainless-app stainless-app Bot mentioned this pull request Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL This PR changes 1000+ lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants