Skip to content

Add an OpenAI plugin for the ChatGPT and Codex directory - #165

Merged
keypair34 merged 2 commits into
developmentfrom
feature/openai-plugin
Nov 25, 2026
Merged

keypair34 merged 2 commits into
developmentfrom
feature/openai-plugin

Conversation

@keypair34

@keypair34 keypair34 commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Adds packaging/openai/smbcloud, a plugin for OpenAI's plugin directory, which ChatGPT and Codex share. It bundles the same hosted MCP server as the Claude plugin (https://api.smbcloud.xyz/v1/mcp).

What is in it

  • plugin.json, portable Agent Plugins layout. OpenAI's fields sit under extensions["com.openai"]:
    • the listing: smbCloud, category Productivity, privacy and terms links, three starter prompts. It describes the smbCloud account, with Mail and web search as what it covers today
    • the review cases OpenAI requires: five positive and three negative
  • mcp.json: one streamable HTTP server, OAuth with dynamic client registration.
  • assets/logo.png: the same square logo the Claude plugin uses.
  • scripts/package-openai-plugin.sh: builds dist/smbcloud-openai-plugin-<version>.zip for upload. It refuses to package secrets, reviewer credentials, server headers, or an instruction to add another MCP server.
  • The version follows the release through sync-release-version.mjs and check-release-versions.mjs.
  • docs/openai-plugin.md: one plugin in two directories, the portal steps, how updates work, and the annotation justifications to paste in the review form.

The Claude and OpenAI packages are one plugin, so this also rewords the Claude plugin's description and README the same way. check-release-versions.mjs now fails when the two disagree on name, display name or MCP server URL. The Claude change reaches its directory only with a later release to main, since the tracked version has to go up.

Following the Claude directory's rejection, the listing mentions no other server, connector or the local smb --mcp.

Known mismatch

OpenAI's build docs put OAuth settings at mcpServers.<name>.extensions["com.openai"].auth. The generic Agent Plugins schema 1.0.0 does not allow extensions on a server entry. I followed OpenAI's docs, since their portal validates the upload. If the portal rejects it, the fallback is to drop that block: the server's OAuth discovery already tells ChatGPT how to register.

Depends on

smbcloudXYZ/smbcloud#220: tool annotations and the domain challenge route. OpenAI blocks a submission until every tool has readOnlyHint, destructiveHint and openWorldHint.

Checks

  • The listing limits pass (30 characters for the name and subtitle, prompts without @mentions, five and three test cases), and both manifests match the published schemas apart from the mismatch above.
  • check-release-versions.mjs passes, and fails when I change the OpenAI display name.
  • claude plugin validate passes on the Claude package.
  • The ZIP builds with four entries.
  • No Rust changed.

The demo video and reviewer credentials go in the portal's review form, not the package.

smbCloud Mail gets a plugin for OpenAI's plugin directory, which ChatGPT and
Codex share. It bundles the same hosted MCP server as the Claude plugin, with
OAuth through dynamic client registration, under the portable Agent Plugins
layout in packaging/openai/smbcloud.

The manifest carries the listing (smbCloud Mail, Communication), the privacy
and terms links, and the five positive and three negative review cases that
OpenAI requires. Like the Claude listing, it mentions no other server or
connector.

OpenAI takes a ZIP upload instead of following a branch.
scripts/package-openai-plugin.sh builds it into dist/ and refuses to package
secrets, reviewer credentials, server headers or an instruction to add
another MCP server. The version follows the release through the existing
sync and check scripts.

docs/openai-plugin.md covers the portal steps, the domain challenge and the
annotation justifications to paste into the review form.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: siGit Code v1.7.10 <[email protected]>
Co-Authored-By: OndeCode v1.1.2 <[email protected]>
@setoelkahfi setoelkahfi self-assigned this Nov 25, 2026
@keypair34

Copy link
Copy Markdown
Collaborator Author

@sigit-code-review

@sigit-code-review sigit-code-review 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.

This change introduces an OpenAI plugin package for smbCloud Mail, targeting the ChatGPT and Codex plugin directory. It adds a new directory with a plugin manifest (plugin.json) using OpenAI's required fields under extensions, an MCP server manifest (mcp.json) with OAuth DCR, and a logo asset. The packaging script ensures no secrets or reviewer credentials are included and that the ZIP is correctly structured. Documentation is updated to describe the new plugin, its packaging, and submission process. Version sync scripts are extended to cover the new manifest. No Rust or backend code is changed. The README and docs now mention the OpenAI plugin alongside the Claude plugin. The implementation follows OpenAI's schema, including a known mismatch for OAuth settings, and all required review/test cases are present.


Automated review by siGit Code Review · commit 3e1c218 · requested by @keypair34 · see the review dashboard

The OpenAI package was listed as smbCloud Mail while the Claude one is
smbCloud. Both are the same plugin: the OpenAI listing becomes smbCloud in
Productivity, and both describe the account with Mail as what it covers
today. One negative test case now asks about another provider's account.

check-release-versions fails when the two disagree on name, display name or
MCP server URL, or bundle more than that one server. The domain challenge
docs no longer name an environment variable, since the API reads the token
from its own configuration.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: siGit Code v1.7.10 <[email protected]>
Co-Authored-By: OndeCode v1.1.2 <[email protected]>

@sigit-code-review sigit-code-review 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.

This change adds an OpenAI plugin package for smbCloud, targeting the ChatGPT and Codex plugin directory. It introduces a new directory with a plugin manifest, MCP server config, and assets, and provides a packaging script that enforces security and compliance constraints. The plugin is described as a single entity shared with the Claude plugin, and the code now enforces that both plugin manifests agree on key identity and server fields. Documentation is updated to explain the new packaging and submission process, and the Claude plugin's description is reworded for consistency. No Rust or backend code is changed. Previous review conversations are not contradicted by this diff.


Automated review by siGit Code Review · commit 6c26a9b · see the review dashboard

Comment thread packaging/openai/smbcloud/plugin.json Resolved

@sigit-code-review sigit-code-review 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.

Still good to go.

@keypair34
keypair34 merged commit 0505790 into development Nov 25, 2026
12 checks passed
@keypair34
keypair34 deleted the feature/openai-plugin branch November 25, 2026 22:39
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.

4 participants