Gotas Commerce MCP Server
Uses environment variables for storing and accessing API keys and configuration settings securely without hardcoding them in the source code.
Implements the MCP server using FastAPI as the framework, providing endpoints for payment creation and status verification that bridge Claude with the Gotas Commerce API.
Built using Python for implementing the MCP server functionality, handling API requests, and processing payment data from the Gotas Commerce platform.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Drops Commerce API & MCP Integration
A robust solution for cryptocurrency payments integration using the MCP (Model Context Protocol), allowing AI assistants like Claude to create and verify USDT transactions through the Gotas Commerce API.
π Overview
This project provides a bridge between AI assistants and cryptocurrency payment services. With the MCP server implemented, assistants can generate payment links, check transaction status, and obtain detailed information about USDT payments without requiring specialized blockchain technical knowledge.
Related MCP server: Yolfi MCP Server
β¨ Resources
MCP Tools
create-payment
Creates a new USDT payment transaction and returns all required details including payment URL and wallet address.
Parameters:
amount: Payment amount (ex: 100.50)currency: Currency code (currently just "USDT")return_url: URL to redirect the customer after paymentdescription: Optional payment description
Return:
Complete JSON object with all payment details:
Unique Payment ID
Payment URL
Wallet address
Status (pending, completed, failed, expired)
Creation and expiration dates
Other relevant metadata
check-payment-status
It checks the current status of an existing payment through its unique identifier.
Parameters:
payment_id: Unique ID of the payment to be verified
Return:
Full JSON object with current payment status
Timestamp information for creation, expiration, and completion (where applicable)
Blockchain transaction hash (when payment is confirmed)
MCP Resources
payment-status://{payment_id}
It provides a formatted and simplified version of the payment status as an MCP resource.
Return:
Formatted text with the most relevant payment information
Identifier, status, value, timestamps, and description
MCP Prompts
create-payment-prompt
A guided prompt to help the user provide the information needed to create a new payment.
π§ Architecture
The MCP server acts as an abstraction layer over the Drops Commerce API, translating API capabilities into tools, resources, and prompts that are easily usable by AI assistants like Claude.
ββββββββββββββββββ βββββββββββββββββ ββββββββββββββββββββ
β β β β β β
β Assistente IA ββββββ€ Servidor MCP ββββββ€ API Gotas β
β (Claude) β β (FastAPI) β β Commerce β
β β β β β β
ββββββββββββββββββ βββββββββββββββββ ββββββββββββββββββββπ Prerequisites
Python 3.8 or higher
Gotas Commerce API Key (get it at: commerce.gotas.com )
Access to an MCP-compatible assistant (such as Claude)
π Installation
Clone this repository:
git clone https://github.com/caiovicentino/mcpGOTAS.git cd mcpGOTASInstall dependencies:
pip install -r requirements.txtOr use the automated setup script:
./setup.batConfigure environment variables:
Create a
.envfile with the following values:GOTAS_API_KEY=sua_chave_api_aqui GOTAS_BASE_URL=https://commerce.gotas.com
πββοΈ Execution
MCP Server
Run the server to make the tools available via MCP:
uvicorn src.gotas_mcp_server:app --host 0.0.0.0 --port 8000Integration with Claude Desktop
To use directly with Claude Desktop:
python install_claude.pyAlternatively, install manually:
mcp install src.gotas_mcp_server.pyDirect API Usage (Test Scripts)
For direct testing without a wizard:
Create payment :
python test_client.pyCheck status :
python check_payment.py
π Payment Flow
Payment Initialization :
The attendant obtains the amount and other payment details from the user.
The wizard calls the
create-paymenttool with the required parametersA new payment is created in Gotas Commerce
The payment link is returned to the user
Payment Process :
The user accesses the payment link provided
User transfers USDT to the displayed wallet address
Gotas Commerce monitors blockchain to confirm transaction
Status Check :
The assistant can check the payment status by calling
check-payment-statusstatusThe status can be: pending, completed, expired or failed.
When the payment is confirmed, the blockchain transaction hash is made available.
π Technical Specifications
API Details
Drops Commerce API Endpoints :
Create Payment
POST /api/v1/paymentsRequest body:
{ "amount": "100.00", "currency": "USDT", "return_url": "https://exemplo.com/retorno", "description": "DescriΓ§Γ£o do pagamento" }
Check Payment Status
GET /api/v1/payments/{payment_id}
MCP Communication
Transport : SSE (Server-Sent Events)
Format : JSON for communication between assistant and MCP server
Authentication : API key stored as environment variable
π Project Structure
βββ src/
β βββ gotas_mcp_server.py # ImplementaΓ§Γ£o principal do servidor MCP
βββ .env # VariΓ‘veis de ambiente (API key, etc.)
βββ .smithery.json # ConfiguraΓ§Γ£o para Smithery CLI
βββ check_payment.py # UtilitΓ‘rio para verificar status de pagamentos
βββ docsdaapigotas.md # DocumentaΓ§Γ£o detalhada da API
βββ install_claude.py # Script para instalaΓ§Γ£o no Claude Desktop
βββ mcp.md # DocumentaΓ§Γ£o do servidor MCP
βββ MCPPROTOCOLpython.MD # DocumentaΓ§Γ£o do protocolo MCP em Python
βββ requirements.txt # DependΓͺncias do projeto
βββ setup.bat # Script de configuraΓ§Γ£o para Windows
βββ smithery.json # Schema para integraΓ§Γ£o com Smithery
βββ test_client.py # Cliente de teste para criaΓ§Γ£o de pagamentosπ Security
The API key is stored as an environment variable, not in the source code
Communication with Gotas Commerce API is done via HTTPS
The MCP server validates all parameters before sending to the API
Proper error handling to avoid exposing sensitive information
π§© Extensibility
The project is designed to be easily extended:
New Features : Add new MCP tools implementing functions decorated with
@mcp.tool()on the serverIntegration with Other Services : The architecture allows you to easily integrate other services besides Gotas Commerce
New Coin Support : The framework is prepared to support other cryptocurrencies besides USDT in the future
π Usage Examples
Creating a Payment (via Claude)
UsuΓ‘rio: Preciso gerar um link de pagamento de 50 USDT.
Claude: Vou gerar um link de pagamento para vocΓͺ. Para qual URL devo configurar o redirecionamento apΓ³s o pagamento?
UsuΓ‘rio: https://meusite.com.br/obrigado
Claude: [Utilizando ferramenta create-payment]
Criando pagamento de 50 USDT com redirecionamento para https://meusite.com.br/obrigado...
Pronto! Criei um link de pagamento para 50 USDT.
Link de pagamento: [URL gerado pela API]
Este link expirarΓ‘ em 30 minutos. O cliente deve transferir exatamente 50 USDT para o endereΓ§o da carteira mostrado na pΓ‘gina de pagamento.Checking Status (via Claude)
UsuΓ‘rio: Verifique o status do meu pagamento com ID xyz123.
Claude: [Utilizando ferramenta check-payment-status]
Verificando o status do pagamento ID xyz123...
O status atual do pagamento Γ©: PENDENTE
- Valor: 50.00 USDT
- Criado em: [timestamp]
- Expira em: [timestamp]
O pagamento ainda nΓ£o foi confirmado na blockchain. VocΓͺ pode acompanhar usando o link de pagamento ou me pedir para verificar novamente mais tarde.π Support and Contact
For support or additional information, please contact the Gotas development team or open an issue in the GitHub repository.
π License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Non-custodial crypto payments for AI assistants: balances, payments, and create payment links.
Crypto pay links and API for people and AI agents. BTC, Lightning, USDC, USDT, EURC, SOL, ETH.
Stripe payments for AI agents. Create links, verify, manage customers.
Crypto payments for AI agents: self-serve account, invoices, receiving, payouts, exchange.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceLets AI coding agents integrate crypto checkout, payment links, payment status checks, and webhook-based entitlements into applications.-
- AlicenseNot gradedqualityAmaintenanceEnables AI coding agents to add stablecoin checkout, create payment links and invoices, configure webhooks, verify payment signatures, and gate access based on confirmed payment events.MIT
- AlicenseBqualityCmaintenanceEnables an AI coding assistant to create and manage products, prices, payment links, invoices, customers, subscriptions, entitlements, refunds, and webhooks, simulate test payments, read payments and receipts, and verify buyer access through a crypto payment API.38532 npmMIT

NAKPIX MCP Serverofficial
AlicenseNot gradedqualityBmaintenanceEnables AI agents to pay PIX bills and transfers using USDT on Polygon or Solana, without a conventional account or mandatory KYC. Provides local encrypted wallet management, on-chain balance checks, natural-language and document-based payment parsing, contacts, coupons, quotes, scheduled and recurring payments, receipts, and unresolved-operation alerts.2MIT