Adfin API 模型协议服务器
用于连接 Adfin API 的模型上下文协议服务器。
快速入门
要求
- Python 3.10 或更高版本
安装 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"
配置 Claude Desktop
- 下载并安装 Claude Desktop。
- 打开设置 > 开发者 > 编辑配置,修改
claude_desktop_config.json
文件:- 添加
mcpServers
配置项,指定命令和参数。 - 设置环境变量
ADFIN_EMAIL
和ADFIN_PASSWORD
。
- 添加
- 重启 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.
- 上传多个 PDF 发票:输入
Upload all pdf invoices from the invoices folder from my Desktop.