Requirements:

Requirements: avatar

by patrickadfin

Official Integrations

A Model Context Protocol Server for connecting with Adfin APIs

What is Requirements:

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": "<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"
      ]
    }
  }
}
  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.

Leave a Comment

Comments section will be available soon. Stay tuned!

Frequently Asked Questions

What is MCP?

MCP (Model Context Protocol) is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications, providing a standardized way to connect AI models to different data sources and tools.

What are MCP Servers?

MCP Servers are lightweight programs that expose specific capabilities through the standardized Model Context Protocol. They act as bridges between LLMs like Claude and various data sources or services, allowing secure access to files, databases, APIs, and other resources.

How do MCP Servers work?

MCP Servers follow a client-server architecture where a host application (like Claude Desktop) connects to multiple servers. Each server provides specific functionality through standardized endpoints and protocols, enabling Claude to access data and perform actions through the standardized protocol.

Are MCP Servers secure?

Yes, MCP Servers are designed with security in mind. They run locally with explicit configuration and permissions, require user approval for actions, and include built-in security features to prevent unauthorized access and ensure data privacy.