PlanetScale MCPサーバー
コミット 2026年11月13日PlanetScale データベースに接続し、ブランチ、スキーマ、クエリのインサイトの管理や SQL コマンドの実行が可能です。
別名 planetscale/mcp-server, mcp-server
- スター
- 5
- ツール
- —
- ダウンロード数(30日間)
- —
- 最新バージョン
- 1.0.0
- 最終コミット
- 2026年11月13日
- ライセンス
- Apache-2.0
PlanetScale MCPとは
PlanetScale データベースに接続し、ブランチ、スキーマ、クエリのインサイトの管理や SQL コマンドの実行が可能です。
プロジェクトのREADMEから生成された概要
PlanetScale MCP server について
AI クライアントから PlanetScale データベースを直接管理することで、開発者は異なるインターフェースを切り替えることなくデータベース操作を行うことができます。この MCP server は、ブランチの管理、スキーマの変更、クエリのインサイトの表示、SQL コマンドの実行を行うためのツールを提供します。既存の AI 駆動の開発環境にデータベース管理のワークフローを統合したい開発者向けに設計されています。
実装には、TypeScript でメンテナンスされている特定のツールと、PlanetScale API の OpenAPI 仕様から生成された追加機能が含まれています。ユーザーは、開発や MCP Inspector を使用したテストのために、stdio を介してローカルでサーバーを実行できます。一部のツールは手動でメンテナンスされていますが、フル機能のホスト版では、包括的なデータベース制御を実現するために、公式の API 仕様から派生したより幅広い機能が提供されます。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
PlanetScale MCPのインストール方法
フォーマット検証日 2026年11月10日Cursor に追加Gooseに追加Claude CodeにPlanetScale MCPをインストール
$ claude mcp add --transport http mcp-server https://mcp.pscale.dev/mcp/planetscaleCursorにPlanetScale MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server": {
"url": "https://mcp.pscale.dev/mcp/planetscale"
}
}
}VS CodeにPlanetScale MCPをインストール
.vscode/mcp.json
{
"servers": {
"mcp-server": {
"type": "http",
"url": "https://mcp.pscale.dev/mcp/planetscale"
}
}
}VS Code CLIにPlanetScale MCPをインストール
$ code --add-mcp '{"name":"mcp-server","type":"http","url":"https://mcp.pscale.dev/mcp/planetscale"}'CodexにPlanetScale MCPをインストール
$ codex mcp add mcp-server --url https://mcp.pscale.dev/mcp/planetscaleCodex config.tomlにPlanetScale MCPをインストール
~/.codex/config.toml
[mcp_servers.mcp-server] url = "https://mcp.pscale.dev/mcp/planetscale"
Gemini CLIにPlanetScale MCPをインストール
$ gemini mcp add -s user --transport http mcp-server https://mcp.pscale.dev/mcp/planetscaleGemini settings.jsonにPlanetScale MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"mcp-server": {
"url": "https://mcp.pscale.dev/mcp/planetscale",
"type": "http"
}
}
}自動チェック
実行日 2026年11月15日完全なレポート →まだ検証されていません。サーバーには80点のスコア、重大な問題がないこと、および検証に必要な十分なデータが必要です。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能planetscale/mcp-server is public and reachablegithub.com/planetscale/mcp-server ↗合格
- パッケージがこのリポジトリをソースとして指定未チェック
- ビルドの来歴 (Sigstore 証明)未チェック
- オープンソースライセンス (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-11-13github.com/planetscale/mcp-server ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していない未チェック
- パッケージおよびその依存関係に重大な勧告なし未チェック
- モデルへの隠れた指示がない0 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされている未チェック
- リモートエンドポイントが MCP ハンドシェイクに応答HTTPS endpoint answered 401 (sign-in required)合格
README
GitHubで見るPlanetScale MCP Server Tools
This repository contains tool implementations that are part of the PlanetScale MCP server.
The full hosted MCP server includes additional tools that are generated from the PlanetScale API OpenAPI spec, not every production tool lives in this repository.
Related docs
- Hosted server overview: PlanetScale MCP docs
- PlanetScale API OpenAPI spec: OpenAPI spec docs
Project scope
This repo is focused on:
- MCP tools we maintain directly in TypeScript
- shared helper code used by those tools
- local development and validation of the open-source portions
Some MCP functionality is intentionally not duplicated here because it is generated from the API spec and maintained in that generation pipeline.
Quick start
Install dependencies:
pnpm install
Build a deployment zip:
pnpm build
Push to Gram:
pnpm push
Testing locally
Run a local MCP server over stdio with inspector support:
pnpm dev
This launches MCP Inspector so you can interactively test tool behavior during development.
Contributing
See CONTRIBUTING.md for contribution workflow and project conventions.
PlanetScale MCPのよくある質問
PlanetScale MCPをClaude Codeに追加するには
ターミナルでclaude mcp add --transport http mcp-server https://mcp.pscale.dev/mcp/planetscaleを実行します。すべてのプロジェクトで利用するには--scope userを追加します。
PlanetScale MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
このリポジトリには、利用可能なすべての PlanetScale MCP ツールが含まれていますか?
いいえ、このリポジトリには TypeScript で直接メンテナンスされているツールのみが含まれています。その他のツールは PlanetScale API の OpenAPI 仕様から生成されます。