feat: add .mcp.json support to scaffold for mock MCP servers#49
Merged
Conversation
Enable skill submissions to include MCP server configuration that Harbor evaluations can use automatically. The scaffold now: - Detects .mcp.json at submission root or supportive/ (legacy location) - Copies .mcp.json to /workspace/.mcp.json for treatment variant only - Excludes .mcp.json from control variant (preserves A/B test validity) This allows skills requiring MCP tools (e.g., OpenShift Assisted Installer) to include mock MCP servers that the agent can discover and use during evaluation without external infrastructure dependencies. Co-authored-by: Cursor <cursoragent@cursor.com>
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
.mcp.jsonat submission root orsupportive/(legacy location).mcp.jsonto/workspace/.mcp.jsonfor treatment variant only.mcp.jsonfrom control variant (preserves A/B test validity)Use Case
Skills requiring MCP tools (e.g., OpenShift Assisted Installer) can now include mock MCP servers that the agent discovers and uses during evaluation without external infrastructure dependencies.
Example Structure
Test Plan
Made with Cursor