Split bills and collect payments through PayNow (Singapore) from your AI. MCP server for SplitBill.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
本地运行
claude mcp add splitbill --env SPLITBILL_TOKEN='<SPLITBILL_TOKEN>' -- npx -y splitbill-mcp~/.codex/config.toml
[mcp_servers.splitbill]
command = "npx"
args = ["-y", "splitbill-mcp"]
env = { SPLITBILL_TOKEN = "<SPLITBILL_TOKEN>" }
# codex mcp add splitbill --env SPLITBILL_TOKEN='<SPLITBILL_TOKEN>' -- npx -y splitbill-mcp~/.cursor/mcp.json
{
"mcpServers": {
"splitbill": {
"command": "npx",
"args": [
"-y",
"splitbill-mcp"
],
"env": {
"SPLITBILL_TOKEN": "<SPLITBILL_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"splitbill": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"splitbill-mcp"
],
"env": {
"SPLITBILL_TOKEN": "<SPLITBILL_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"splitbill": {
"command": "npx",
"args": [
"-y",
"splitbill-mcp"
],
"env": {
"SPLITBILL_TOKEN": "<SPLITBILL_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"splitbill": {
"command": "npx",
"args": [
"-y",
"splitbill-mcp"
],
"env": {
"SPLITBILL_TOKEN": "<SPLITBILL_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"splitbill": {
"command": "npx",
"args": [
"-y",
"splitbill-mcp"
],
"env": {
"SPLITBILL_TOKEN": "<SPLITBILL_TOKEN>"
}
}
}
}远程托管
claude mcp add --transport http splitbill https://jittee.com/mcp/splitbill~/.codex/config.toml
[mcp_servers.splitbill]
url = "https://jittee.com/mcp/splitbill"
# codex mcp add splitbill --url https://jittee.com/mcp/splitbill~/.cursor/mcp.json
{
"mcpServers": {
"splitbill": {
"url": "https://jittee.com/mcp/splitbill"
}
}
}.vscode/mcp.json
{
"servers": {
"splitbill": {
"type": "http",
"url": "https://jittee.com/mcp/splitbill"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"splitbill": {
"httpUrl": "https://jittee.com/mcp/splitbill"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"splitbill": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://jittee.com/mcp/splitbill"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"splitbill": {
"url": "https://jittee.com/mcp/splitbill"
}
}
}需要的环境变量
SPLITBILL_TOKEN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。