Polar MCP 与 API 接入

团队应用鉴权:api_key

团队 Polar 商业化计费:商品、客户、订单、订阅、退款、结账、权益、计量器与收入指标。

本地 Polar MCP 配置

每台设备存放明文密钥

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

一次连接,随时一键吊销

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

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

全部操作(116)

操作价格
GET api.polar.sh/v1/benefit-grants/

List Benefit Grants

自备 Key
GET api.polar.sh/v1/benefits/

List Benefits

自备 Key
POST api.polar.sh/v1/benefits/

Create Benefit

自备 Key
GET api.polar.sh/v1/benefits/{id}

Get Benefit

自备 Key
PATCH api.polar.sh/v1/benefits/{id}

Update Benefit

自备 Key
DELETE api.polar.sh/v1/benefits/{id}

Delete Benefit

自备 Key
GET api.polar.sh/v1/benefits/{id}/files

List Benefit Files

自备 Key
GET api.polar.sh/v1/benefits/{id}/grants

List Benefit Grants

自备 Key
DELETE api.polar.sh/v1/checkout-links/{id}

Delete Checkout Link

自备 Key
GET api.polar.sh/v1/custom-fields/

List Custom Fields

自备 Key
POST api.polar.sh/v1/custom-fields/

Create Custom Field

自备 Key
GET api.polar.sh/v1/custom-fields/{id}

Get Custom Field

自备 Key
PATCH api.polar.sh/v1/custom-fields/{id}

Update Custom Field

自备 Key
DELETE api.polar.sh/v1/custom-fields/{id}

Delete Custom Field

自备 Key
GET api.polar.sh/v1/customer-meters/

List Customer Meters

自备 Key
GET api.polar.sh/v1/customer-meters/{id}

Get Customer Meter

自备 Key
POST api.polar.sh/v1/customer-seats

Assign Seat

自备 Key
GET api.polar.sh/v1/customer-seats

List Seats

自备 Key
DELETE api.polar.sh/v1/customer-seats/{seat_id}

Revoke Seat

自备 Key
POST api.polar.sh/v1/customer-seats/{seat_id}/resend

Resend Invitation

自备 Key
GET api.polar.sh/v1/customer-seats/claim/{invitation_token}

Get Claim Info

自备 Key
POST api.polar.sh/v1/customer-seats/claim

Claim Seat

自备 Key
GET api.polar.sh/v1/customers/

List Customers

自备 Key
POST api.polar.sh/v1/customers/

Create Customer

自备 Key
GET api.polar.sh/v1/customers/export

Export Customers

自备 Key
GET api.polar.sh/v1/customers/{id}

Get Customer

自备 Key
PATCH api.polar.sh/v1/customers/{id}

Update Customer

自备 Key
DELETE api.polar.sh/v1/customers/{id}

Delete Customer

自备 Key
GET api.polar.sh/v1/customers/external/{external_id}

Get Customer by External ID

自备 Key
PATCH api.polar.sh/v1/customers/external/{external_id}

Update Customer by External ID

自备 Key
DELETE api.polar.sh/v1/customers/external/{external_id}

Delete Customer by External ID

自备 Key
GET api.polar.sh/v1/customers/{id}/state

Get Customer State

自备 Key
GET api.polar.sh/v1/customers/external/{external_id}/state

Get Customer State by External ID

自备 Key
GET api.polar.sh/v1/customers/{id}/payment-methods

List Customer Payment Methods

自备 Key
GET api.polar.sh/v1/customers/external/{external_id}/payment-methods

List Customer Payment Methods by External ID

自备 Key
GET api.polar.sh/v1/customers/{id}/members

List Members

自备 Key
POST api.polar.sh/v1/customers/{id}/members

Create Member

自备 Key
GET api.polar.sh/v1/customers/external/{external_id}/members

List Members by Customer External ID

自备 Key
POST api.polar.sh/v1/customers/external/{external_id}/members

Create Member by Customer External ID

自备 Key
GET api.polar.sh/v1/customers/{id}/members/{member_id}

Get Member

自备 Key
PATCH api.polar.sh/v1/customers/{id}/members/{member_id}

Update Member

自备 Key
DELETE api.polar.sh/v1/customers/{id}/members/{member_id}

Delete Member

自备 Key
GET api.polar.sh/v1/customers/external/{external_id}/members/{member_external_id}

Get Member by External ID

自备 Key
PATCH api.polar.sh/v1/customers/external/{external_id}/members/{member_external_id}

Update Member by External ID

自备 Key
DELETE api.polar.sh/v1/customers/external/{external_id}/members/{member_external_id}

Delete Member by External ID

自备 Key
GET api.polar.sh/v1/discounts/

List Discounts

自备 Key
POST api.polar.sh/v1/discounts/

Create Discount

自备 Key
GET api.polar.sh/v1/discounts/{id}

Get Discount

自备 Key
PATCH api.polar.sh/v1/discounts/{id}

Update Discount

自备 Key
DELETE api.polar.sh/v1/discounts/{id}

Delete Discount

自备 Key
GET api.polar.sh/v1/disputes/

List Disputes

自备 Key
GET api.polar.sh/v1/disputes/{id}

Get Dispute

自备 Key
POST api.polar.sh/v1/disputes/{id}/accept

Accept Dispute

自备 Key
GET api.polar.sh/v1/event-types/

List Event Types

自备 Key
PATCH api.polar.sh/v1/event-types/{id}

Update Event Type

自备 Key
GET api.polar.sh/v1/events/

List Events

自备 Key
GET api.polar.sh/v1/events/names

List Event Names

自备 Key
GET api.polar.sh/v1/events/{id}

Get Event

自备 Key
POST api.polar.sh/v1/events/ingest

Ingest Events

自备 Key
GET api.polar.sh/v1/files/

List Files

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

常见问题

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

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

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

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

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

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

相关团队应用