All integrations

PlanetScale

ConnectionMCP

Authenticated access to your PlanetScale Postgres and MySQL databases.

Read the full connection docs

Install

Connections live under agent/connections/. Auth is brokered by Vercel Connect, so install the framework and the Connect SDK:

bash
npm install eve@latest @vercel/connect

Quick start

Create agent/connections/planetscale.ts. The connection name is derived from the filename:

ts
// agent/connections/planetscale.tsimport { connect } from "@vercel/connect/eve";import { defineMcpClientConnection } from "eve/connections";
export default defineMcpClientConnection({  url: "https://mcp.pscale.dev/mcp/planetscale",  description: "PlanetScale: query Postgres and MySQL databases.",  auth: connect("planetscale"),});

Connect owns the OAuth flow, and each end-user authorizes in their own browser before their first tool call.

Configure

Link your project, create the connector, and pull OIDC locally:

bash
vercel linkvercel connect create planetscalevercel env pull

See the Connections docs for principal types, headers, approval, and protocol-specific filters.