Pay for any HTTP API in stablecoins on Polygon and Solana with one MCP call.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add aifinpay --env AIFINPAY_AGENT_SECRET='<AIFINPAY_AGENT_SECRET>' -- npx -y @aifinpay/mcp~/.codex/config.toml
[mcp_servers.aifinpay]
command = "npx"
args = ["-y", "@aifinpay/mcp"]
env = { AIFINPAY_AGENT_SECRET = "<AIFINPAY_AGENT_SECRET>" }
# codex mcp add aifinpay --env AIFINPAY_AGENT_SECRET='<AIFINPAY_AGENT_SECRET>' -- npx -y @aifinpay/mcp~/.cursor/mcp.json
{
"mcpServers": {
"aifinpay": {
"command": "npx",
"args": [
"-y",
"@aifinpay/mcp"
],
"env": {
"AIFINPAY_AGENT_SECRET": "<AIFINPAY_AGENT_SECRET>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"aifinpay": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@aifinpay/mcp"
],
"env": {
"AIFINPAY_AGENT_SECRET": "<AIFINPAY_AGENT_SECRET>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"aifinpay": {
"command": "npx",
"args": [
"-y",
"@aifinpay/mcp"
],
"env": {
"AIFINPAY_AGENT_SECRET": "<AIFINPAY_AGENT_SECRET>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"aifinpay": {
"command": "npx",
"args": [
"-y",
"@aifinpay/mcp"
],
"env": {
"AIFINPAY_AGENT_SECRET": "<AIFINPAY_AGENT_SECRET>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"aifinpay": {
"command": "npx",
"args": [
"-y",
"@aifinpay/mcp"
],
"env": {
"AIFINPAY_AGENT_SECRET": "<AIFINPAY_AGENT_SECRET>"
}
}
}
}Remote
claude mcp add --transport http aifinpay https://mcp.aifinpay.io/mcp~/.codex/config.toml
[mcp_servers.aifinpay]
url = "https://mcp.aifinpay.io/mcp"
# codex mcp add aifinpay --url https://mcp.aifinpay.io/mcp~/.cursor/mcp.json
{
"mcpServers": {
"aifinpay": {
"url": "https://mcp.aifinpay.io/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"aifinpay": {
"type": "http",
"url": "https://mcp.aifinpay.io/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"aifinpay": {
"httpUrl": "https://mcp.aifinpay.io/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"aifinpay": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.aifinpay.io/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"aifinpay": {
"url": "https://mcp.aifinpay.io/mcp"
}
}
}Environment variables
AIFINPAY_AGENT_SECRET
Replace the placeholders with your own credentials and keep them out of version control.