Skip to main content

Server MCP per le API Back Office di Nexi XPay

Project description

nexi-mcp

MCP PyPI License: MIT

Server MCP per le API Back Office di Nexi XPay. Permette agli assistenti AI (Claude, Cursor, ecc.) di consultare ordini, dettagli transazioni, warning e metodi di pagamento del tuo account merchant Nexi XPay.

Strumenti

Strumento Descrizione
elenco_ordini Elenco ordini con filtri (intervallo date, canale, stato, codice transazione)
dettaglio_ordine Dettaglio completo di una transazione specifica
warning Recupera warning/anomalie (default: ultimi 7 giorni)
metodi_pagamento Elenco metodi di pagamento attivi per il merchant

Prerequisiti

  • Python >= 3.10
  • Un account merchant Nexi XPay con accesso alle API Back Office
  • Le credenziali API: Alias, API Key e Secret Key (dal Back Office Nexi)

Installazione

Con Claude Code

Aggiungi al tuo .mcp.json:

{
  "mcpServers": {
    "nexi": {
      "type": "stdio",
      "command": "uvx",
      "args": ["nexi-xpay-mcp-server"],
      "env": {
        "NEXI_ALIAS": "tuo_alias",
        "NEXI_SECRET_KEY": "tua_secret_key",
      }
    }
  }
}

Con Claude Desktop

Aggiungi alla configurazione di Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json su macOS):

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

Più merchant

Usa chiavi diverse per eseguire un'istanza 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",
      }
    }
  }
}

Variabili d'ambiente

Variabile Obbligatoria Default Descrizione
NEXI_ALIAS Alias del merchant (usato anche come API key)
NEXI_SECRET_KEY Chiave segreta per il calcolo del MAC
NEXI_TEST No false true per usare l'ambiente di test

Sviluppo

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

Esecuzione locale:

NEXI_ALIAS=tuo_alias NEXI_SECRET_KEY=tua_secret uv run nexi-xpay-mcp-server

Licenza

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nexi_xpay_mcp_server-1.0.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nexi_xpay_mcp_server-1.0.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file nexi_xpay_mcp_server-1.0.0.tar.gz.

File metadata

  • Download URL: nexi_xpay_mcp_server-1.0.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for nexi_xpay_mcp_server-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5ac35e7fc96525ac9093defc5279bc2ad8b16d6ac88c3d7a56087f2a88d45ed2
MD5 f1c08ad6b7f249441d91954f8b5b556b
BLAKE2b-256 d16a9456a31868feb14f15ab37b365566bd105be8ffe2d0633d5e4abcb6ee17f

See more details on using hashes here.

File details

Details for the file nexi_xpay_mcp_server-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: nexi_xpay_mcp_server-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for nexi_xpay_mcp_server-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cfb43c92203cf53f4bba22eebcde93dccfcc5c84093b0bda5739ded377de75c4
MD5 10e515d9388a84d162a1b5ca0a5b9584
BLAKE2b-256 2b9deed0d386d1ff745706a316eb4194ef651ed043a6f7854c50e30bd5b08356

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page