Skip to content

MCP setupDatabases

Prisma MCP Server

Connect your agent to Prisma's hosted MCP server to manage Prisma Postgres databases, run SQL, restore backups and search the Prisma docs.

npx workspacetemplates add prisma-mcp --tool claude-code

Writes 1 file to your project root

.mcp.jsonmerge into your file8 lines · 111 BFile
{
  "mcpServers": {
    "prisma": {
      "type": "http",
      "url": "https://mcp.prisma.io/mcp"
    }
  }
}

What it does

Prisma runs a hosted MCP server for the Prisma Data Platform. Through it an agent can create and inspect Prisma Postgres databases, run SQL, restore automated backups, manage object storage buckets and read logs of Prisma Compute deployments.

There is nothing to install. You add the URL, sign in with your Prisma account in the browser, choose a workspace and approve access.

Example

you › Create a database called shop-staging and list the tables it has.

agent › Created shop-staging in your workspace. It is empty: no tables yet. The connection string is available in the Prisma Console.

Questions

How does it sign in?
With OAuth. Your client opens Prisma Console, you pick a workspace and approve; no key is stored in the config.
Does it run migrations on my project?
The hosted server manages databases and SQL on the platform. Your schema files stay in your repo and are changed by the agent through normal edits.
  • Convex MCP Server

    MCP setuptypescript

    Free
  • MongoDB MCP Server

    MCP setupDatabases

    Free
  • Neon MCP Server

    MCP setupDatabases

    Free
  • PlanetScale MCP Server

    MCP setupDatabases

    Free