AI会话迁移服务

TIBET Phantom MCP是一个支持跨设备AI会话无缝迁移的服务,通过TIBET令牌确保会话完整性和可追溯性。

  • by Humotica
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 Humotica/tibet-phantom-mcp

使用说明

提伯特-汉托姆-mcp

幻影简历的MCP服务器——具有TIBET来源的跨设备AI会话可移植性。

在你的笔记本电脑上启动一个人工智能会话,密封它,走到任何其他设备,从你停止的地方继续。每个动作都通过加密签名 西藏 代币。

部分 西藏生态系统 通过 幽默.

安装

pip install tibet-phantom-mcp

设置

您需要一个正在运行的Phantom服务器。设置 PHANTOM_URL 指向服务器的环境变量。

克劳德代码/克劳德桌面配置

添加到MCP设置中:

{
  "mcpServers": {
    "phantom": {
      "command": "tibet-phantom-mcp",
      "env": {
        "PHANTOM_URL": "https://your-phantom-server.example.com"
      }
    }
  }
}

可用工具

工具 说明
phantom_status 服务器健康检查——正常运行时间、会话、后端
phantom_sessions 列出所有密封/活动会话
phantom_backends 可用的计算后端(GPU、Gemini、Claude、Ollama)
phantom_seal 密封会话以进行跨设备恢复
phantom_fork 在会话中注入干预(多AI切换)
phantom_audit 完整的取证审计跟踪(Open Blackbox)
phantom_fork_history 所有分叉/干预的历史

运作原理

Device A                    Phantom Server              Device B
────────                    ──────────────              ────────
Start session ──────────►   Stores context
Work with AI                TIBET tokens
/exit ──────────────────►   Session sealed
                                                        curl .../resume | sh
                            ◄───────────────────────── Resume request
                            L4 integrity verify ──────► Session restored
                            TIBET chain intact           AI picks up where
                                                         you left off

多AI分叉

任何参与者(人类或人工智能)都可以分叉到会话中:

# Claude corrects something Gemini said
phantom_fork(
    session_id="phantom-1234-abc",
    intervention="That's not quite right — TIBET uses hash chains, not blockchain.",
    actor="jis:agent:root_ai",
    intent="correct_misconception"
)

打开黑匣子(审计)

# See exactly what happened inside a session
phantom_audit(session_id="phantom-1234-abc")
# → chronological events, all actors, backends, forks, TIBET provenance

环境变量

变量 默认值 描述
PHANTOM_URL http://localhost:8000 幻影服务器URL
PHANTOM_TIMEOUT 30 HTTP超时(秒)

TIBET相关套餐

许可证

麻省理工学院 - HumoticaOS