摘要
Pennylane:面向 SMB 及其会计师的法国会计和财务:客户和供应商发票、客户、供应商、产品、总账分录和银行交易。REST API v2,bearer token。
引导式设置
2 分钟将 Pennylane 连接到 Gemini
开始 AnythingMCP Cloud 免费试用,在引导式设置中连接 Pennylane,再把你的 MCP URL 添加到 Gemini。无需代码,也无需自行运行服务器。
无需信用卡 · 7 天试用 · 提供自托管方案
试试这样问
Pennylane 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Pennylane、粘贴凭证、生成 MCP API key — 完成。无 Docker、无
git clone、无本地服务器。
Pennylane + Gemini
Pennylane:面向 SMB 及其会计师的法国会计和财务:客户和供应商发票、客户、供应商、产品、总账分录和银行交易。REST API v2,bearer token。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
PENNYLANE_API_TOKEN
步骤 1 — 获取凭证
Getting a token
- Sign in to Pennylane and open Paramètres → Intégrations → API (Settings → Integrations → API).
- Create a personal access token and put it in
PENNYLANE_API_TOKEN. The token is scoped to one company (entreprise); an accountant handling several clients needs one connector per client.
This adapter targets API v2 at https://app.pennylane.com/api/external/v2. Pennylane's v1 is still served but is being wound down, and its pagination and field names differ — if you find a v1 example online, it will not work here.
…(continued in the in-app connector instructions)
步骤 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 — 在 Gemini 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
Gemini CLI 从 ~/.gemini/settings.json (Windows: %APPDATA%\gemini\settings.json) 读取 MCP 服务器。添加:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- 从 AnythingMCP 获取你的 MCP API key。
- 保存文件并重启
gemini。 - 在 Gemini CLI 中运行
/mcp—Pennylane应显示为可用。 - Vertex AI Studio: 将
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID传入请求的tools数组,使用相同的X-API-Key请求头。
可用工具
| Tool | What it does |
|---|---|
pennylane_list_customers | List customers with their name, SIREN/SIRET, VAT number, address and payment terms |
pennylane_get_customer | Read one customer by id, with their full billing address, tax identifiers, default payment conditions and recorded balance |
pennylane_list_customer_invoices | List invoices you issued, with their number, date, deadline, customer, currency amount and paid status — the receivables view |
pennylane_get_customer_invoice | Read one issued invoice in full: every line with its VAT rate, the totals in both the document and company currency, and the matched payment |
pennylane_list_supplier_invoices | List supplier invoices you received, with their number, date, deadline, supplier, amount and paid status — the payables view |
pennylane_list_suppliers | List suppliers with their name, SIREN, VAT number and address, to resolve who a received invoice belongs to |
pennylane_list_products | List products and services with their label, unit price, VAT rate and the ledger account they book to |
pennylane_list_ledger_entries | List ledger entry lines with their account, label, debit, credit and journal — the bookkeeping view underneath the invoices |
pennylane_list_bank_transactions | List bank transactions with their date, label, amount and reconciliation state, so unpaid invoices can be matched against money that actuall |
pennylane_list_customer_invoice_lines | List the lines of one issued invoice with their label, quantity, unit price, VAT rate and amounts |
FAQ
Gemini 1.5 Pro 或 2.x 支持 MCP 吗? 支持 — Gemini CLI ≥ 0.4 与 Vertex AI tools API 均接受带自定义请求头的 MCP httpUrl 连接器。
下一步
这份指南对你有帮助吗?