Plugin for installing the PlanetScale MCP server, PlanetScale Skills, and Database Skills into Codex.
Add this repository as a marketplace, then install the plugin:
codex plugin marketplace add planetscale/codex-pluginOr in the ChatGPT desktop app (Work mode or Codex), open Plugins, add the marketplace source, and install PlanetScale.
In the Codex TUI, run /mcp to see the PlanetScale MCP server.
If it does not appear immediately after install, restart Codex and check /mcp again. Plugin-provided MCP server changes are applied on restart. Authenticate with:
codex mcp login PlanetScaleThis plugin pulls in skills from two upstream repositories via Git submodules:
| Upstream | Submodule path | What it provides |
|---|---|---|
planetscale/skills |
skills |
PlanetScale operating/assessment skills (safe orchestrator, inventory, Insights, Traffic Control, schema recommendations, and more) |
planetscale/database-skills |
database-skills |
Engine skills for MySQL, Postgres, Vitess, and Neki |
Both track main. Codex loads ./skills/ by default and also loads ./database-skills/skills/ via the plugin manifest.
Clone with submodules:
git clone --recurse-submodules https://github.com/planetscale/codex-plugin.gitIf you already cloned without submodules:
git submodule update --init --recursiveTo pull the latest upstream skills into this repository:
git submodule sync --recursive
git submodule update --init --remote database-skills skillsCommit the resulting submodule pointer changes in this repository.
Add a personal or repo marketplace that points at this working copy, then install the plugin and restart the ChatGPT desktop app or Codex CLI.
Example personal marketplace entry (~/.agents/plugins/marketplace.json):
{
"name": "local-planetscale",
"interface": {
"displayName": "Local PlanetScale"
},
"plugins": [
{
"name": "planetscale",
"source": {
"source": "local",
"path": "./"
},
"policy": {
"installation": "AVAILABLE",
"authentication": "ON_INSTALL"
},
"category": "Developer Tools"
}
]
}When testing from a personal marketplace, copy or symlink this plugin directory under the marketplace root (for example ~/.codex/plugins/planetscale) and set source.path accordingly, or run:
codex plugin marketplace add /absolute/path/to/codex-plugin- Confirm the
PlanetScaleMCP server is listed (authentication required on first use). - Confirm PlanetScale operating skills (for example
00-safe-orchestrator) are available. - Confirm the MySQL, Postgres, Vitess, and Neki database skills are available.
GitHub Actions runs .github/workflows/update-skills.yml weekly and also supports manual runs (workflow_dispatch).
When either submodule has new commits, the workflow opens or updates a PR that contains only:
- The
database-skillsand/orskillssubmodule pointer updates .gitmodules(if submodule metadata changed)