flexprice官方MCP服务器,提供25个工具用于客户管理、订阅查询、发票获取、支付处理及***管理等操作,支持与AI应用集成。
FlexPrice MCP服务器
flexprice官方MCP服务器。
https://www.anthropic.com/news/model-context-protocol
特性
| 属性 | 详情 |
|---|---|
| Docker镜像 | https://hub.docker.com/repository/docker/mcp/flexprice |
| 作者 | https://github.com/flexprice |
| 代码仓库 | https://github.com/flexprice/mcp-server |
| Dockerfile | https://github.com/flexprice/mcp-server/blob/main/Dockerfile |
| Docker镜像构建者 | Docker Inc. |
| Docker Scout健康评分 | |
| 验证签名 | COSIGN_REPOSITORY=mcp/signatures cosign verify mcp/flexprice --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub |
| 许可证 | Apache许可证2.0 |
可用工具(25个)
| 服务器提供的工具 | 简短描述 |
|---|---|
getCustomerById | 通过ID获取客户 |
getCustomerByLookupKey | 通过查找键(外部ID)获取客户 |
getCustomerEntitlements | 获取客户的权益 |
getCustomerSubscriptions | 获取客户的订阅 |
getCustomerUsageSummary | 获取客户的使用摘要 |
getCustomers | 获取所有客户 |
getEventsByCustomer | 获取客户的事件 |
getInvoiceById | 通过ID获取发票 |
getInvoiceByNumber | 通过编号获取发票 |
getInvoices | 获取发票,支持按日期范围和状态筛选 |
getInvoicesByCustomerId | 获取特定客户的所有发票 |
getPaymentById | 通过ID获取支付 |
getPayments | 获取支付,支持筛选 |
getPlanById | 通过ID获取计划 |
getPlans | 获取所有计划 |
getPriceById | 通过ID获取价格 |
getPrices | 获取所有价格 |
getSubscriptionById | 通过ID获取订阅 |
getSubscriptionPauses | 获取订阅的所有暂停记录 |
getSubscriptionUsage | 获取订阅的使用情况 |
getSubscriptions | 获取所有订阅 |
getWalletBalance | 获取***的实时余额 |
getWalletById | 通过ID获取*** |
getWalletTransactions | 获取***交易,支持分页 |
getWalletsByCustomerId | 获取客户的所有*** |
工具详情
工具:getCustomerById
通过ID获取客户
| 参数 | 类型 | 描述 |
|---|---|---|
customerId | string | 客户ID |
工具:getCustomerByLookupKey
通过查找键(外部ID)获取客户
| 参数 | 类型 | 描述 |
|---|---|---|
lookupKey | string | 查找键(外部ID) |
工具:getCustomerEntitlements
获取客户的权益
| 参数 | 类型 | 描述 |
|---|---|---|
customerId | string | 客户ID |
工具:getCustomerSubscriptions
获取客户的订阅
| 参数 | 类型 | 描述 |
|---|---|---|
customerId | string | 客户ID |
工具:getCustomerUsageSummary
获取客户的使用摘要
| 参数 | 类型 | 描述 |
|---|---|---|
customerId | string | 客户ID |
工具:getCustomers
获取所有客户
工具:getEventsByCustomer
获取客户的事件
| 参数 | 类型 | 描述 |
|---|---|---|
externalCustomerId | string | 外部客户ID |
endTime | string 可选 | 结束时间 |
iterFirstKey | string 可选 | 迭代起始键 |
iterLastKey | string 可选 | 迭代结束键 |
startTime | string 可选 | 开始时间 |
工具:getInvoiceById
通过ID获取发票
| 参数 | 类型 | 描述 |
|---|---|---|
invoiceId | string | 发票ID |
工具:getInvoiceByNumber
通过编号获取发票
| 参数 | 类型 | 描述 |
|---|---|---|
invoiceNumber | string | 发票编号 |
工具:getInvoices
获取发票,支持按日期范围和状态筛选
| 参数 | 类型 | 描述 |
|---|---|---|
endDate | string 可选 | ISO格式日期字符串,用于筛选截至该日期的发票 |
limit | number 可选 | 要返回的最大发票数量 |
offset | number 可选 | 分页跳过的发票数量 |
startDate | string 可选 | ISO格式日期字符串,用于筛选从该日期开始的发票 |
status | string 可选 | 按状态筛选发票 |
工具:getInvoicesByCustomerId
获取特定客户的所有发票
| 参数 | 类型 | 描述 |
|---|---|---|
customerId | string | 客户ID |
工具:getPaymentById
通过ID获取支付
| 参数 | 类型 | 描述 |
|---|---|---|
paymentId | string | 支付ID |
工具:getPayments
获取支付,支持筛选
| 参数 | 类型 | 描述 |
|---|---|---|
customerId | string 可选 | 按客户ID筛选支付 |
limit | number 可选 | 要返回的最大支付数量 |
offset | number 可选 | 分页跳过的支付数量 |
status | string 可选 | 按状态筛选支付(待处理、已处理、失败) |
工具:getPlanById
通过ID获取计划
| 参数 | 类型 | 描述 |
|---|---|---|
planId | string | 计划ID |
工具:getPlans
获取所有计划
工具:getPriceById
通过ID获取价格
| 参数 | 类型 | 描述 |
|---|---|---|
priceId | string | 价格ID |
工具:getPrices
获取所有价格
工具:getSubscriptionById
通过ID获取订阅
| 参数 | 类型 | 描述 |
|---|---|---|
subscriptionId | string | 订阅ID |
工具:getSubscriptionPauses
获取订阅的所有暂停记录
| 参数 | 类型 | 描述 |
|---|---|---|
subscriptionId | string | 订阅ID |
工具:getSubscriptionUsage
获取订阅的使用情况
| 参数 | 类型 | 描述 |
|---|---|---|
subscriptionId | string | 订阅ID |
工具:getSubscriptions
获取所有订阅
工具:getWalletBalance
获取***的实时余额
| 参数 | 类型 | 描述 |
|---|---|---|
walletId | string | ***ID |
工具:getWalletById
通过ID获取***
| 参数 | 类型 | 描述 |
|---|---|---|
walletId | string | ***ID |
工具:getWalletTransactions
获取***交易,支持分页
| 参数 | 类型 | 描述 |
|---|---|---|
walletId | string | ***ID |
limit | number 可选 | 要返回的最大交易数量 |
offset | number 可选 | 分页跳过的交易数量 |
工具:getWalletsByCustomerId
获取客户的所有***
| 参数 | 类型 | 描述 |
|---|---|---|
customerId | string | 客户ID |
使用此MCP服务器
json{ "mcpServers": { "flexprice": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "BASE_URL", "-e", "API_KEY", "mcp/flexprice" ], "env": { "BASE_URL": "https://api.cloud.flexprice.io", "API_KEY": "你的API密钥" } } } }
https://www.docker.com/blog/the-model-context-protocol-simplifying-building-ai-apps-with-anthropic-claude-desktop-and-docker/
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
DockerHub 原生拉取命令
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务