Skip to content

feat(plugin): add Codex plugin support#73

Merged
lxcong merged 1 commit into
mainfrom
feat/codex-plugin
Jul 17, 2026
Merged

feat(plugin): add Codex plugin support#73
lxcong merged 1 commit into
mainfrom
feat/codex-plugin

Conversation

@lxcong

@lxcong lxcong commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

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: bundles skills/, points mcpServers at .codex-plugin/mcp.json, and carries interface metadata for the install UI (fields calibrated against the official Notion/Figma plugins in openai/plugins).
  • .codex-plugin/mcp.json — remote-HTTP MCP entry for https://api.agentkey.app/v1/mcp, authenticated via MCP OAuth (RFC 9728 discovery). Codex plugins have no userConfig/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).
  • Description/keywords refresh — both plugin manifests and the Claude marketplace entry now use the Product Hunt positioning ("one-stop live data marketplace for your agent") and cover the full category list (finance, e-commerce, business data, weather/maps, travel).
  • README / README_zh — document the Codex plugin install path.

Why no oauth_resource

The 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 appends resource=<server url> to the authorization request automatically (RFC 8707), and Codex appends a configured oauth_resource as a second resource param 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 + url alone is sufficient — discovery does the rest. Guardrails documented in .claude/CLAUDE.md / AGENTS.md checklists.

Test plan

  • All JSON manifests validate
  • codex plugin marketplace add <local path> + install succeeds (Codex desktop)
  • OAuth sign-in completes end-to-end after oauth_resource removal (re-test pending)

🤖 Generated with Claude Code

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
lxcong merged commit 7133166 into main Jul 17, 2026
2 checks passed
@lxcong
lxcong deleted the feat/codex-plugin branch July 17, 2026 05:38
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).
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