PlanetScale MCP 与 API 接入

团队应用鉴权:api_key

团队 PlanetScale 数据库:数据库与分支、变更部署请求、备份、查询洞察、工作流与成员。

本地 PlanetScale MCP 配置

每台设备存放明文密钥

  • 原始 PlanetScale Token 被复制到本地配置文件
  • 每位成员在每台电脑都需要重复安装配置
  • 每次对话都要注入数十个工具 Schema 占满上下文
通过 Duang 金库接入 PlanetScale

一次连接,随时一键吊销

  • 每团队独立信封加密保存凭证
  • 本地磁盘与大模型提示词中零明文密钥
  • 全团队共享同一个远程 MCP 端点
发给 Agent 对话直接发给 Claude Code、OpenClaw、OpenCode、Grok Bot、Antigravity、Hermes 或 Pi

set up https://duang.ai/SKILL.md

全部操作(263)

操作价格
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/insights/anomalies

List branch anomalies

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/insights/anomalies/{id}

Retrieve a branch anomaly

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/bouncer-resizes

Get bouncer resize requests

自备 Key
POST api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/maintenance

Run maintenance for a Postgres branch

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/resizes

Get branch resize requests

自备 Key
PUT api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/resizes

Upsert a resize request

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/resizes/{resize}

Get a branch resize request

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/change-requests

List change requests for a branch

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/change-requests/{id}

Get a change request for a branch

自备 Key
DELETE api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/change-requests/{id}

Cancel a change request for a branch

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/data-topology

Get the data topology for a Neki branch

自备 Key
PUT api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/data-topology

Set the data topology for a Neki branch

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/admin/change-requests

List change requests for a Neki admin

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/admin/change-requests/{id}

Get a change request for a Neki admin

自备 Key
DELETE api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/admin/change-requests/{id}

Cancel a change request for a Neki admin

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/admin/parameters

List parameters for a Neki admin

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/admin

Get the admin for a Neki branch

自备 Key
PATCH api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/admin

Update the admin for a Neki branch

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/admin-size-skus

List admin size SKUs for a Neki branch

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/neki-changes

List change requests for a Neki branch

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/neki-changes/{id}

Get a change request for a Neki branch

自备 Key
DELETE api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/neki-changes/{id}

Cancel a change request for a Neki branch

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/default-configuration-profile

Get the default configuration profile for a Neki branch

自备 Key
PUT api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/default-configuration-profile

Set the default configuration profile for a Neki branch

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/routers/{router}/change-requests

List change requests for a Neki router

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/routers/{router}/change-requests/{id}

Get a change request for a Neki router

自备 Key
DELETE api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/routers/{router}/change-requests/{id}

Cancel a change request for a Neki router

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/routers/{router}/parameters

List parameters for a Neki router

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/router-size-skus

List router size SKUs for a Neki branch

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/routers

List routers for a Neki branch

自备 Key
POST api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/routers

Create a router for a Neki branch

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/routers/{router}

Get a router for a Neki branch

自备 Key
PATCH api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/routers/{router}

Update a router for a Neki branch

自备 Key
DELETE api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/routers/{router}

Delete a router from a Neki branch

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/change-requests

List change requests for a Neki configuration profile

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/change-requests/{id}

Get a change request for a Neki configuration profile

自备 Key
DELETE api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/change-requests/{id}

Cancel a change request for a Neki configuration profile

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/extensions

List extensions for a Neki configuration profile

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/parameters

List parameters for a Neki configuration profile

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards

List shards for a Neki configuration profile

自备 Key
POST api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards

Add a shard to a Neki configuration profile

自备 Key
PATCH api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards

Assign shards to a Neki configuration profile

自备 Key
DELETE api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards

Remove shards from a Neki configuration profile

自备 Key
POST api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards/bulk

Add shards to a Neki configuration profile

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards/{id}

Get a shard in a Neki configuration profile

自备 Key
PATCH api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards/{id}

Update a shard in a Neki configuration profile

自备 Key
DELETE api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/shards/{id}

Remove a shard from a Neki configuration profile

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles

List configuration profiles for a Neki branch

自备 Key
POST api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles

Create a configuration profile for a Neki branch

自备 Key
POST api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/maintenance

Run maintenance for selected Neki configuration profiles

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}

Get a configuration profile for a Neki branch

自备 Key
PATCH api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}

Update a configuration profile for a Neki branch

自备 Key
DELETE api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}

Delete a configuration profile for a Neki branch

自备 Key
POST api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/duplicate

Duplicate a configuration profile for a Neki branch

自备 Key
POST api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/configuration-profiles/{configuration_profile}/maintenance

Run maintenance for a Neki configuration profile

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/shards

List shards for a Neki branch

自备 Key
POST api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/shards

Add shards to a Neki branch

自备 Key
GET api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/shards/{id}

Get a shard for a Neki branch

自备 Key
PATCH api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/shards/{id}

Update a shard for a Neki branch

自备 Key
DELETE api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/shards/{id}

Remove a shard from a Neki branch

自备 Key
已展示 60 / 263 个操作,在上方输入关键词可检索全部。

常见问题

如何在 Claude Code 或 Cursor 中接入 PlanetScale?

通过 Duang 远程 MCP 网关(https://api.duang.ai/mcp)一键连接,即可让 AI Agent 调用 PlanetScale 全部 263 个操作,无需本地维护 MCP 插件或明文密钥。

通过 Duang 接入 PlanetScale 需要额外付费吗?

团队应用接入永久 $0 平台费。凭证加密封存于团队金库,永不进入模型上下文。

我的 PlanetScale 密钥会暴露给大模型吗?

不会。密钥仅在 Duang 服务端出站请求时解密注入,本地配置文件与大模型上下文中均不包含明文密钥。

相关团队应用