AgentPay — Governed payment infrastructure for AI agents. Capability vault, scoped tokens, audit trail, and Ace Meridian voice travel concierge. Built on Cloudflare Workers + Supabase.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
本地运行
claude mcp add agentpay --env AGENTPAY_API_KEY='<AGENTPAY_API_KEY>' -- npx -y @agentpayxyz/mcp-server~/.codex/config.toml
[mcp_servers.agentpay]
command = "npx"
args = ["-y", "@agentpayxyz/mcp-server"]
env = { AGENTPAY_API_KEY = "<AGENTPAY_API_KEY>" }
# codex mcp add agentpay --env AGENTPAY_API_KEY='<AGENTPAY_API_KEY>' -- npx -y @agentpayxyz/mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"agentpay": {
"command": "npx",
"args": [
"-y",
"@agentpayxyz/mcp-server"
],
"env": {
"AGENTPAY_API_KEY": "<AGENTPAY_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"agentpay": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@agentpayxyz/mcp-server"
],
"env": {
"AGENTPAY_API_KEY": "<AGENTPAY_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"agentpay": {
"command": "npx",
"args": [
"-y",
"@agentpayxyz/mcp-server"
],
"env": {
"AGENTPAY_API_KEY": "<AGENTPAY_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"agentpay": {
"command": "npx",
"args": [
"-y",
"@agentpayxyz/mcp-server"
],
"env": {
"AGENTPAY_API_KEY": "<AGENTPAY_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"agentpay": {
"command": "npx",
"args": [
"-y",
"@agentpayxyz/mcp-server"
],
"env": {
"AGENTPAY_API_KEY": "<AGENTPAY_API_KEY>"
}
}
}
}远程托管
claude mcp add --transport http agentpay https://api.agentpay.so/api/mcp~/.codex/config.toml
[mcp_servers.agentpay]
url = "https://api.agentpay.so/api/mcp"
# codex mcp add agentpay --url https://api.agentpay.so/api/mcp~/.cursor/mcp.json
{
"mcpServers": {
"agentpay": {
"url": "https://api.agentpay.so/api/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"agentpay": {
"type": "http",
"url": "https://api.agentpay.so/api/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"agentpay": {
"httpUrl": "https://api.agentpay.so/api/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"agentpay": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.agentpay.so/api/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"agentpay": {
"url": "https://api.agentpay.so/api/mcp"
}
}
}需要的环境变量
AGENTPAY_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。