如何将 Prisma Postgres 远程 MCP 连接到 Cline

约 1 分钟即可把 Prisma 的远程 MCP 服务端接入 Cline。如需排查 OAuth / 401 问题,可先用 OAuth 2.1 调试器体检端点。

🛡️ Official✓ VerifiedStreamable HTTPOAuth 2.1🛡️ A+~301 tok5 tools
Streamable HTTPhttps://mcp.prisma.io/mcp

Add to cline_mcp_settings.json (Cline → MCP Servers → Configure), or paste it via Cline's MCP marketplace file:

{
  "mcpServers": {
    "prisma": {
      "type": "streamableHttp",
      "url": "https://mcp.prisma.io/mcp"
    }
  }
}

接入步骤

  1. 打开 Cline MCP 设置 — Cline 侧边栏 → MCP Servers → 编辑 cline_mcp_settings.json。
  2. 添加服务端 — 写入 "prisma": { "type": "streamableHttp", "url": https://mcp.prisma.io/mcp }。
  3. 完成认证 — 首次调用时客户端会打开 Prisma 的 OAuth 授权页面——点击允许后工具即可用。
  4. 验证 — 在 在线 Inspector 中粘贴 https://mcp.prisma.io/mcp 并运行 initialize + tools/list 验证连通性。

🧰 工具预览(5)

ToolSafetyDescriptionParameters
list_databases
~39 tok
🟢 ReadList Prisma Postgres databases in your workspace.—
create_database
~64 tok
🟠 WriteProvision a new Prisma Postgres database.name*: stringregion: string
execute_sql
~68 tok
🟠 WriteRun a SQL statement against a database.databaseId*: stringsql*: string
get_database_schema
~55 tok
🟢 ReadInspect tables and columns of a database.databaseId*: string
get_connection_string
~55 tok
🟢 ReadGet a connection string for a database.databaseId*: string

更多连接指南