Repository navigation
fix(release): add $schema to mcp.json in the OpenAI zip only - #61
Merged
Merged
Conversation
OpenAI finds no MCP server in an mcp.json without $schema and refuses the plugin-level test_cases; the Anthropic Directory refuses the field in the repo. build_zip now packages a generated mcp.json that names the schema, and a manifest test keeps the field out of the committed file. Refs #25
dmiv-helical
approved these changes
Nov 12, 2026
dmiv-helical
left a comment
Contributor
There was a problem hiding this comment.
I wonder if this incompatibility is enforced on purpose.
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.
Why
#58 removed
"$schema"fromplugins/helical-platform/mcp.jsonto clear the Anthropic Directory'sLOCAL_CODE_UNKNOWN_KEYblocker. That worked: v1.0.6 passed the automated checks and is now awaiting review. But OpenAI then refused the 1.0.6 zip:That
$schemaline is the only MCP-related difference between the accepted 1.0.5 zip and the refused 1.0.6 zip. A 1.0.6 zip with only$schemarestored inmcp.jsonwas accepted by OpenAI.mcp.json$schema$schemaChanges
scripts/release.py:build_zipleaves out the committedmcp.jsonand adds a generated one withMCP_SCHEMA, usinggit archive --add-virtual-file. Git writes every entry, so the commit timestamp and file modes match the rest of the zip, and rebuilds stay byte-identical. Ifmcp.jsonalready names a schema, it is packaged as is.check_ziprefuses a zip whosemcp.jsonhas no$schema.tests/helical-platform/test_plugin_manifest.py: the committedmcp.jsonmust not have$schema.DEVELOPING.md: documents the difference between the repo and the zip.Bumps the plugin to 1.0.7 so the merge to
mainreleases a zip built with this change. Thehelical-platform-v1.0.6release zip has no$schema, so OpenAI refuses it.Testing
make checkpasses: 47 tests, strict validation, install round-trips.make packagebuilds a 1.0.6 zip whose contents are identical to the one OpenAI accepted. Two builds give the same SHA-1.Refs #25