Skip to main content
Glama
nexi-xpay-mcp-server

nexi-xpay-mcp-server

by stucchi

nexi-xpay-mcp-server

MCP PyPI License: MIT

MCP server for the Nexi XPay Back Office APIs. Enables AI assistants (Claude, Cursor, etc.) to query orders, transaction details, warnings/anomalies, and payment methods from your Nexi XPay merchant account.

Tools

Tool

Description

list_orders

List orders with filters (date range, channel, status, transaction code)

order_details

Full details of a specific transaction

warnings

Retrieve warnings/anomalies (default: last 7 days)

payment_methods

List active payment methods for the merchant

Related MCP server: Xental MCP Server

Prerequisites

  • Python >= 3.10

  • A Nexi XPay merchant account with Back Office API access

  • API credentials: Alias, API Key and Secret Key (from Nexi Back Office)

Installation

uvx nexi-xpay-mcp-server

Usage in .mcp.json

Add to your MCP configuration file (.mcp.json for Claude Code, claude_desktop_config.json for Claude Desktop):

{
  "mcpServers": {
    "nexi": {
      "command": "uvx",
      "args": ["nexi-xpay-mcp-server"],
      "env": {
        "NEXI_ALIAS": "your_alias",
        "NEXI_SECRET_KEY": "your_secret_key"
      }
    }
  }
}

Multiple merchants

Use different keys to run one instance per merchant:

{
  "mcpServers": {
    "nexi-acme": {
      "command": "uvx",
      "args": ["nexi-xpay-mcp-server"],
      "env": {
        "NEXI_ALIAS": "acme_merchant",
        "NEXI_SECRET_KEY": "acme_secret_key"
      }
    },
    "nexi-globex": {
      "command": "uvx",
      "args": ["nexi-xpay-mcp-server"],
      "env": {
        "NEXI_ALIAS": "globex_merchant",
        "NEXI_SECRET_KEY": "globex_secret_key"
      }
    }
  }
}

Environment variables

Variable

Required

Default

Description

NEXI_ALIAS

Yes

—

Merchant alias (also used as API key)

NEXI_SECRET_KEY

Yes

—

Secret key for MAC calculation

NEXI_TEST

No

false

Set to true to use the test environment

Development

git clone https://github.com/stucchi/nexi-xpay-mcp-server.git
cd nexi-xpay-mcp-server
uv sync

Local run:

NEXI_ALIAS=your_alias NEXI_SECRET_KEY=your_secret uv run nexi-xpay-mcp-server

License

MIT

Available Tools

4 tools
list_ordersA

Retrieve the list of orders from Nexi XPay Back Office. Supports filters by period, channel, status, and transaction code.

Inputs: periodo (required), canale, codiceTransazione, stato. Returns: result

order_detailsB

Retrieve full details of a specific order from Nexi XPay Back Office by transaction code.

Inputs: codiceTransazione (required). Returns: result

payment_methodsC

Retrieve active payment methods for a merchant from Nexi XPay Back Office.

Inputs: platform, platformVers, pluginVers. Returns: result

warningsA

Retrieve warnings/anomalies from Nexi XPay Back Office. Can filter by transaction code or date range.

Inputs: codiceTransazione, dataTransazioneDal, dataTransazioneAl. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool targets a distinct resource or aspect: orders list, order details, payment methods, and warnings. There is no overlap in purpose, making it easy for an agent to select the correct tool.

    Naming Consistency4/5

    All tool names use snake_case, which is consistent. However, the pattern is not uniform: 'list_orders' follows verb_noun, while 'order_details', 'payment_methods', and 'warnings' are noun_noun or noun-only. This minor inconsistency prevents a perfect score.

    Tool Count4/5

    With 4 tools, the server is scoped to a focused set of read operations. While slightly low, it covers the essential queries for the Nexi XPay Back Office without unnecessary bloat, making it appropriate for its purpose.

    Completeness4/5

    The tools cover the main read operations: listing orders, getting details, viewing payment methods, and checking warnings. Missing operations like creating or updating orders are not expected if the server is read-only, so the surface is largely complete for its intended use.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with PayBridgeNP payment gateway accounts through natural language. Provides read-only access to payments, refunds, analytics, and account data, with write capabilities planned for future versions.
      39 npm
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to operate Xental merchant accounts via natural language, provisioning virtual accounts, monitoring transactions, and executing payouts.
      13
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI clients to search and inspect payment transactions, merchant orders, checkout preferences, and payment methods, verify webhook signatures offline, and optionally create preferences or issue refunds when writes are explicitly allowed.
      2
      6
      128 npm
      1
      MIT