Prisma Postgres MCP リモートMCPサーバー – 公式URL・MCP接続設定・ツール一覧

🛡️ Official✓ VerifiedStreamable HTTPOAuth 2.1🛡️ A+~301 tok5 tools·Online505ms·30日間稼働率: 100%·最終チェック 10分前

Prisma Postgres MCP は Prisma が提供するリモートMCPサーバー(公式運営、カテゴリ:データベース・BaaS・開発者ツール・Git)です。エンドポイント https://mcp.prisma.io/mcp を通じて、AIエージェントが直接呼び出せる 5 個の構造化ツールを提供します。

このページでは、公式リモートエンドポイント、トランスポート、認証方式、全ツールスキーマ、リアルタイムの死活監視・セキュリティ監査結果を掲載し、Cursor・Claude Code・VS Code・ChatGPT など 10 のクライアントへのMCP接続手順を解説します。

https://mcp.prisma.io/mcp
提供元
Prisma ↗
カテゴリ
🗄️ データベース・BaaS🛠️ 開発者ツール・Git
Streamable HTTPhttps://mcp.prisma.io/mcp
Install in Cursor →

Or add to ~/.cursor/mcp.json:

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

🧰 Prisma Postgres のMCPツールとスキーマ(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

🛡️ セキュリティ評価・品質・コンテキスト監査

🛡️ セキュリティ評価 A+コンテキスト消費トークン: ~301 tokens(このサーバーの 5 ツール定義が毎回のシステムプロンプトに注入)

呼び出しあたりのトークンコストを試算 →

  • No prompt-injection or hidden-character anomalies detected in tool descriptions
  • Streamable HTTP primary endpoint (current 2025-03-26 transport)
  • OAuth 2.1 with PKCE S256 enforced
  • Official first-party endpoint operated by the vendor
  • Manually verified by RemoteMCP.net

🔐 OAuth 2.1 とセキュリティ

認証方式
OAuth 2.1
動的クライアント登録(DCR)
✅ 対応
PKCE S256
✅ 対応
保護リソースメタデータ
https://mcp.prisma.io/.well-known/oauth-protected-resource
OAuth 2.1 設定を監査 →

📡 公式リモートエンドポイントとトランスポート

リモートエンドポイント https://mcp.prisma.io/mcp は Streamable HTTP(2025-03-26 仕様) を採用。Streamable HTTP は単一の POST エンドポイントで JSON-RPC の双方向通信を完結する現行推奨トランスポートで、npx mcp-remote ブリッジなしに Claude・Cursor・VS Code などへ URL だけでMCP接続できます。

接続前にエンドポイントを オンライン MCP Inspector に貼り付けて initialize / tools/list のハンドシェイクを確認することを推奨します。

🔐 認証・権限フロー

認証方式は OAuth 2.1 です。初回接続時にクライアントが 401 チャレンジを受け取り、WWW-Authenticate ヘッダーから RFC 9728 の保護リソースメタデータを解決。続けて認可サーバー発見(RFC 8414)、動的クライアント登録(DCR)、PKCE S256 によるブラウザ認可が自動で行われます。ブラウザで一度承認するだけで、キーの手動貼り付けは不要です。

🛡️ コンテキスト消費とセキュリティ監査

このサーバーには現在 5 個のツールが登録されており、定義の合計は約 301 トークン。リクエストごとにモデルのシステムプロンプトへ注入されます。セキュリティ評価は A+(公式運営ソース)。ツール名とスキーマが簡潔なほどコンテキストウィンドウへの「税」は低くなります。feecalculator.app で呼び出しあたりのコストも試算できます。

🧩 主要クライアントへのMCP接続

Prisma Postgres MCP について、Cursor / Claude Code / VS Code / ChatGPT / Windsurf / Kiro / Codex / Cline / Gemini など 10 クライアント向けの設定を自動生成しています。ワンクリック deeplink、claude mcp add コマンド、JSON / TOML スニペットから選べます。代表的なツール:list_databases、create_database、execute_sql、get_database_schema、get_connection_string など。

📖 Prisma Postgres の詳細

Prisma Postgres MCP — Remote MCP Server

Prisma's remote MCP gives agents a managed Postgres sandbox workflow — spin up a Prisma Postgres database, apply schema migrations, run SQL and fetch connection strings — ideal for prototyping data models without local setup.

Official Prisma Postgres MCP Endpoint & Transport Architecture

  • Endpoint URL: https://mcp.prisma.io/mcp
  • Transport: Streamable HTTP

Streamable HTTP is the current MCP transport (2025-03-26 spec): a single URL accepts JSON-RPC POSTs and may stream responses over SSE, so one endpoint serves both simple and streaming workloads. Prisma Postgres MCP does not publish a separate legacy SSE endpoint, so your client must speak Streamable HTTP.

Authentication, Scopes & Permission Boundaries

Prisma Postgres MCP uses OAuth 2.1 — the first request returns a 401 Unauthorized challenge with a WWW-Authenticate header pointing at the authorization metadata. Compliant clients (Cursor, Claude, VS Code, ChatGPT) handle the whole flow — PKCE and Dynamic Client Registration, so no manual client setup is needed — and simply open a browser consent screen.

Of the 5 cataloged tools, 3 are read-only and 2 can write or mutate state (create resources, run SQL, post messages). Grant access only to the accounts and projects you intend agents to act on, and prefer scoped credentials or a dedicated workspace where the provider supports them.

Common Troubleshooting & Connection Tips

  • 401 Unauthorized on connect — that's expected; the server is OAuth-protected. Let your client complete the browser consent flow, or inspect the endpoint in our OAuth debugger to see the exact WWW-Authenticate challenge.
  • "Session expired" / stale Mcp-Session-Id — just re-send initialize; stateless clients can ignore session headers entirely.
  • Databases you create live in your Prisma workspace and follow its plan limits.
  • SQL tools execute real statements — write tools can mutate schema and data.

🚀 Prisma Postgres MCP リモートMCPへの接続方法

  1. リモートエンドポイントを取得 — 公式エンドポイント https://mcp.prisma.io/mcp をコピーします。
  2. クライアント設定に追加 — Cursor の mcp.json / Claude Code CLI / 各クライアントに URLを追加します(下記クライアント別ガイド参照)。
  3. 認可して検証 — ブラウザで OAuth 認可を完了後、当サイトの Inspector で initialize と tools/list を実行して接続を確認します。

🔌 Prisma Postgres × クライアント別MCP接続ガイド

❓ よくある質問

Prisma Postgres MCP のリモートMCPサーバーは公式ですか?

このエントリは「公式運営」と表示されています。エンドポイントは Prisma 公式が運営しています。掲載エンドポイントはすべて実際の MCP initialize ハンドシェイクで検証済みです。

Claude / Cursor で Prisma Postgres MCP にMCP接続するには?

リモートエンドポイント https://mcp.prisma.io/mcp をコピーします。Claude Code では claude mcp add --transport http prisma https://mcp.prisma.io/mcp を実行。Cursor ではワンクリック deeplink か ~/.cursor/mcp.json に { "mcpServers": { "prisma": { "url": "https://mcp.prisma.io/mcp" } } } を追加します。初回呼び出し時に OAuth 2.1 の認可画面が自動で開きます。

接続時に 401 が返る/キーを要求される場合は?

401 は OAuth 2.1 による正常なチャレンジです。クライアントが RFC 9728 メタデータに従って自動的に認可を行います。認可が途中で止まる場合は OAuth 2.1 Debugger で PRM / DCR / CORS の設定を確認してください。

ローカル stdio MCP とリモート MCP の違いは?

ローカル MCP は npx / uvx で起動する stdio 子プロセスで、ローカルランタイムが必要で API キーを平文で設定ファイルに書きます。リモート MCP は Prisma がホストする HTTPS エンドポイントで、インストール不要・OAuth 2.1 対応・同一 URL をデスクトップとモバイルで共用できます。詳しくは ローカル vs リモート MCP 比較 をご覧ください。

🔗 関連するリモートMCPサーバー