Yolfi Payments integration: register workspaces, create crypto checkout links, configure and verify webhooks and check payment status.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
本地运行
claude mcp add yolfi-agent --env YOLFI_API_KEY='<YOLFI_API_KEY>' --env YOLFI_WEBHOOK_SECRET='<YOLFI_WEBHOOK_SECRET>' -- npx -y @yolfi/agent~/.codex/config.toml
[mcp_servers.yolfi-agent]
command = "npx"
args = ["-y", "@yolfi/agent"]
env = { YOLFI_API_KEY = "<YOLFI_API_KEY>", YOLFI_WEBHOOK_SECRET = "<YOLFI_WEBHOOK_SECRET>" }
# codex mcp add yolfi-agent --env YOLFI_API_KEY='<YOLFI_API_KEY>' --env YOLFI_WEBHOOK_SECRET='<YOLFI_WEBHOOK_SECRET>' -- npx -y @yolfi/agent~/.cursor/mcp.json
{
"mcpServers": {
"yolfi-agent": {
"command": "npx",
"args": [
"-y",
"@yolfi/agent"
],
"env": {
"YOLFI_API_KEY": "<YOLFI_API_KEY>",
"YOLFI_WEBHOOK_SECRET": "<YOLFI_WEBHOOK_SECRET>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"yolfi-agent": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@yolfi/agent"
],
"env": {
"YOLFI_API_KEY": "<YOLFI_API_KEY>",
"YOLFI_WEBHOOK_SECRET": "<YOLFI_WEBHOOK_SECRET>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"yolfi-agent": {
"command": "npx",
"args": [
"-y",
"@yolfi/agent"
],
"env": {
"YOLFI_API_KEY": "<YOLFI_API_KEY>",
"YOLFI_WEBHOOK_SECRET": "<YOLFI_WEBHOOK_SECRET>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"yolfi-agent": {
"command": "npx",
"args": [
"-y",
"@yolfi/agent"
],
"env": {
"YOLFI_API_KEY": "<YOLFI_API_KEY>",
"YOLFI_WEBHOOK_SECRET": "<YOLFI_WEBHOOK_SECRET>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"yolfi-agent": {
"command": "npx",
"args": [
"-y",
"@yolfi/agent"
],
"env": {
"YOLFI_API_KEY": "<YOLFI_API_KEY>",
"YOLFI_WEBHOOK_SECRET": "<YOLFI_WEBHOOK_SECRET>"
}
}
}
}远程托管
claude mcp add --transport http yolfi-agent https://app.yolfi.com/mcp~/.codex/config.toml
[mcp_servers.yolfi-agent]
url = "https://app.yolfi.com/mcp"
# codex mcp add yolfi-agent --url https://app.yolfi.com/mcp~/.cursor/mcp.json
{
"mcpServers": {
"yolfi-agent": {
"url": "https://app.yolfi.com/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"yolfi-agent": {
"type": "http",
"url": "https://app.yolfi.com/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"yolfi-agent": {
"httpUrl": "https://app.yolfi.com/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"yolfi-agent": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://app.yolfi.com/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"yolfi-agent": {
"url": "https://app.yolfi.com/mcp"
}
}
}需要的环境变量
YOLFI_API_KEYYOLFI_WEBHOOK_SECRET
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。