> ## Documentation Index
> Fetch the complete documentation index at: https://planetscale.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# AI-enhanced development

> Improve your database development experience with AI-powered tooling specifically designed for PlanetScale

## PlanetScale MCP Server

Authenticated MCP servers allow your AI tools to access information specific to your PlanetScale account.
Access your PlanetScale organizations, databases, branches, schema, and Insights data from within your development tools.

The MCP server can be installed in development tools as well as other MCP-accessible tools like Claude in the web browser and desktop app.

<Card title="PlanetScale MCP Server" icon={<svg fill="currentColor" fill-rule="evenodd" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M15.688 2.343a2.588 2.588 0 00-3.61 0l-9.626 9.44a.863.863 0 01-1.203 0 .823.823 0 010-1.18l9.626-9.44a4.313 4.313 0 016.016 0 4.116 4.116 0 011.204 3.54 4.3 4.3 0 013.609 1.18l.05.05a4.115 4.115 0 010 5.9l-8.706 8.537a.274.274 0 000 .393l1.788 1.754a.823.823 0 010 1.18.863.863 0 01-1.203 0l-1.788-1.753a1.92 1.92 0 010-2.754l8.706-8.538a2.47 2.47 0 000-3.54l-.05-.049a2.588 2.588 0 00-3.607-.003l-7.172 7.034-.002.002-.098.097a.863.863 0 01-1.204 0 .823.823 0 010-1.18l7.273-7.133a2.47 2.47 0 00-.003-3.537z"/><path d="M14.485 4.703a.823.823 0 000-1.18.863.863 0 00-1.204 0l-7.119 6.982a4.115 4.115 0 000 5.9 4.314 4.314 0 006.016 0l7.12-6.982a.823.823 0 000-1.18.863.863 0 00-1.204 0l-7.119 6.982a2.588 2.588 0 01-3.61 0 2.47 2.47 0 010-3.54l7.12-6.982z"/></svg>} href="/connect/mcp">
  Install in Claude Code, Cursor, VS Code and more
</Card>

## Automated Database Optimization

Use the MCP server with AI coding agents to continuously optimize your database. Agents can review production Insights data and Schema Recommendations, then open pull requests with performance improvements — on a recurring schedule.

<Card title="Self-improving database" icon="rotate" href="/connect/self-improving-database">
  Set up automated agents that optimize your database daily
</Card>

## Database Skills

Skills are specifically formatted Markdown files which instruct AI tools on how to perform tasks or generate code in a specific way. We've collated a series of skills including guidance for MySQL, Vitess, Postgres, and Neki.

To install a skill, simply run the following command and follow the prompts:

```bash theme={null}
npx skills add planetscale/database-skills
```

Check out the [Database Skills](https://database-skills.com/) website for more information.

## Claude Code Plugin

The [PlanetScale Claude Code Plugin](https://github.com/planetscale/claude-plugin) is a convenient way to install the PlanetScale MCP server into Claude Code.

In Claude Code, add this GitHub repository as a marketplace, then install the plugin:

```bash theme={null}
/plugin marketplace add planetscale/claude-plugin
/plugin install planetscale@planetscale-plugins
```

You may need to restart your Claude Code session before the MCP server is available.

## Need help?

Get help from [the PlanetScale Support team](https://planetscale.com/contact?initial=support), or join our [Discord community](https://pscale.link/community) to see how others are using PlanetScale.
