Server MCP per le API Back Office di Nexi XPay
Project description
nexi-mcp
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 |
Sì | — | Alias del merchant (usato anche come API key) |
NEXI_SECRET_KEY |
Sì | — | 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ac35e7fc96525ac9093defc5279bc2ad8b16d6ac88c3d7a56087f2a88d45ed2
|
|
| MD5 |
f1c08ad6b7f249441d91954f8b5b556b
|
|
| BLAKE2b-256 |
d16a9456a31868feb14f15ab37b365566bd105be8ffe2d0633d5e4abcb6ee17f
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfb43c92203cf53f4bba22eebcde93dccfcc5c84093b0bda5739ded377de75c4
|
|
| MD5 |
10e515d9388a84d162a1b5ca0a5b9584
|
|
| BLAKE2b-256 |
2b9deed0d386d1ff745706a316eb4194ef651ed043a6f7854c50e30bd5b08356
|