feat(plugin): add Codex plugin support#73
Merged
Merged
Conversation
Ship the repo as a Codex plugin alongside the existing Claude Code
plugin and Skills-CLI paths:
- .codex-plugin/plugin.json: Codex manifest (skills + mcpServers +
interface metadata for the install UI)
- .codex-plugin/mcp.json: remote-HTTP MCP entry authenticated via MCP
OAuth (RFC 9728 discovery). Deliberately no oauth_resource: rmcp
already appends resource automatically and Codex would add it a
second time, which Clerk rejects as invalid_request
- .agents/plugins/marketplace.json: the repo is its own marketplace
(codex plugin marketplace add chainbase-labs/agentkey)
- release-please now bumps the Codex manifest version in lockstep
- AGENTS.md: accurate agent-facing repo guidance mirroring
.claude/CLAUDE.md
- Refresh plugin descriptions/keywords to the Product Hunt positioning
("one-stop live data marketplace") across both plugin manifests and
the Claude marketplace entry
- README/README_zh: document the Codex plugin install path
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
lxcong
added a commit
that referenced
this pull request
Jul 17, 2026
🤖 I have created a release *beep* *boop* --- ## [1.12.0](v1.11.0...v1.12.0) (2026-07-17) ### Features * **plugin:** add Codex plugin support ([#73](#73)) ([7133166](7133166)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
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
Ships this repo as a Codex plugin, alongside the existing Claude Code plugin and Skills-CLI paths.
.codex-plugin/plugin.json— Codex plugin manifest: bundlesskills/, pointsmcpServersat.codex-plugin/mcp.json, and carriesinterfacemetadata for the install UI (fields calibrated against the official Notion/Figma plugins inopenai/plugins)..codex-plugin/mcp.json— remote-HTTP MCP entry forhttps://api.agentkey.app/v1/mcp, authenticated via MCP OAuth (RFC 9728 discovery). Codex plugins have nouserConfig/header-interpolation mechanism, so the Claude-style${user_config.AGENTKEY_API_KEY}injection can't be reused..agents/plugins/marketplace.json— the repo is its own Codex marketplace:codex plugin marketplace add chainbase-labs/agentkey, then install AgentKey from/plugins.release-please-config.json— bumps the Codex manifest version in lockstep with the Claude one.AGENTS.md— accurate agent-facing repo guidance mirroring.claude/CLAUDE.md(replaces a stale draft that predated@agentkey/cli).Why no
oauth_resourceThe first local test failed at the Clerk authorize endpoint with
invalid_request: The request includes the parameter 'resource' more than once. Root cause: the rmcp SDK already appendsresource=<server url>to the authorization request automatically (RFC 8707), and Codex appends a configuredoauth_resourceas a secondresourceparam without deduplication (codex-rs/rmcp-client/src/perform_oauth_login.rs). Clerk enforces RFC 6749's no-repeated-params rule. Since our server fully advertises RFC 9728 resource metadata,type+urlalone is sufficient — discovery does the rest. Guardrails documented in.claude/CLAUDE.md/AGENTS.mdchecklists.Test plan
codex plugin marketplace add <local path>+ install succeeds (Codex desktop)oauth_resourceremoval (re-test pending)🤖 Generated with Claude Code