ZM

zeschi/mcp-server-adfin

API 开发

本页由 AI 翻译,技术细节请以原文为准。 查看原文

0 stars 11 forks 质量 43 趋势 0

用于连接 Adfin APIs 的模拟上下文协议服务器

概览

-MacOS/Linux:卷曲-LsSf https://astral.sh/uv/install.sh---Windows:动力壳-Execution Policy ByPass-c "irm https://astral.sh/uv/install.ps1----iex" 1. 下载克洛德桌面。 2. 启动克洛德并进入设置 > 开发者 > 编辑配置。 3. 用: 由于安装了所需的软件包并下载了最新的Adfin API文档,您第一次使用这些设置打开Claude桌面可能需要10-20秒的时间才能在界面中出现Adfin工具. 每次您推出克洛德桌面时,最新的Adfin API工具都会提供给您的AI助手.

概述(AI 翻译)

□ 要求 :

  1. Py 3.10或以上

□ 第1步. 安装uv:

□ 第2步. 配置 Claude 桌面

  1. 下载克洛德桌面。

  2. 启动克洛德并进入设置 > 开发者 > 编辑配置。

  3. 修改claude_desktop_config.json如下:

  4. 重新启动克洛德桌面。

您第一次打开 Claude 桌面时, 可能需要这些设置 在Adfin工具出现于界面前10-20秒,原因是 安装所需的软件包和下载次数最多 最近的 Adfin API 文档 。

每次你推出克洛德桌面,Adfin最新的API工具都会被提供. 给你的人工智能助理。

□ 第3步 启动 Claude 桌面,让你的助手帮你 实例 ** 要求信贷管制状况**

** 开出新的发票**

** 请助理从您的文件夹上传多张发票**

本页由 AI 翻译,技术细节请以原文为准。

README

Requirements:

  1. Python 3.10 or higher

Step 1. Install uv:

Step 2. Configure Claude Desktop

  1. Download Claude Desktop.
  2. Launch Claude and go to Settings > Developer > Edit Config.
  3. Modify claude_desktop_config.json with:
{
  "mcpServers": {
    "Adfin": {
      "command": "/.local/bin/uv",
      "args": [
        "--directory",
        "",
        "run",
        "main_adfin_mcp.py"
      ],
      "env": {
        "ADFIN_EMAIL": "",
        "ADFIN_PASSWORD": ""
      }
    },
    "filesystem": {
      "command": "/.local/bin/uv",
      "args": [
        "--directory",
        "",
        "run",
        "filesystem.py"
      ]
    }
  }
}
  1. Relaunch Claude Desktop.

The first time you open Claude Desktop with these setting it may take 10-20 seconds before the Adfin tools appear in the interface due to the installation of the required packages and the download of the most recent Adfin API documentation.

Everytime you launch Claude Desktop, the most recent Adfin API tools are made available to your AI assistant.

Step 3. Launch Claude Desktop and let your assistant help you

Examples

Request a credit control status

Give me a credit control status check.

Create a new invoice

Create a new invoice for 60 GBP for Abc Def that is due in a week. His email is [email protected].

Ask the assistant to upload multiple invoices from your folder

Upload all pdf invoices from the invoices folder from my Desktop.
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "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" ] } } }