Skip to content

Create Codex Plugin#5582

Open
clockwork-tien wants to merge 1 commit into
masterfrom
tien/feat/codex-plugin
Open

Create Codex Plugin#5582
clockwork-tien wants to merge 1 commit into
masterfrom
tien/feat/codex-plugin

Conversation

@clockwork-tien

@clockwork-tien clockwork-tien commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Description of Changes

Add SpacetimeDB Codex plugin at codex-plugin/ with agent skills (incl. MCP skill) and MCP server config. Also introduce additions to the MCP server to support the config:

  • spacetime mcp CLI subcommand which is a stdio to HTTP bridge for the MCP route, since local agents launch MCP servers over stdio
  • POST /v1/mcp MCP route with inherited auth which takes database as a tool argument, so the command needs no per user config (database name or identity) passed in, which simplifies users' MCP server config setup

The plugin's MCP server config:

{
  "mcpServers": {
    "spacetimedb": {
      "command": "spacetime",
      "args": ["mcp"]
    }
  }
}

Plugin usage:

codex plugin marketplace add clockworklabs/SpacetimeDB --sparse .agents --sparse codex-plugin
codex plugin add spacetimedb@spacetimedb-plugins

API and ABI breaking changes

None.

Expected complexity level and risk

2

Testing

  • I tested the implementation with Codex CLI and Desktop app. Tests, lint and format checks passed

@clockwork-tien
clockwork-tien force-pushed the tien/feat/codex-plugin branch from 1c9cb7d to 60304b2 Compare July 23, 2026 13:54
@clockwork-tien clockwork-tien changed the title feat: Create Codex Plugin Create Codex Plugin Jul 23, 2026
@clockwork-tien
clockwork-tien marked this pull request as ready for review July 23, 2026 14:10
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