Три способа. Выберите один.
Поставьте за две минуты Канон для агента: https://web-production-0a6821.up.railway.app/connect.json . В чате: «Подключи AgentPay».
1. Remote URL. Лучше из РФ Копировать Без npm и GitHub. Ходит сразу на наш API.
{
"mcpServers": {
"agentpay": {
"url": "https://api-production-4f36.up.railway.app/mcp",
"headers": {
"Authorization": "Bearer ap_REPLACE_ME"
}
}
}
}
2. npx (только agentpay-ru-mcp) Копировать Пакет agentpay-mcp на npm занят другим продуктом. Наш клиент: agentpay-ru-mcp.
{
"mcpServers": {
"agentpay": {
"command": "npx",
"args": [
"-y",
"agentpay-ru-mcp"
],
"env": {
"AGENTPAY_API_URL": "https://api-production-4f36.up.railway.app",
"AGENTPAY_API_KEY": "ap_REPLACE_ME"
}
}
}
}
3. uvx из GitHub Копировать Python-клиент без npm registry.
{
"mcpServers": {
"agentpay": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/zapnikita95/agentpay-mcp.git",
"agentpay-ru-mcp"
],
"env": {
"AGENTPAY_API_URL": "https://api-production-4f36.up.railway.app",
"AGENTPAY_API_KEY": "ap_REPLACE_ME"
}
}
}
}