test: SDK PR #3054 MCP config fix testing#96
Draft
jpshackelford wants to merge 1 commit into
Draft
Conversation
This temporarily patches setup.sh to install the SDK from the fix/mcp-config-format-passthrough branch instead of PyPI. Testing SDK PR: OpenHands/software-agent-sdk#3054 Related issue: #93 The fix adds expose_secrets=true to get_mcp_config() and properly handles the mcpServers format returned by the API. Co-authored-by: openhands <openhands@all-hands.dev>
|
🚀 Deploy Preview PR Created/Updated A deploy preview has been created/updated for this PR. Deploy PR: https://github.com/OpenHands/deploy/pull/4047 Once the deploy PR's CI passes, the automation service will be deployed to the feature environment. |
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.
Purpose
This PR temporarily patches
setup.shto install the SDK from the PR branch instead of PyPI, enabling us to test the MCP config fix before it's released.Testing SDK PR
SDK PR: OpenHands/software-agent-sdk#3054
Related Issue: #93
The Problem
MCP servers configured in user's SaaS workspace settings work in regular conversations but do not work in automation-triggered conversations.
The Fix (in SDK PR #3054)
The PR modifies
openhands-workspace/openhands/workspace/cloud/workspace.py:expose_secrets=trueparameter to the/api/v1/users/meAPI callmcpServersformat directly when returned by API (instead of expecting legacysse_servers/shttp_serversarrays)Changes in This PR
Modified
automation/presets/prompt/setup.shandautomation/presets/plugin/setup.shto install SDK from:Testing Plan
trigger-deploy-preview.ymlwill auto-create a PR in OpenHands/deployThis is a test PR only. After testing is complete:
This PR was created by an AI agent (OpenHands) on behalf of the user.
@jpshackelford can click here to continue refining the PR