Skip to content

About

PlanetScale MCP server and skills for Google Antigravity

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

PlanetScale Antigravity Plugin

Plugin for installing the PlanetScale MCP server, PlanetScale Skills, and Database Skills into Google Antigravity.

What it adds

  • MCP server: planetscale, PlanetScale's hosted MCP server at https://mcp.pscale.dev/mcp/planetscale. It reads your organizations, databases, branches, schema, and Insights, and can run queries you approve.
  • Skills: 21 skills. Fifteen PlanetScale operating skills (for example safe-orchestrator, readonly-inventory, query-insights-and-tags), four Database Skills (database-mysql, database-postgres, database-vitess, database-neki), and an index skill for each set (planetscale, database).

Prerequisites

  • The Antigravity CLI (agy). The steps below use it.
  • A PlanetScale account

Install

agy plugin install https://github.com/planetscale/antigravity-plugin

Then sign in to PlanetScale:

  1. Start agy and run /plugin.
  2. Expand planetscale under Installed and choose Sign in.
  3. In the browser, approve access on PlanetScale's consent screen. You can choose no access, read-only, or full access for each organization or database.

Already set up PlanetScale by hand?

Antigravity prefixes plugin servers with the plugin name, so the plugin's server (planetscale_ps) doesn't clash with a planetscale entry in your own ~/.gemini/config/mcp_config.json. Once the plugin's server is signed in and working, you can remove your own entry so the agent doesn't see two copies of the same tools.

The plugin names its server ps rather than planetscale on purpose. Antigravity puts mcp_<plugin>_<server>_ in front of every tool name, and Gemini caps tool names at 64 characters, so a longer server name pushes some PlanetScale tools over the limit and Antigravity silently drops them.

Verify it loaded

agy plugin list

planetscale should show 21 skills, 1 MCP server. In a session, ask "List my PlanetScale organizations" to check the MCP connection.

Skills source and sync

This plugin vendors skills from two upstream repositories:

Upstream Vendored path What it provides
planetscale/skills skills/ PlanetScale operating and assessment skills
planetscale/database-skills skills/ Engine skills for MySQL, Postgres, Vitess, and Neki

Both track main. The sync script copies each upstream skill directly under skills/, using the frontmatter name as the directory name. Antigravity requires each skill's folder name to match its name. Operating skills drop the planetscale- prefix, and engine skills get a database- prefix. Source commit SHAs are recorded in skill-sources.json.

Each set has an index skill at skills/planetscale/SKILL.md or skills/database/SKILL.md, generated from templates in skill-index/. Edit the templates, not the rendered indexes.

Local testing

git clone https://github.com/planetscale/antigravity-plugin.git
cd antigravity-plugin
python3 scripts/sync-skills.py      # refresh vendored skills
agy plugin validate . --strict      # must pass
agy plugin install .                # install your working copy

Automated weekly updates

.github/workflows/update-skills.yml runs weekly and on demand. It syncs the upstream skills, checks the vendored layout, and opens a PR when anything changed.

Contributing

See CONTRIBUTING.md.

License

This project is licensed under the Apache License 2.0.

About

PlanetScale MCP server and skills for Google Antigravity

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages