Turso MCP 与 API 接入

团队应用鉴权:api_key

团队 Turso 数据库:数据库与配置、用量、分组与地域、组织成员、邀请、套餐与审计日志。

本地 Turso MCP 配置

每台设备存放明文密钥

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

一次连接,随时一键吊销

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

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

全部操作(46)

操作价格
GET api.turso.tech/v1/organizations/{organizationSlug}/databases

List Databases

自备 Key
POST api.turso.tech/v1/organizations/{organizationSlug}/databases

Create Database

自备 Key
GET api.turso.tech/v1/organizations/{organizationSlug}/databases/{databaseName}

Retrieve Database

自备 Key
DELETE api.turso.tech/v1/organizations/{organizationSlug}/databases/{databaseName}

Delete Database

自备 Key
GET api.turso.tech/v1/organizations/{organizationSlug}/databases/{databaseName}/configuration

Retrieve Database Configuration

自备 Key
PATCH api.turso.tech/v1/organizations/{organizationSlug}/databases/{databaseName}/configuration

Update Database Configuration

自备 Key
GET api.turso.tech/v1/organizations/{organizationSlug}/databases/{databaseName}/instances

List Database Instances

自备 Key
GET api.turso.tech/v1/organizations/{organizationSlug}/databases/{databaseName}/instances/{instanceName}

Retrieve Database Instance

自备 Key
GET api.turso.tech/v1/organizations/{organizationSlug}/databases/{databaseName}/usage

Retrieve Database Usage

自备 Key
GET api.turso.tech/v1/organizations/{organizationSlug}/databases/{databaseName}/stats

Retrieve Database Stats

自备 Key
POST api.turso.tech/v1/organizations/{organizationSlug}/databases/{databaseName}/auth/rotate

Invalidate All Database Auth Tokens

自备 Key
GET api.turso.tech/v1/organizations/{organizationSlug}/groups

List Groups

自备 Key
POST api.turso.tech/v1/organizations/{organizationSlug}/groups

Create Group

自备 Key
GET api.turso.tech/v1/organizations/{organizationSlug}/groups/{groupName}

Retrieve Group

自备 Key
DELETE api.turso.tech/v1/organizations/{organizationSlug}/groups/{groupName}

Delete Group

自备 Key
GET api.turso.tech/v1/organizations/{organizationSlug}/groups/{groupName}/configuration

Retrieve Group Configuration

自备 Key
PATCH api.turso.tech/v1/organizations/{organizationSlug}/groups/{groupName}/configuration

Update Group Configuration

自备 Key
POST api.turso.tech/v1/organizations/{organizationSlug}/groups/{groupName}/transfer

Transfer Group

自备 Key
POST api.turso.tech/v1/organizations/{organizationSlug}/groups/{groupName}/unarchive

Unarchive Group

自备 Key
POST api.turso.tech/v1/organizations/{organizationSlug}/groups/{groupName}/locations/{location}

Add Location to Group

自备 Key
DELETE api.turso.tech/v1/organizations/{organizationSlug}/groups/{groupName}/locations/{location}

Remove Location from Group

自备 Key
POST api.turso.tech/v1/organizations/{organizationSlug}/groups/{groupName}/update

Update Databases in a Group

自备 Key
POST api.turso.tech/v1/organizations/{organizationSlug}/groups/{groupName}/auth/rotate

Invalidate All Group Auth Tokens

自备 Key
GET api.turso.tech/v1/locations

List Locations

自备 Key
GET api.turso.tech/v1/organizations

List Organizations

自备 Key
GET api.turso.tech/v1/organizations/{organizationSlug}

Retrieve Organization

自备 Key
PATCH api.turso.tech/v1/organizations/{organizationSlug}

Update Organization

自备 Key
GET api.turso.tech/v1/organizations/{organizationSlug}/plans

List Plans

自备 Key
GET api.turso.tech/v1/organizations/{organizationSlug}/invoices

List Invoices

自备 Key
GET api.turso.tech/v1/organizations/{organizationSlug}/subscription

Current Subscription

自备 Key
GET api.turso.tech/v1/organizations/{organizationSlug}/usage

Organization Usage

自备 Key
GET api.turso.tech/v1/organizations/{organizationSlug}/members

List Members

自备 Key
GET api.turso.tech/v1/organizations/{organizationSlug}/members/{username}

Retrieve Member

自备 Key
PATCH api.turso.tech/v1/organizations/{organizationSlug}/members/{username}

Update Member Role

自备 Key
DELETE api.turso.tech/v1/organizations/{organizationSlug}/members/{username}

Remove Member

自备 Key
GET api.turso.tech/v1/auth/validate

Validate API Token

自备 Key
DELETE api.turso.tech/v1/organizations/{organizationSlug}/api-tokens/{tokenId}

Revoke Organization API Token

自备 Key
GET api.turso.tech/v1/organizations/{organizationSlug}/audit-logs

List Audit Logs

自备 Key
GET api.turso.tech/v1/user

Get Current User

自备 Key
GET api.turso.tech/v2/organizations/{organizationSlug}/invites

List Invites

自备 Key
POST api.turso.tech/v2/organizations/{organizationSlug}/invites

Invite Organization Member

自备 Key
DELETE api.turso.tech/v2/organizations/{organizationSlug}/invites/{email}

Delete Invite

自备 Key
GET api.turso.tech/v3/organizations/{organizationId}/databases

List Deleted Databases

自备 Key
POST api.turso.tech/v3/organizations/{organizationId}/databases/{databaseId}/restore

Restore Database

自备 Key
GET api.turso.tech/v3/organizations/{organizationId}/deleted-groups

List Deleted Groups

自备 Key
POST api.turso.tech/v3/organizations/{organizationId}/groups/{groupId}/restore

Restore Group

自备 Key

常见问题

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

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

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

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

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

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

相关团队应用