Lets agents search products and shop on Bitrefill through its public API, paying with cryptocurrencies.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add bitrefill --env BITREFILL_API_SECRET='<BITREFILL_API_SECRET>' --env BITREFILL_API_ID='<BITREFILL_API_ID>' -- npx -y bitrefill-mcp-server~/.codex/config.toml
[mcp_servers.bitrefill]
command = "npx"
args = ["-y", "bitrefill-mcp-server"]
env = { BITREFILL_API_SECRET = "<BITREFILL_API_SECRET>", BITREFILL_API_ID = "<BITREFILL_API_ID>" }
# codex mcp add bitrefill --env BITREFILL_API_SECRET='<BITREFILL_API_SECRET>' --env BITREFILL_API_ID='<BITREFILL_API_ID>' -- npx -y bitrefill-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"bitrefill": {
"command": "npx",
"args": [
"-y",
"bitrefill-mcp-server"
],
"env": {
"BITREFILL_API_SECRET": "<BITREFILL_API_SECRET>",
"BITREFILL_API_ID": "<BITREFILL_API_ID>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"bitrefill": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"bitrefill-mcp-server"
],
"env": {
"BITREFILL_API_SECRET": "<BITREFILL_API_SECRET>",
"BITREFILL_API_ID": "<BITREFILL_API_ID>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"bitrefill": {
"command": "npx",
"args": [
"-y",
"bitrefill-mcp-server"
],
"env": {
"BITREFILL_API_SECRET": "<BITREFILL_API_SECRET>",
"BITREFILL_API_ID": "<BITREFILL_API_ID>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"bitrefill": {
"command": "npx",
"args": [
"-y",
"bitrefill-mcp-server"
],
"env": {
"BITREFILL_API_SECRET": "<BITREFILL_API_SECRET>",
"BITREFILL_API_ID": "<BITREFILL_API_ID>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"bitrefill": {
"command": "npx",
"args": [
"-y",
"bitrefill-mcp-server"
],
"env": {
"BITREFILL_API_SECRET": "<BITREFILL_API_SECRET>",
"BITREFILL_API_ID": "<BITREFILL_API_ID>"
}
}
}
}需要的环境变量
BITREFILL_API_SECRETBITREFILL_API_ID
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。