CashPilot-MCP
A tiny bridge that exposes any CashPilot instance as an MCP server, enabling LLMs to monitor passive income earnings, manage services, and control fleet workers.
______________________________________________________________________
你得到了什么
| 类型 | 用途 | MCP URI/工具id |
|---|---|---|
| 资源 | 以只读方式浏览收入、服务、车队状态和健康评分 | cashpilot://earnings/summary |
cashpilot://earnings/breakdown cashpilot://services/deployed cashpilot://services/catalog cashpilot://fleet/summary cashpilot://workers cashpilot://health/scores cashpilot://collector-alerts | | 工具 |查询收益、管理服务并触发收款| get_earnings_daily get_earnings_history get_service_logs restart_service stop_service start_service deploy_service remove_service trigger_collection get_compose |
所有内容都通过单个JSON-RPC端点公开(/mcp). LLM/代理人可以: initialize -> readResource -> listTools -> callTool …等等。
______________________________________________________________________
快速入门(Docker Compose)
services:
cashpilot-mcp:
image: drumsergio/cashpilot-mcp:latest
ports:
- "127.0.0.1:8081:8081"
environment:
- CASHPILOT_URL=http://cashpilot:8080
- CASHPILOT_API_KEY=安全说明: HTTP传输侦听 127.0.0.1:8081 默认情况下。如果需要在网络上公开它,请将其放置在具有身份验证的反向代理后面。通过npm安装(stdio传输)
npx cashpilot-mcp或全局安装:
npm install -g cashpilot-mcp
cashpilot-mcp这将从GitHub Release为您的平台下载预构建的Go二进制文件,并使用stdio传输运行它。至少需要一个 出版发行.
本地建设
git clone https://github.com/GeiserX/cashpilot-mcp
cd cashpilot-mcp
# (optional) create .env from the sample
cp .env.example .env && $EDITOR .env
go run ./cmd/server配置
| 变量 | 默认值 | 描述 |
|---|---|---|
CASHPILOT_URL | http://localhost:8080 | CashPilot实例URL(不带尾随/) |
CASHPILOT_API_KEY | _(必填)_ | 管理员API密钥(CASHPILOT_ADMIN_API_KEY 来自您的CashPilot实例——不是舰队密钥) |
LISTEN_ADDR | 127.0.0.1:8081 | HTTP监听地址(Docker设置 0.0.0.0:8081) |
TRANSPORT | _(空=HTTP)_ | 设置为 stdio 用于stdio传输 |
把它们放在一个 .env 文件(来自 .env.example)或者将它们置于环境中。
测试
经过测试 检查员 目前,它正在全面运作。在进行PR之前,请确保此MCP服务器通过此介质运行良好。
客户端LLM的示例配置
{
"schema_version": "v1",
"name_for_human": "CashPilot-MCP",
"name_for_model": "cashpilot_mcp",
"description_for_human": "Monitor passive income earnings, manage bandwidth-sharing services, and control fleet workers via CashPilot.",
"description_for_model": "Interact with a CashPilot instance that manages passive income services. First call initialize, then reuse the returned session id in header \"Mcp-Session-Id\" for every other call. Use readResource to fetch URIs that begin with cashpilot://. Use listTools to discover available actions and callTool to execute them.",
"auth": { "type": "none" },
"api": {
"type": "jsonrpc-mcp",
"url": "http://localhost:8081/mcp",
"init_method": "initialize",
"session_header": "Mcp-Session-Id"
},
"contact_email": "acsdesk@protonmail.com",
"legal_info_url": "https://github.com/GeiserX/cashpilot-mcp/blob/main/LICENSE"
}学分
CashPilot --被动收入车队管理仪表板
MCP-GO --现代MCP实施
GoRelease --无痛多弓松解术
维护者
@盖泽尔.
贡献
尽情潜水吧! 打开一个问题 或提交PR。
CashPilot MCP遵循 贡献者契约 行为准则。
GeiserX的其他MCP服务器
- 重复 --备份健康监控
- 生殖细胞mcp --TR-069设备管理
- lynxprompt-mcp --AI配置蓝图
- 泵式mcp --燃料和电动汽车充电价格
- 电报档案mcp --电报消息存档
相关项目
| 项目 | 描述 |
|---|---|
| CashPilot | 自托管被动收入平台,具有用于设置和收入跟踪的web UI |
| CashPilot安卓版 | CashPilot被动收入应用程序的Android监控代理 |
| 现金飞行员ha | Home Assistant定制集成,用于CashPilot被动收入监控 |
| n8n节点现金飞行员 | 用于CashPilot被动收入监控的n8n社区节点 |
