Skip to main content

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

Release files for tibet-phantom-mcp 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tibet-phantom-mcp 0.1.1
File Size Uploaded
tibet_phantom_mcp-0.1.1.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tibet-phantom-mcp 0.1.1
File Interpreter ABI Platform
tibet_phantom_mcp-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.9 kB

Release files / tibet_phantom_mcp-0.1.1.tar.gz

Download URL tibet_phantom_mcp-0.1.1.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
696b09dc2000caaa049bb83d2529ecf922a425a01cd5bc06113ba29d2623909c
BLAKE2b-256 checksum
How to use checksums
b58876df7ceb0a6e57a96cf10eb3fa48e378ac814d067b4d7e7a1e43e10bc397
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / tibet_phantom_mcp-0.1.1-py3-none-any.whl

Download URL tibet_phantom_mcp-0.1.1-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ab9f44b8d688932b21646b03457338242a22856ded8f372a7c4e115fef4f048
BLAKE2b-256 checksum
How to use checksums
59f6c61fe859857da7ee06d024b2a2ab58cdfea96e8dd052c0ecf5065d361de2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page