跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 Mercury,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
让你的 AI 读取你在 Mercury 的企业银行账户:账户和余额、交易、卡片、对账单、收款人、Treasury、信贷和用户。使用 Read Only API 令牌,无法转出资金。冻结卡片和交易备注操作为可选项,默认关闭。
试试这样问
Mercury 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Mercury、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
Mercury + ChatGPT
让你的 AI 读取你在 Mercury 的企业银行账户:账户和余额、交易、卡片、对账单、收款人、Treasury、信贷和用户。使用 Read Only API 令牌,无法转出资金。冻结卡片和交易备注操作为可选项,默认关闭。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
MERCURY_API_TOKEN
步骤 1 — 获取凭证
按设计无法转移资金。 这个连接器没有任何用于付款、账户间转账、付款请求、新增收款人、发票或新开卡片的工具,连默认关闭的也没有,也从不调用 Mercury 的转账接口。它可以列出等待审批的付款请求,但永远不会创建、审批或取消它们。
- 登录
https://app.mercury.com,点击左上角的组织名称,然后点击 Settings,再点击 Tokens。你的用户需要有创建 API 令牌的权限,否则请联系管理员。 - 点击 Create an API Token 并选择 Read Only。Read Only 令牌可以读取所有数据,不能转移资金,也不需要 IP 白名单。
- 把令牌复制到
MERCURY_API_TOKEN。它的格式类似secret-token:mercury_production_...,请粘贴包括secret-token:在内的完整值。Mercury 只显示一次。 - 安装连接器,并用
mercury_get_organization检查:它会显示公司的法定名称和套餐。
绝不要使用 Read and Write 令牌:它可以不经审批就转出资金。使用 Read Only 令牌时,Mercury 会拒绝所有写操作。
安装时关闭:mercury_freeze_card、mercury_unfreeze_card 和 mercury_update_transaction(设置或清除交易的备注和自定义类别,并覆盖原有值)。它们需要一个只包含相应写权限的 Custom 令牌,而 Mercury 对任何写权限都要求 IP 白名单;在 AnythingMCP Cloud 上,请先向支持团队询问当前的出站 IP 地址。AI 会先向你显示卡片(昵称和末四位)或交易及修改内容,等你确认后才执行。Mercury 会降级 45 天未使用写权限的令牌,并删除 45 天未使用的令牌。
财务数据属于敏感信息:余额、交易、对账单、收款人和员工信息都是公司机密数据。只与有权查看的人共享 MCP 服务器;AI 只读取你要求的内容。账号、路由号码、IBAN 和卡号会从每个回答中移除;对账单和交易附件以下载链接的形式提供。
可读取的内容:你的组织;带可用余额和当前余额的支票账户和储蓄账户;按账户的交易(未指定开始日期时为最近 30 天)或所有账户的交易,包括交易对方、备注、类别、商户和卡片,以及收据和支票图像等附件;带支出限额的借记卡和信用卡;以 PDF 链接提供的月度对账单;已保存的收款人(不含银行信息);带收益、交易和对账单的 Treasury 账户,包括税务文件;信贷(IO card)账户;用户及其角色;自定义费用类别;以及带审批状态的付款请求。
金额:以美元计的小数,资金流出为负数。
沙盒:在 https://sandbox.mercury.com/signup 创建沙盒,在那里生成令牌,并把连接器的基础 URL 改为 https://api-sandbox.mercury.com/api/v1。生产令牌在沙盒中无法使用。
常见错误:401 noTokenInDB:令牌错误、因 45 天未使用而被删除,或属于另一个环境;请新建一个 Read Only 令牌。403:令牌的类型或权限不允许这个调用,或写操作来自不在令牌白名单中的 IP 地址。404:该 ID 不存在。429:请稍等片刻。
这个连接器不会转出资金,不会创建付款请求、收款人、发票或客户,不会开卡或注销卡片,不会修改支出限额,不会管理 webhook 或 SAFE,也不会上传附件。
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 ChatGPT 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
ChatGPT 在网页版的 Plugins 页面把 MCP 服务器添加为插件,仅付费套餐可用,不再需要开发者模式。在 Business 工作区中只有管理员和所有者可以添加;在 Enterprise 和 Edu 中,管理员可以授予 Create plugins with MCPs 权限。
- 前往 chatgpt.com/plugins,点击 +,然后选择 Add custom MCP server。
- 填写名称,例如 Name:
Mercury。 - 在 Connection 下的 Server URL 中填入
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID,Authentication 保持为 OAuth。 - 选择 I understand and want to continue,然后点击 Create as a plugin。ChatGPT 提示时,登录 AnythingMCP 并允许访问。
- 在个人插件中安装这个新插件,然后在对话中输入 @ 并选择它。
可用工具
| Tool | What it does |
|---|---|
mercury_get_organization | Read your Mercury organization: id, legal business name, DBAs, EIN, kind (business or personal) and plan |
mercury_list_accounts | List the Mercury bank accounts (checking and savings) with id, name, nickname, kind, status, available and current balance |
mercury_get_account | Read one Mercury account by id: name, kind, status, available and current balance |
mercury_list_account_transactions | List the transactions of one Mercury account, newest first by default: amount, status, kind, created and posted dates, counterparty… |
mercury_list_transactions | List transactions across all Mercury accounts, oldest first by default: amount, status, kind, dates, counterparty, description, note… |
mercury_get_transaction | Read one Mercury transaction by id with amount, status, dates, counterparty, note, category, merchant, card, attachments (receipts, check… |
mercury_list_cards | List Mercury debit and credit cards with id, account, nickname, name on card, last four digits, status, virtual or physical, cardholder… |
mercury_get_card | Read one Mercury card by id: account, nickname, name on card, last four digits, status, type, kind, cardholder, spend limit, budgets and… |
mercury_list_account_cards | List the cards linked to one Mercury account: card id, name on card, last four digits, network, status, type, cardholder and spend limit |
mercury_list_account_statements | List the monthly statements of one Mercury account: statement id, period start and end, ending balance and a download link for the PDF |
mercury_list_recipients | List the payment recipients saved in Mercury with id, name, nickname, status, business flag, emails, default payment method (ach, check… |
mercury_get_recipient | Read one Mercury recipient by id: name, status, emails, default payment method, bank name and date last paid |
mercury_list_treasury_accounts | List Mercury Treasury accounts with id, status, available and current balance and the monthly net returns (dividends minus fees) |
mercury_list_treasury_transactions | List the transactions of one Mercury Treasury account: type (deposits, withdrawals, dividends, fees, interest), description, amount… |
mercury_list_treasury_statements | List the statements and tax documents of one Mercury Treasury account: id, document type (MonthlyStatement, TradeConfirmation, 1099 and… |
mercury_list_credit_accounts | List Mercury credit (IO card) accounts with id, status, available and current balance |
mercury_list_users | List the people with access to the Mercury organization: user id, first and last name, email and role (administrator, bookkeeper… |
mercury_list_categories | List the custom expense categories of the organization (id and name, and whether each applies to card spend, reimbursements or other… |
mercury_list_payment_approval_requests | List payment requests waiting for, or past, approval in Mercury: request id, account, recipient, amount, payment method, status… |
mercury_freeze_card | Freeze a Mercury card so it cannot be used, for example when it is lost |
mercury_unfreeze_card | Unfreeze a frozen Mercury card so it can be used again |
mercury_update_transaction | Set or clear the note and the custom category of a Mercury transaction |
示例提示
- “我们所有 Mercury 账户现在的余额是多少?Treasury 里有多少?”
- “列出最近 30 天超过 5,000 USD 的支出交易,附上交易对方、备注和类别。”
- “哪些付款请求正在等待审批?显示申请人、收款人、金额和计划日期。”
- “给我支票账户上个季度对账单的下载链接。”
- “谁可以访问我们的 Mercury 组织,各自是什么角色?”
FAQ
ChatGPT 免费套餐能用自定义 MCP 服务器吗? OpenAI 只为付费套餐提供自定义 MCP 服务器的说明,Free 套餐不在其列。
下一步
这份指南对你有帮助吗?