MCP desktop companion for AI agent status, usage tracking, and everyday tools. Anything Universe · 桌面伙伴与日常工具入口。
# Add to your Claude Code skills
git clone https://github.com/songconmaisaix31-design/mcpetmcpet is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by songconmaisaix31-design. MCP desktop companion for AI agent status, usage tracking, and everyday tools. Anything Universe · 桌面伙伴与日常工具入口。. It has 312 GitHub stars.
mcpet's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/songconmaisaix31-design/mcpet" and add it to your Claude Code skills directory (see the Installation section above).
mcpet is primarily written in Python. It is open-source under songconmaisaix31-design on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh mcpet against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
A desktop pet that watches your agent sessions, your local token usage, and your lunch.
一只桌宠:盯着 Agent 会话、本机用量,还有你的饭点。
GIFs shipped in this repository under docs/media/deepseek/; sources and licenses are listed in docs/media/deepseek/SOURCE.md.动画文件就在本仓库 docs/media/deepseek/ 下;来源与许可见 docs/media/deepseek/SOURCE.md。
How to read this page / 怎么读这页 English first, then the same content in Chinese — not a summary, not a separate half. Tables keep both languages in one cell. 每段英文在前、同一内容的中文紧跟在后;不是摘要,也没有单独的"中文版"。表格把两种语言放进同一格。
| Problem问题 | A long agent run looks the same whether it is working, waiting for input, or already errored — and the token bill lives in yet another window.长时间运行的 Agent,在工作、等输入、已经出错这三种状态下看起来一样;而 token 账单又在另一个窗口里。 |
| Fix做法 | A desktop pet + an MCP server over one shared data directory: session state drives the animation, a local ledger tracks usage, reminders fire on a schedule.桌宠加一个 MCP 服务,共用同一份数据目录:会话状态驱动动作,本机台账记录用量,提醒按时触发。 |
| Cost代价 | Python 3.10+ and PySide6 for the desktop; the agent path only needs requirements-agent.txt. Dining features need McDonald's / Luckin tokens.桌面要 Python 3.10+ 与 PySide6;只走 Agent 路径只需 requirements-agent.txt。餐饮功能需要麦当劳/瑞幸凭据。 |
| Not不是 | Not a hosted service, not a model provider, not an ordering bot that pays for you.不是托管服务,不是模型提供方,也不是替你付款的下单机器人。 |
| Feature · 功能 | Desktop entry · 桌面入口 | Say this to the agent · 对 Agent 说 |
|---|---|---|
| Companion & skins陪伴与换装 | Character & actions → default / McD outfit | "DeepSeek 娘穿麦麦套装" |
| Session state会话状态 | Sessions & quota → session progress | "用 McPet 看当前会话状态" |
| Usage & balance用量与余额 | Sessions & quota → local ledger, Orca cache, DeepSeek balance | "余额还有多少" |
| McDonald's麦当劳 | McDonald's → coupons, store, live quote | "今天有什么麦当劳优惠?先查一下" |
| Luckin coffee瑞幸 | Luckin → store, item, spec, preview price | "选一杯拿铁,先预览价格" |
| Nutrition ledger营养记账 | Nutrition → pick item, confirm servings | "查询巨无霸营养,我吃了 1.5 份" |
| Reminders定时提醒 | Settings → time & location → lunch / coffee | "饭点改成 12:15" |
Every order, coupon claim and ledger write shows a concrete summary first and waits for explicit confirmation. The default order guardrails are 100 CNY per order and 3 orders per day, re-checked at confirmation time.
每一次领券、下单和记账都先展示具体摘要,等明确确认后才执行。默认订单护栏是单笔 100 元、每日 3 单,确认时再复核金额。
An agent session is a black box with a progress bar:
agent ──▶ working? (no output for 6 minutes)
──▶ waiting for input? (a prompt is on screen)
──▶ stopped? (idle / Stop)
idle and Stop are session states, not success. The pet shows the state it can actually read from logs or host events, and keeps unreadable fields unknown instead of guessing.
Agent 会话是个带进度条的盲盒:
agent ──▶ 在工作? (六分钟没有输出)
──▶ 在等输入? (屏幕上有提示)
──▶ 已停止? (idle / Stop)
idle 与 Stop 是会话状态,不是成功。桌宠只显示它真能从日志或宿主事件读到的东西,读不到的字段保持未知。
| Noun · 名词 | Path · 路径 | Rule · 规则 |
|---|---|---|
| Pet | src/pet/, src/main.py --desktop |
Animation follows real state; a missing sprite falls back to an existing action rather than a broken frame.动作跟随真实状态;缺素材时回落到已有动作,不出现破图。 |
| Host | src/agent_mcp.py, src/agent_install.py |
The MCP server is started by the host over stdio; the desktop pet is a separate process on the same data directory.MCP 服务由宿主以 stdio 启动;桌宠是另一个进程,共用同一份数据目录。 |
| Progress | src/progress/, src/agentbridge/ |
Session progress comes from readable logs and host events only; idle is not success.会话进度只来自可读日志与宿主事件;idle 不等于成功。 |
| Guard | src/mcd_mcp/, src/luckin.py |
Order, claim and ledger writes require an explicit confirmation step.下单、领券与记账都需要显式确认步骤。 |
| Ledger | src/metering/, src/accounts/ |
Every number carries its source and update time; unknown stays unknown.每个数字都带来源与更新时间;未知保持未知。 |
Download McPet-v0.1.0-windows-x64.zip, unzip the whole folder and double-click Start-Pet.vbs. If the launcher misbehaves, run .\McPet.exe --desktop in that folder.
下载 McPet-v0.1.0-windows-x64.zip,解压整个文件夹后双击 Start-Pet.vbs。启动脚本不可用时,在解压目录运行 .\McPet.exe --desktop。
The host needs MCP stdio support. From the agent package directory, or from a source checkout:
宿主需要支持 MCP stdio。在 Agent 包目录或源码目录运行:
python -m pip install -r requirements-agent.txt
python -m src.agent_install
Put the printed server.command / server.args into the host's MCP settings, name it mcpet, transport stdio. Portable-package users can run .\McPet.exe --install for the same output.
把输出的 server.command / server.args 填进宿主的 MCP 设置,服务名 mcpet,传输方式 stdio。便携包用户可运行 .\McPet.exe --install 得到同样的连接信息。
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
.\.venv\Scripts\python.exe -m src.main --desktop
Regression checks used by this repository:
.\.venv\Scripts\python.exe -m pytest tests/test_deepseek_skins.py tests/test_agent_host.py tests/test_guards.py -q
.\.venv\Scripts\python.exe -m compileall -q src scripts tests
The commands above are copied from CONTRIBUTING.md and docs/USER-GUIDE.md; none of them were re-run while writing this page.
以上命令抄自 CONTRIBUTING.md 与 docs/USER-GUIDE.md;写这页时没有重跑任何一条。
| Doc · 文档 | Read it when · 什么场景读它 |
|---|---|
| docs/USER-GUIDE.md | You need install, menus, account setup, dining flows, FAQ.需要安装、菜单、账号配置、餐饮流程与常见问题。 |
| docs/RELEASE-QUICKSTART.md | First launch of the Windows portable or agent package.首次启动 Windows 便携包或 Agent 包。 |
| docs/AGENT-HOST.md | You are wiring the MCP host: tools, resources, host events.在接 MCP 宿主:工具、资源、宿主事件。 |
| docs/AGENT-SKILL.md | You want the portable skill copy and its references.需要可移植技能副本与其引用文件。 |
| CONTRIBUTING.md | You are changing code: env setup, checks, commit rules.要改代码:环境、检查、提交规则。 |
| STATUS.md | You need current progress, branch ownership, unverified items.需要当前进度、分支归属、待验收事项。 |
| assets/CREDITS.md | You are reusing art or reference code — read the per-asset licenses first.要复用素材或参考代码——先看各自的许可。 |
mcpet/
├── src/
│ ├── pet/ # desktop pet window, sprites, behaviour
│ ├── agent_mcp.py # MCP stdio server for the host
│ ├── agent_install.py# prints server.command / server.args
│ ├── progress/ # session state from logs + host events
│ ├── metering/ # local token ledger
│ ├── accounts/ # read-only quota / balance sources
│ ├── mcd_mcp/ # McDonald's client, business rules, order guard
│ ├── nutrition/ # local nutrition ledger
│ └── schedule/ # reminders
├── .agents/skills/ # portable agent skill source
├── assets/ # sprites, GIFs, credits
├── docs/ # user guide, agent docs, release notes, media
├── integrations/ # optional native adapters (OpenCode)
├── scripts/ # release build, asset import, diagnostics
└── tests/ # 38 pytest files
Shipped release: v0.1.0, Python/Qt, Windows x64 portable. The Tauri 2 + original-art redesign is still at M0 (docs/contest/M0-REPORT.md). Source is 70 Python modules; tests are 38 files.
现行发行:v0.1.0,Python/Qt,Windows x64 便携包。Tauri 2 与原创形象的重做仍在 M0(docs/contest/M0-REPORT.md)。源码 70 个 Python 模块;测试 38 个文件。
Known limits, stated rather than hidden:
.env.trial).python -m pytest -q has known open failures in legacy desktop and foreground-performance items; the curated regression set is the one the repo claims.边界写出来而不是藏起来:
.env.trial)可用。python -m pytest -q 在旧桌面与前台性能相关项上仍有已知失败;仓库只对整理出的回归集作承诺。This repository declares no project-wide license at its root — there is no top-level LICEN