
PlanetScale
io.github.planetscale由 GitHub 帳號 planetscale 發布v1.0.0更新於 Nov 2, 2026
Connect to PlanetScale databases, branches, schema, query insights, and execute SQL
概覽
託管的 PlanetScale MCP 伺服器,讓助理檢視資料庫、分支與 schema,查看查詢洞察並執行 SQL。
- 可以做什麼
- 連線 PlanetScale 資料庫,瀏覽分支與 schema
- 查看查詢洞察以了解資料庫效能
- 對 PlanetScale 資料庫執行 SQL
- 使用託管伺服器中由 PlanetScale API 規格產生的額外工具
- 適用情境
- 當你使用 PlanetScale 託管的 MySQL 資料庫,希望助理不必離開對話就能檢視 schema、檢查查詢洞察或執行 SQL 時適用。託管端點才是完整入口,公開儲存庫只涵蓋部分工具。
- 執行需求
- 需要位於 mcp.pscale.dev 的遠端 MCP 端點(streamable HTTP),並強制使用 OAuth 驗證。未宣告環境變數或標頭。OAuth 流程意味著需要一個可存取相關資料庫的 PlanetScale 帳號。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 PlanetScale,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.planetscale%2Fmcp-server/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"planetscale": {
"type": "http",
"url": "https://mcp.pscale.dev/mcp/planetscale"
}
}
}README
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:
Build a deployment zip:
Push to Gram:
Testing locally
Run a local MCP server over stdio with inspector support:
This launches MCP Inspector so you can interactively test tool behavior during development.
Contributing
See CONTRIBUTING.md for contribution workflow and project conventions.
來源:README.md,提交 2911c85
工具
0版本歷史
1- v1.0.0最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分