Skip to main content

使用 Prisma + AI 更快地构建

在人工智能时代,代码越来越多地由代理编写,确保清晰度、类型安全性和可靠的基础设施至关重要。凭借在 TypeScript 生态系统中 5 年以上的领导地位,Prisma ORM 和 Prisma Postgres 为 AI 辅助开发提供了成熟的基础。

¥In the era of AI, where code is increasingly written by agents, ensuring clarity, type safety, and reliable infrastructure is essential. With 5+ years of leadership in the TypeScript ecosystem, Prisma ORM and Prisma Postgres provide the proven foundation for AI-assisted development.

立即开始

¥Get started

运行以下命令,使用提示符引导数据库:

¥Run the following command to bootstrap your database with a prompt:

npx prisma init --prompt "Create a habit tracker application"

AI 编码工具

¥AI Coding Tools

Prisma ORM 和 Prisma Postgres 与你的 AI 编码工具无缝集成。查看我们的文档,了解在各种 AI 编辑器中使用 Prisma 的技巧和窍门。

¥Prisma ORM and Prisma Postgres integrate seamlessly with your AI coding tools. Check out our documentation with tips and tricks for working with Prisma in various AI editors.

MCP 服务器

¥MCP server

借助 Prisma 的 MCP 服务器,你的 AI 工具可以代表你执行数据库操作:配置新的 Prisma Postgres 实例、创建数据库备份和执行 SQL 查询只是其部分功能。

¥With Prisma’s MCP server, your AI tool can take database actions on your behalf: Provisioning a new Prisma Postgres instance, creating database backups and executing SQL queries are just a few of its capabilities.

{
"mcpServers": {
"Prisma-Remote": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.prisma.io/mcp"]
}
}
}

Capabilities
and tools

Discover all the tools that make up the capabilities of the Prisma MCP server.

Integrating
in AI tools

Learn how to integrate Prisma’s MCP server in your favorite AI tool, such as Cursor, Claude, Warp, and more.

How we built it

Read this technical deep dive about the MCP protocol and how we built the Prisma MCP server.

资源

¥Resources

Vibe Coding with Limits — How to Build Apps in the Age of AI

Software development is rapidly changing with AI coding tools. This article shows how to harness productivity gains while staying in control — and why understanding your code still matters.

Vibe Coding an E-commerce App with Prisma MCP and Next.js

Learn how we used the Prisma MCP server to build a Next.js e-commerce app with AI. We also share tips for effective prompting and avoiding common pitfalls.

Integrating the Vercel AI SDK in a Next.js application

Learn how to build a chat application using the Vercel AI SDK with Next.js and Prisma ORM to store chat sessions and messages in a Prisma Postgres database.

集成

¥Integrations

Automate your workflows with Prisma Postgres and 2,800+ apps

Connect Prisma Postgres to other apps to create powerful automations and data workflows, such as automatically spinning up a new database when a customer signs up in Stripe or connecting your database with Slack, Notion, Airtable, or any other app in the Pipedream ecosystem.

Prompt your application with Firebase Studio & Prisma Postgres

Google's Firebase Studio is a fully-fledged online IDE with a native AI integration. Prompt and build apps directly in your browser and deploy them by connecting with a powerful Prisma Postgres database in just a few clicks.