Adfin
官方您唯一需要的收款平台——整合所有付款、發票與會計對帳,盡在 Adfin。
你可以用 Adfin MCP 做什麼?
- 檢查信用控制狀態 — 請助理使用 Adfin API 擷取您帳戶目前的信用控制狀態。
- 建立新發票 — 請助理建立一張包含指定金額、收款人、電子郵件及到期日的發票。
- 從資料夾上傳發票檔案 — 請助理從您本機的目錄上傳多份 PDF 發票。
文件
需求:
- Python 3.10 或更高版本
步驟 1. 安裝 uv:
- MacOS/Linux:curl -LsSf https://astral.sh/uv/install.sh | sh
- Windows:powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
步驟 2. 設定 Claude Desktop
- 下載 Claude Desktop。
- 啟動 Claude,前往「設定」>「開發人員」>「編輯設定」。
- 使用以下內容修改
claude_desktop_config.json:
{
"mcpServers": {
"Adfin": {
"command": "<home_path>/.local/bin/uv",
"args": [
"--directory",
"<absolute_path_to_adfin_mcp_folder>",
"run",
"main_adfin_mcp.py"
],
"env": {
"ADFIN_EMAIL": "<email>",
"ADFIN_PASSWORD": "<password>"
}
},
"filesystem": {
"command": "<home_path>/.local/bin/uv",
"args": [
"--directory",
"<absolute_path_to_adfin_mcp_folder>",
"run",
"filesystem.py"
]
}
}
}
- 重新啟動 Claude Desktop。
首次使用這些設定開啟 Claude Desktop 時,可能需要 10 到 20 秒,Adfin 工具才會出現在介面中,因為需要 安裝必要的套件並下載最新的 Adfin API 文件。
每次啟動 Claude Desktop 時,最新的 Adfin API 工具都會提供給 您的 AI 助理使用。
步驟 3. 啟動 Claude Desktop,讓您的助理協助您
範例
查詢信用控制狀態
Give me a credit control status check.
建立新發票
Create a new invoice for 60 GBP for Abc Def that is due in a week. His email is abc.def@example.com.
要求助理從您的資料夾上傳多張發票
Upload all pdf invoices from the invoices folder from my Desktop.