Prisma MCP Server
Databasestdiohttp-streaming
Prisma's official MCP server that lets AI tools manage Prisma ORM projects and Prisma Postgres databases through natural language. Provides both a local server for working with a project's Prisma schema and migrations, and a remote server for provisioning and managing Prisma Postgres databases. Useful for scaffolding models, generating and applying migrations, and running database workflows from an AI coding assistant.
连接
将此配置添加到 .claude/mcp.json
传输方式:
{
"mcpServers": {
"prisma": {
"command": "npx",
"args": [
"-y",
"prisma",
"mcp"
],
"env": {
"PRISMA_POSTGRES_API_KEY": "<YOUR_PRISMA_POSTGRES_API_KEY>"
}
}
}
}工具 (2)
migrate
Create and apply Prisma migrations from changes to the Prisma schema.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Name for the migration"
}
}
}create_database
Provision a new Prisma Postgres database in a chosen region.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Name of the database to create"
},
"region": {
"type": "string",
"description": "Region to provision the database in"
}
}
}资源
此服务器未提供任何资源。
提示词
此服务器未提供任何提示词。
服务器信息
- 星标
- 0
- 最后更新
- 2026年7月12日