Skip to content

fix: match the existing OpenAI app's MCP URL in the ZIP - #13

Merged
dodeja merged 1 commit into
mainfrom
fix/openai-mcp-url
Oct 19, 2026
Merged

dodeja merged 1 commit into
mainfrom
fix/openai-mcp-url

Conversation

@dodeja

@dodeja dodeja commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

OpenAI rejected the 1.1.0 upload: "The MCP URL must match the existing app. Restore its original URL and reupload." The existing app is registered as https://mcp.terminal49.com/, with a trailing slash. Our .mcp.json has no slash.

  • openai/listing.json sets mcpUrl, and the ZIP builder uses it for the OpenAI ZIP only. The shared .mcp.json used by Claude, Codex, and Cursor doesn't change.
  • The builder only accepts an https URL on mcp.terminal49.com.

npm run validate and npm run build:openai-zip pass.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

OpenAI rejected the upload because the ZIP's MCP URL must match the
existing app's exactly, and the app was registered as
https://mcp.terminal49.com/ with a trailing slash. Set mcpUrl in
openai/listing.json and apply it only to the OpenAI ZIP.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-19T17:33:31.463693Z 1f08795 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@dodeja
dodeja merged commit a2ea1b7 into main Oct 19, 2026
1 check passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1f08795e50

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

if (!/^[a-z0-9]+(-[a-z0-9]+)*$/.test(listing.name ?? "") || listing.name.length > 64) {
errors.push("openai/listing.json name must be the OpenAI package name");
}
if (listing.mcpUrl !== undefined && !/^https:\/\/mcp\.terminal49\.com(\/[a-z]*)?$/.test(listing.mcpUrl)) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Reject path suffixes in the OpenAI MCP URL

When mcpUrl is changed to a lowercase path such as https://mcp.terminal49.com/mcp, this regex accepts it and the builder copies it directly into the ZIP, even though such paths are prohibited and would no longer exactly match the existing app URL. Validate against the one registered URL (including its required trailing slash) rather than permitting arbitrary suffixes.

AGENTS.md reference: AGENTS.md:L10-L12

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant