Skip to main content

MCP server for Phantom Resume — cross-device AI session portability with TIBET provenance

Project description

tibet-phantom-mcp

MCP server for Phantom Resume — cross-device AI session portability with TIBET provenance.

Start an AI session on your laptop, seal it, walk to any other device, resume exactly where you left off. Every action is cryptographically signed via TIBET tokens.

Part of the TIBET ecosystem by HumoticaOS.

Install

pip install tibet-phantom-mcp

Setup

You need a running Phantom server. Set the PHANTOM_URL environment variable to point to your server.

Claude Code / Claude Desktop Config

Add to your MCP settings:

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

Available Tools

Tool Description
phantom_status Server health check — uptime, sessions, backends
phantom_sessions List all sealed/active sessions
phantom_backends Available compute backends (GPU, Gemini, Claude, Ollama)
phantom_seal Seal a session for cross-device resume
phantom_fork Inject an intervention into a session (multi-AI handoff)
phantom_audit Full forensic audit trail (Open Blackbox)
phantom_fork_history History of all forks/interventions

How It Works

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

Multi-AI Fork

Any actor (human or AI) can fork into a session:

# 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"
)

Open Blackbox (Audit)

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

Environment Variables

Variable Default Description
PHANTOM_URL http://localhost:8000 Phantom server URL
PHANTOM_TIMEOUT 30 HTTP timeout in seconds

Related TIBET Packages

License

MIT — HumoticaOS

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tibet_phantom_mcp-0.1.1.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tibet_phantom_mcp-0.1.1-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file tibet_phantom_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: tibet_phantom_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for tibet_phantom_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 696b09dc2000caaa049bb83d2529ecf922a425a01cd5bc06113ba29d2623909c
MD5 c3f3075a56c415cafe8ad68cb886ee6b
BLAKE2b-256 b58876df7ceb0a6e57a96cf10eb3fa48e378ac814d067b4d7e7a1e43e10bc397

See more details on using hashes here.

File details

Details for the file tibet_phantom_mcp-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for tibet_phantom_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4ab9f44b8d688932b21646b03457338242a22856ded8f372a7c4e115fef4f048
MD5 ddd4a898dd087619afa53f47b20915ca
BLAKE2b-256 59f6c61fe859857da7ee06d024b2a2ab58cdfea96e8dd052c0ecf5065d361de2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page