Keep the scope, sandbox, credentials and approval settings supplied by the user or host. Obtain authorization before delegating, exposing project files to another provider, enabling connectors or hooks, using paid services or deploying. Use synthetic or redacted inputs for examples. Keep security reviews static and defensive, with findings and fixes grounded in source inspection.
Before building, submitting or changing a ChatGPT plugin or Apps SDK app: get it through OpenAI's directory review (auth, package, OAuth, data rules, portal).
Verify the plugin against directory requirements before its first submission. ChatGPT and Codex share OpenAI's plugin directory. This skill works with any remote MCP server, in any language, behind any OAuth provider or none. The rules use OpenAI's own pages, read on 2026-10-26, and product submissions.
OpenAI's pages, each available as Markdown by appending .md: developers.openai.com/plugins/deploy/submission, /deploy/submission-errors, /deploy/app-review, /plugin-guidelines, /build/plugins, /build/auth, /reference and /deploy/connect-chatgpt.
2026-10-26; § Where OpenAI's pages disagree). Read them again before every upload and every submission, and record the date. Where this skill and a page disagree, the page wins and this skill gets a dated correction.mcp-server skill's, if you use this collection; this skill does not need it.| Custom connector | Directory plugin | |
|---|---|---|
| How a user gets it | adds the server's URL in ChatGPT: Plugins → + → Add custom MCP server (workspace policy permitting) | finds it in the directory, by its link or by name |
| What you ship | a remote MCP server | the server and a ZIP package: manifest, mcp.json, at least one skill, assets, review materials |
| Sign-in | whatever the server's OAuth discovery offers | declared in the package: none, OAuth, or both |
| Review | none | automated scans, then people, then daily rescans for as long as it is listed |
Connect it as a custom connector against production first. A working custom connector is most of the way there. The directory adds the package, data rules, publishing identity and review. Record the review video this way too. Before approval, the plugin itself runs only as a local install in ChatGPT's desktop app or Codex, never on the web.
| Decision | The default | Why it is decided before the first upload | Where |
|---|---|---|---|
| Who signs in | OAuth on the server the product already has, if it has accounts | The portal reads authentication from each upload's mcp.json, but an existing connection can lock it | references/package.md § mcp.json · references/portal-and-review.md § Create the draft |
| Which endpoint | One per plugin, on a host you will keep | Only one MCP server can be connected per plugin, and the origin (scheme, host, port) can never change: a new origin is a new plugin | references/portal-and-review.md § After publication |
| Which tools | The everyday actions, minus anything that takes or returns a secret | OpenAI's restricted data includes API keys and passwords, and the review reads the server's own tool list. A server whose setup tools take provider keys needs a narrowed list on a route of its own | references/tools-and-data.md § Restricted data |
| Who publishes | The legal entity the privacy policy and terms name, verified on the OpenAI Platform | The directory shows the verified identity chosen when the draft is created, whatever the ZIP says; it must match the legal pages | references/portal-and-review.md § Before the first upload |
| Which project | One with global data residency | Projects with EU data residency cannot submit plugins with MCP servers | same |
| Where it is available | Everywhere (publication.countries omitted) | An allowlist in the package applies when the plugin is published | references/package.md § plugin.json |
mcp.json, per server, before the first upload. For a server with no sign-in, never complete an OAuth sign-in in the portal: the connection it makes is kept. references/package.md § mcp.json.2026-10-23). Gate tool calls, not initialize and tools/list. references/server-and-auth.md § A surface with no sign-in.params may carry _meta, and the server accepts it. ChatGPT sends user, session, location, trace and call ids on every tool call (observed 2026-10-27). OpenAI documents a locale on initialize. A parser refusing unknown keys there would refuse every one of those calls. references/server-and-auth.md § What every request carries.references/tools-and-data.md.references/tools-and-data.md § The privacy policy.readOnlyHint, destructiveHint and openWorldHint explicitly. Set readOnlyHint, destructiveHint and openWorldHint on every tool. An irreversible effect is its own tool; an action stays destructive even when another tool can undo it. references/tools-and-data.md § Annotations.plugin.json; the reviewer's account in the portal. references/package.md § plugin.json.python <skill dir>/scripts/check_package.py <package dir> --zip <zip> before every upload; a test in the product's suite holds the same byte-for-byte equality, because the portal reads only the ZIP and a ZIP rebuilt by hand goes stale.references/tools-and-data.md § Names, descriptions and copy._meta accepted, discovery open, OAuth meeting ChatGPT's client, the address check (if any) on the caller's own address. Connect it in ChatGPT as a custom connector against production and call every tool; record the date and what was called (references/server-and-auth.md).references/tools-and-data.md).mcp.json, a skill that names the tools, assets, the five and three review cases taken from the routing evals' own file, the checker, and the ZIP pinned (references/package.md).references/server-and-auth.md § Testing before approval).references/portal-and-review.md § Review information).references/portal-and-review.md § Before you submit.references/portal-and-review.md § After publication).Each rule's origin, the case that taught it, is in receipts.md beside this file; read it when a rule's edge is unclear.
Every item the review checks was verified on the deployed build before submitting, and the review came back with no fix request on any of them.
| File | Holds | Read when |
|---|---|---|
references/package.md | the package's layout, every plugin.json field with its limit, mcp.json's authentication, the skill inside the package, what cannot be submitted, pinning the ZIP | building or changing the package |
references/server-and-auth.md | what every ChatGPT request carries, what ChatGPT's OAuth client needs, per-tool securitySchemes, a surface with no sign-in, shared addresses, testing before approval | building the endpoint, its OAuth or its address gate; testing it in ChatGPT |
references/tools-and-data.md | restricted data, response minimization, the privacy policy, annotations, names and copy, and the tests that hold them | choosing the tools, shaping replies, writing the privacy page |
references/portal-and-review.md | the account and identity, the draft, connecting and scanning, review information, the review, rejection and appeal, publishing, after publication, and the checklist before submitting | in the portal; answering a review; changing a listed plugin |
scripts/check_package.py | checks a package folder and its ZIP against the rules OpenAI states and the traps met; errors exit 1 | before every upload |
scripts/test_check_package.py | builds a valid package and breaks it one way at a time | after every edit to the checker |
Follow the stricter reading until OpenAI's pages agree. These were read on 2026-10-26; correct this list when they agree.
justification_required ("Every MCP tool annotation must include a justification") and a final-submission requirement of "a justification for each value on every MCP tool". Keep one sentence per hint per tool ready; it does not change the hint, which comes from the server.2026-10-19), with a new plugin as the fallback. Try the corrected ZIP first.name. The submission page asks for "lowercase letters, numbers, and single hyphens"; the submission-errors page allows "ASCII letters, digits, _, or -". Use the first.description within 1,024 characters. "At most 4000 characters" on the submission page, "1,024 characters or fewer" on the submission-errors page. Keep it within 1,024; the checker does.Treat upstream examples as patterns. Validate scope and results against current project constraints, available tools and decisions recorded by the owner.
Adapted from Pawel Huryn’s upstream skill.