Nana
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
纳纳是一个装进 Agent 里的家庭物品记忆技能。数据全部留在你的电脑上,不需要注册账号, 也不需要把家里照片传到任何服务器。
它只回答「最后已知位置」,不承诺「实时位置」。 「护照在书房 > 书桌右手第二个抽屉,较可信,上次确认是 9 天前」—— 这是它该有的回答方式。
它解决什么
家里找不到东西,通常不是因为东西多,而是因为没有记录放在哪了。
纳纳只做一件事:给每个柜子/抽屉一个编号,站在柜子前录 90 秒, 它把里面的东西和层数记下来。以后问「剪刀在哪」,它给你位置、可信度和一条走过去的路。
它不做的事,也是刻意的:
不做独立 App(保持网页,扫码即用)
不做定期扫描
不承诺精确到厘米
不说话、不要求你命名每个格子
不卖数据、不做广告
Related MCP server: memorygraph
两种装法
包 | 装在哪 | 大小 | 作用 |
| 有 Python 的电脑 | ~700KB | 自带引擎,独立建档与查询 |
| 手机上的 Agent | 3KB | 不含引擎,连回家里的那份档案 |
数据只有一份。手机端只是另一个入口,不会产生第二份家庭档案。
快速开始(桌面)
需要 Python 3.10+,抽帧还需要 ffmpeg。
git clone <this-repo> nana && cd nana
python3 -m pip install -r requirements.txt
cp .env.example .env # 填入视觉模型的 Key,详见下方然后把 skill/ 放进你的 Agent 技能目录,直接问它:
python3 skill/scripts/nana_cli.py query "护照在哪" --format text第一次调用会自动在本机启动引擎(默认监听 127.0.0.1:8787),
端口和进程号记在 ~/.nana/state.json,日志在 ~/.nana/engine.log。
不需要手动执行任何启动脚本。
关于视觉识别
默认用火山方舟的视觉模型,在 .env 里填:
ARK_API_KEY=...
NANA_VISION_MODEL=doubao-seed-2-1-lite-260915也可以把识别交给宿主 Agent(不产生模型费用):
NANA_VISION_PROVIDER=host此时引擎只抽帧,由宿主模型看图并回写清单,流程见 skill/SKILL.md。
手机端
手机和电脑在同一个 WiFi,用局域网地址连回来:
http://<电脑名>.local:8787/mcp这是标准 MCP over HTTP 端点,令牌放在请求头 x-nana-token。
完整配置见 mobile/mcp.json 与 mobile/SKILL.md。
出门在外用不了——这是当前版本的真实限制。找东西本来就发生在家里。
引擎可以放在哪
同一份引擎,三个地方都能跑,区别只是谁负责开机、数据落在谁手上:
放哪 | 手机怎么连 | 数据在谁手上 | 适合谁 |
自己的电脑 | 同一 WiFi, | 你自己 | 大多数人 |
Agent 平台的云电脑 | 平台给的访问地址 | 平台,先确认是否持久 | 已经在用云端 Agent 的人 |
自己的服务器 | 自己配的域名或 IP | 你自己 | 有运维能力的人 |
⚠️ 装进 Agent 云电脑之前先确认一件事:那台机器的磁盘是不是任务结束就销毁。 多数平台的云电脑是任务级沙箱,档案放进去,实例一回收就没了。要长期用,得挂持久卷或定期导出。
云电脑 / 服务器(Docker)
git clone <this-repo> nana && cd nana
cp .env.example .env # 可选:填 ARK_API_KEY
docker compose up -d数据落在 nana-data 卷里,换机器把卷导出带走即可。对外地址不是本机时,用环境变量告诉它:
NANA_PUBLIC_BASE_URL=https://your-domain.example docker compose up -d让手机连上来
在跑引擎的那台机器上执行:
python3 skill/scripts/nana_cli.py pair它会吐出整段 mcp_config(含地址和令牌),直接粘进手机端 Agent 的 MCP 配置就行。
也可以显式指定对外地址:
python3 skill/scripts/nana_cli.py pair --public-url https://your-domain.example本地 CLI 连远端引擎
不用在每台机器上都装一份引擎,指过去就行:
export NANA_BASE_URL=https://your-domain.example
export NANA_TOKEN=nana_mcp_xxx
python3 skill/scripts/nana_cli.py query "护照在哪"数据在哪
内容 | 位置 |
档案数据库 |
|
媒体与缩略图 |
|
导出包 |
|
访问令牌 |
|
导出永久免费,随时能把整份档案带走(Markdown + JSON + 图片)。
安全与隐私
默认只监听
127.0.0.1,只有本机能访问;所有业务接口都要令牌,令牌只存哈希;
原始视频默认保留 7 天后清理(
RAW_MEDIA_TTL_DAYS),长期只留每件一张缩略图;不拍人脸、不做人脸识别、不跨 App 读取。
如果要让手机在局域网访问,把 NANA_HOST 设为 0.0.0.0:
NANA_HOST=0.0.0.0 python3 skill/scripts/bootstrap.py这会让同网段设备看到端口,数据仍需令牌才能取。家里网络不可信时,请保持默认。
目录结构
app/ 引擎:FastAPI + SQLite,采集、识别、检索、导出
skill/ 桌面技能:SKILL.md + 自启动 CLI
mobile/ 手机技能:只负责连回引擎
scripts/ 开发与运维脚本
tests/ 验收用例
docs/ 开发文档与截图开发
python3 -m pytest -q # 跑测试
bash scripts/build_skill.py # 生成可分发的 skill 包
bash scripts/run.sh # 前台启动引擎(调试用)反馈
报 bug、提需求、说哪里用着别扭,直接开 Issue,不用客气。
不想开号也行:直接跟你的 Agent 说「这条帮我记一下」,它会写进本地
~/.nana/feedback.log,不会上传、不会自动提交。攒下来的反馈什么时候整理、以什么形式公开,由你决定。
License
MIT,见 LICENSE。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted agent memory: store, search, and recall facts across sessions from any MCP client.
Shared memory for AI agents and teams: store, search and correct dated facts and decisions.
Hosted agent memory with provenance, contradiction surfacing, and snapshot rollback.
Evidence-grounded, graph-connected, correctable memory for agents.
Related MCP Servers
AlicenseNot gradedqualityBmaintenanceProvides agents with durable, provenance-aware memory through tools for remembering, recalling, answering, and maintaining information, while structurally resisting injection and confabulation.11MIT- AlicenseAqualityDmaintenanceEnables AI agents to record, recall, correct, and forget evidence-backed factual claims with temporal history, while explaining whether remembered information is current, historical, or contested.5Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables voice-first shared object memory for Alexa+, letting users record where items were last reported, retrieve authorized locations, correct stale records, check shared items in and out, run guided Lost Mode searches, and manage privacy-aware access.MIT
- AlicenseNot gradedqualityCmaintenanceEnables households to maintain a shared, persistent family memory for tracking item locations, warranty dates, chores, and who said what and when. It exposes this memory to AI assistants and tooling through MCP-compatible endpoints.MIT