Skip to content
MCP serverOfficial: Published to the official MCP Registry by the GitHub account or domain it is named after, which owns its code or website.

ar-agents

MCP server bundling Argentine business tools: Mercado Pago, AFIP/ARCA, WhatsApp and more

Runs locally

ar-agents is an open-source MCP server for agent tooling. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, API, Self-hosted
Runs
Locally
What it can do
Can change data (6 tools)
Version
0.4.11

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add mcp --env MP_ACCESS_TOKEN='<MP_ACCESS_TOKEN>' --env AFIP_CERT_PEM='<AFIP_CERT_PEM>' --env AFIP_KEY_PEM='<AFIP_KEY_PEM>' --env WHATSAPP_ACCESS_TOKEN='<WHATSAPP_ACCESS_TOKEN>' -- npx -y @ar-agents/mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ar-agents/mcp"
      ],
      "env": {
        "MP_ACCESS_TOKEN": "<MP_ACCESS_TOKEN>",
        "AFIP_CERT_PEM": "<AFIP_CERT_PEM>",
        "AFIP_KEY_PEM": "<AFIP_KEY_PEM>",
        "WHATSAPP_ACCESS_TOKEN": "<WHATSAPP_ACCESS_TOKEN>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ar-agents/mcp"
      ],
      "env": {
        "MP_ACCESS_TOKEN": "<MP_ACCESS_TOKEN>",
        "AFIP_CERT_PEM": "<AFIP_CERT_PEM>",
        "AFIP_KEY_PEM": "<AFIP_KEY_PEM>",
        "WHATSAPP_ACCESS_TOKEN": "<WHATSAPP_ACCESS_TOKEN>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ar-agents/mcp"
      ],
      "env": {
        "MP_ACCESS_TOKEN": "<MP_ACCESS_TOKEN>",
        "AFIP_CERT_PEM": "<AFIP_CERT_PEM>",
        "AFIP_KEY_PEM": "<AFIP_KEY_PEM>",
        "WHATSAPP_ACCESS_TOKEN": "<WHATSAPP_ACCESS_TOKEN>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ar-agents/mcp"
      ],
      "env": {
        "MP_ACCESS_TOKEN": "<MP_ACCESS_TOKEN>",
        "AFIP_CERT_PEM": "<AFIP_CERT_PEM>",
        "AFIP_KEY_PEM": "<AFIP_KEY_PEM>",
        "WHATSAPP_ACCESS_TOKEN": "<WHATSAPP_ACCESS_TOKEN>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add mcp --env MP_ACCESS_TOKEN='<MP_ACCESS_TOKEN>' --env AFIP_CERT_PEM='<AFIP_CERT_PEM>' --env AFIP_KEY_PEM='<AFIP_KEY_PEM>' --env WHATSAPP_ACCESS_TOKEN='<WHATSAPP_ACCESS_TOKEN>' -- npx -y @ar-agents/mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.mcp]
command = "npx"
args = ["-y", "@ar-agents/mcp"]
env = { MP_ACCESS_TOKEN = "<MP_ACCESS_TOKEN>", AFIP_CERT_PEM = "<AFIP_CERT_PEM>", AFIP_KEY_PEM = "<AFIP_KEY_PEM>", WHATSAPP_ACCESS_TOKEN = "<WHATSAPP_ACCESS_TOKEN>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ar-agents/mcp"
      ],
      "env": {
        "MP_ACCESS_TOKEN": "<MP_ACCESS_TOKEN>",
        "AFIP_CERT_PEM": "<AFIP_CERT_PEM>",
        "AFIP_KEY_PEM": "<AFIP_KEY_PEM>",
        "WHATSAPP_ACCESS_TOKEN": "<WHATSAPP_ACCESS_TOKEN>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@ar-agents/mcp"
          ],
          "env": {
            "MP_ACCESS_TOKEN": "<MP_ACCESS_TOKEN>",
            "AFIP_CERT_PEM": "<AFIP_CERT_PEM>",
            "AFIP_KEY_PEM": "<AFIP_KEY_PEM>",
            "WHATSAPP_ACCESS_TOKEN": "<WHATSAPP_ACCESS_TOKEN>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e MP_ACCESS_TOKEN='<MP_ACCESS_TOKEN>' -e AFIP_CERT_PEM='<AFIP_CERT_PEM>' -e AFIP_KEY_PEM='<AFIP_KEY_PEM>' -e WHATSAPP_ACCESS_TOKEN='<WHATSAPP_ACCESS_TOKEN>' mcp npx -- -y @ar-agents/mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@ar-agents/mcp"
          ],
          "env": {
            "MP_ACCESS_TOKEN": "<MP_ACCESS_TOKEN>",
            "AFIP_CERT_PEM": "<AFIP_CERT_PEM>",
            "AFIP_KEY_PEM": "<AFIP_KEY_PEM>",
            "WHATSAPP_ACCESS_TOKEN": "<WHATSAPP_ACCESS_TOKEN>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@ar-agents/mcp"
          ],
          "env": {
            "MP_ACCESS_TOKEN": "<MP_ACCESS_TOKEN>",
            "AFIP_CERT_PEM": "<AFIP_CERT_PEM>",
            "AFIP_KEY_PEM": "<AFIP_KEY_PEM>",
            "WHATSAPP_ACCESS_TOKEN": "<WHATSAPP_ACCESS_TOKEN>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@ar-agents/mcp"
          ],
          "env": {
            "MP_ACCESS_TOKEN": "<MP_ACCESS_TOKEN>",
            "AFIP_CERT_PEM": "<AFIP_CERT_PEM>",
            "AFIP_KEY_PEM": "<AFIP_KEY_PEM>",
            "WHATSAPP_ACCESS_TOKEN": "<WHATSAPP_ACCESS_TOKEN>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@ar-agents/mcp"
          ],
          "env": {
            "MP_ACCESS_TOKEN": "<MP_ACCESS_TOKEN>",
            "AFIP_CERT_PEM": "<AFIP_CERT_PEM>",
            "AFIP_KEY_PEM": "<AFIP_KEY_PEM>",
            "WHATSAPP_ACCESS_TOKEN": "<WHATSAPP_ACCESS_TOKEN>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@ar-agents/mcp"
          ],
          "env": {
            "MP_ACCESS_TOKEN": "<MP_ACCESS_TOKEN>",
            "AFIP_CERT_PEM": "<AFIP_CERT_PEM>",
            "AFIP_KEY_PEM": "<AFIP_KEY_PEM>",
            "WHATSAPP_ACCESS_TOKEN": "<WHATSAPP_ACCESS_TOKEN>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@ar-agents/mcp"
          ],
          "env": {
            "MP_ACCESS_TOKEN": "<MP_ACCESS_TOKEN>",
            "AFIP_CERT_PEM": "<AFIP_CERT_PEM>",
            "AFIP_KEY_PEM": "<AFIP_KEY_PEM>",
            "WHATSAPP_ACCESS_TOKEN": "<WHATSAPP_ACCESS_TOKEN>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@ar-agents/mcp"
          ],
          "env": {
            "MP_ACCESS_TOKEN": "<MP_ACCESS_TOKEN>",
            "AFIP_CERT_PEM": "<AFIP_CERT_PEM>",
            "AFIP_KEY_PEM": "<AFIP_KEY_PEM>",
            "WHATSAPP_ACCESS_TOKEN": "<WHATSAPP_ACCESS_TOKEN>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • MP_ACCESS_TOKENMercado Pago access token (TEST- prefix for sandbox, APP_USR- for production). Enables MP tools.
  • AFIP_CERT_PEMAFIP/ARCA X.509 certificate (PEM string) for WSAA authentication. Enables CUIT padron + factura electronica tools.
  • AFIP_KEY_PEMAFIP/ARCA private key (PEM string) for WSAA authentication. Required if AFIP_CERT_PEM is set.
  • AFIP_CUITIssuer CUIT (Argentine tax ID) registered with the AFIP cert. Format: 20-XXXXXXXX-X.
  • WHATSAPP_ACCESS_TOKENMeta WhatsApp Business Cloud API token. Enables WhatsApp tools.
  • WHATSAPP_PHONE_NUMBER_IDMeta WhatsApp Business phone-number ID. Required if WHATSAPP_ACCESS_TOKEN is set.

About ar-agents

The README presents this package as a single MCP server that gathers the @ar-agents toolkit: CUIT validation, AFIP/ARCA padron lookups, identity attestation, Mercado Pago payments and subscriptions, and WhatsApp Business messaging. It installs over stdio into MCP hosts such as Claude Desktop, Cursor and Cline, and which tools appear depends on which environment variables are set. Without any credentials, only the algorithm-only CUIT validator is available.

The server includes a governance gate enabled by default. Read-level tools run freely, while money, fiscal, legal or irreversible actions are refused unless a human-approval hook is wired in. A kill-switch environment variable can suspend every tool. The README also lists a number of genuine read tools that the fail-closed classifier currently gates, and documents an opt-out setting.

The package is aimed at developers and operators in Argentina who want an AI assistant to work with local tax, payment and messaging services. The README notes it is pre-1.0, so minor versions may include breaking changes.

Tools this server provides (10)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 6 of 10 tools change data; 1 name doesn't say.

From the server's own tool labels and tool names; not verified by us.

validate_cuitName suggests: reads
Validates an Argentine CUIT tax ID algorithmically.
lookup_cuit_afipName suggests: reads
Looks up CUIT data in the AFIP/ARCA padron when AFIP credentials are set.
create_payment_preferenceName suggests: changes
Creates a Mercado Pago payment preference.
create_paymentName suggests: changes
Creates a Mercado Pago payment.
search_paymentsName suggests: reads
Searches Mercado Pago payments.
refund_payment
Refunds a Mercado Pago payment.
create_subscriptionName suggests: changes
Creates a Mercado Pago subscription.
send_whatsapp_textName suggests: changes
Sends a WhatsApp text message via the Business Cloud API.
send_whatsapp_templateName suggests: changes
Sends a WhatsApp template message.
send_whatsapp_mediaName suggests: changes
Sends a WhatsApp media message.

What it does

Modular tool sets
Tools load only for the integrations whose credentials are configured, so the surface grows with setup.
Mercado Pago tools
Exposes payment, refund, subscription and customer operations, with sandbox or production tokens selected by prefix.
AFIP/ARCA lookups
Provides CUIT validation and padron lookups, with electronic invoicing tools enabled by a certificate and key.
WhatsApp messaging
Sends text, template, media, button and list messages through the WhatsApp Business Cloud API.
Human approval gate
Refuses money, fiscal and legal tool calls unless an approval hook is wired, and can be disabled via an env var.

Good for

  • Validating a CUIT and checking its registration data before issuing an invoice
  • Creating Mercado Pago payment preferences and subscriptions from an AI assistant
  • Sending WhatsApp Business messages to customers from an IDE or chat host
  • Running Argentine business workflows in Claude Desktop or Cursor without writing code

Pricing

Open source

Free and MIT-licensed; third-party service accounts such as Mercado Pago and WhatsApp are needed for their tools.

ar-agents FAQ

Which MCP hosts does ar-agents support?

The README names Claude Desktop, Cursor, Codeium, Continue and Cline, and says any MCP stdio-compatible host should work.

Does ar-agents work without any credentials?

Yes, but only the validate_cuit tool is registered, since it is algorithm-only.

What license does ar-agents use?

The README states the package is released under the MIT license.

Are money-moving tools run automatically?

No. By default, money, fiscal, legal and unclassified tools are refused unless a human approval hook is wired in or the gate is turned off.

Is ar-agents free?

Yes. ar-agents is open source, so you can use and self-host it for free.

How do I add ar-agents to Claude Code?

Run this command in your terminal: claude mcp add mcp --env MP_ACCESS_TOKEN='<MP_ACCESS_TOKEN>' --env AFIP_CERT_PEM='<AFIP_CERT_PEM>' --env AFIP_KEY_PEM='<AFIP_KEY_PEM>' --env WHATSAPP_ACCESS_TOKEN='<WHATSAPP_ACCESS_TOKEN>' -- npx -y @ar-agents/mcp

What are the best alternatives to ar-agents?

The closest alternatives to ar-agents are azeth-protocol, Imperium MCP Gateway — Universal 490+ Tool Discovery, Safe-Proxy & Router, Appointment Booking, Anp2 MCP Server and Compliance Check.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers