The PlanetScale CLI includes an MCP server that provides AI tools direct access to your PlanetScale databases.
Run the underlying MCP server directly — without Agent-CoreX routing.
npx -y cliAgent-CoreX intelligently routes which tools from planetscale/mcp your AI agent actually needs per request — reducing token usage and cost.
agent-corex.json
{
"mcpServers": {
"cli": {
"command": "npx",
"args": [
"-y",
"cli"
]
}
}
}Connect in 2 minutes. Only pay for the tools your agent actually uses.
Recommended: intelligent tool routing, lower costs
uvx agent-corex mcp add cliAgent-CoreX selects only the tools your agent needs, cutting token usage by up to 60%.
Use planetscale/mcp directly without routing
npx -y cliNew to Agent-CoreX? View setup guide →