Skip to main content
Glama
Humotica

tibet-phantom-mcp

by Humotica

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

Related MCP server: TokenMizer

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

License

MIT — HumoticaOS

Available Tools

7 tools
phantom_auditA

Full forensic audit of a session (Open Blackbox).

Chronological events: who did what, when, why. All actors, backends, forks. Complete transparency into what happened inside an AI session.

Args: session_id: Session to audit

ParametersJSON Schema
NameRequiredDescriptionDefault
session_idYes

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations exist, so the description carries full burden. It discloses output content (chronological events with actors, backends, forks) but does not explicitly state that the tool is read-only or safe to call without side effects. Given the audit focus, it is adequate but could be improved.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized with three sentences plus an Args line. It is front-loaded with the main purpose and includes essential details without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description explains the tool's output (chronological events with actors, etc.) but does not specify the return format or structure. Given no output schema, this is a minor gap for a single-parameter tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, but the description adds meaning by stating 'session_id: Session to audit' beyond the schema's title 'Session Id'. This clearly explains the parameter's role.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose as a full forensic audit of a session, listing chronological events with specifics (who, what, when, why) and distinguishes from sibling tools like phantom_sessions (listing sessions) and phantom_fork (managing forks).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies use for auditing a session but does not explicitly state when to use it versus alternatives or provide exclusion criteria. It lacks guidance like 'use phantom_sessions to find session IDs first'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

phantom_backendsA

List available compute backends — local GPU, Vertex AI, Ollama, with models and latency.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Since no annotations exist, the description carries full burden. It accurately describes the read-only behavior (listing backends with models and latency). No side effects or additional constraints are expected for such a simple query tool, so transparency is good.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence front-loads the action and key details. No redundant information; every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no parameters, no output schema, and simple listing nature, the description provides all necessary context. It covers what the tool does and what information it returns.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

No parameters exist, so baseline is 4. The description adds value by specifying which backends are included and what information (models, latency) is returned, going beyond the empty schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it lists available compute backends, with specific examples (local GPU, Vertex AI, Ollama) and attributes (models, latency). It distinguishes well from sibling tools like phantom_audit, phantom_fork, etc.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit when-to-use or when-not-to-use guidance is provided. However, the tool's purpose as a listing function is clear, and given zero parameters and no alternatives mentioned, usage is straightforward but lacks explicit context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

phantom_forkA

Fork into a session — inject an intervention (multi-AI handoff).

Any actor can inject a signed message into a sealed session. The fork becomes part of the conversation with TIBET provenance.

Use cases: correct AI mistakes, add context, human approval, cross-AI collaboration.

Args: session_id: Target phantom session ID intervention: Message to inject actor: JIS identity (e.g., "jis:agent:root_ai", "jis:human:jasper") intent: Why (e.g., "correct_misconception", "add_context", "approve")

Returns: Fork ID and TIBET token with ERIN/ERAAN/EROMHEEN/ERACHTER provenance

ParametersJSON Schema
NameRequiredDescriptionDefault
session_idYes
interventionYes
actorNojis:agent:mcp_user
intentNomcp_intervention

TDQS

A4.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It mentions that the fork works on sealed sessions and returns a Fork ID with TIBET provenance, but does not disclose side effects (e.g., whether the original session is modified), permission requirements, or potential failure modes. It is adequate but not comprehensive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise and well-structured. It starts with a clear purpose, followed by elaboration, use cases, and parameter descriptions. No wasted sentences; every part adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 4 parameters, 0% schema description, no output schema, and no annotations, the description covers the essentials: purpose, usage, parameters, and return value. It lacks error scenarios and deeper explanation of TIBET provenance, but is largely complete for an AI agent to use correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, meaning the schema only provides types and defaults. The description explains all four parameters, including examples for 'actor' and 'intent'. It adds significant meaning beyond the bare schema, though it could specify expected formats for session_id and intervention constraints.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Fork into a session — inject an intervention (multi-AI handoff).' It also provides a list of use cases, making it distinct from sibling tools like phantom_seal and phantom_sessions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context: 'Any actor can inject a signed message into a sealed session.' It includes example use cases (correct AI mistakes, add context, human approval, cross-AI collaboration) but does not explicitly state when not to use or mention alternatives, which would improve it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

phantom_fork_historyA

History of all forks/interventions in a session.

Every external intervention chronologically with TIBET provenance per fork.

Args: session_id: Session to get fork history for

ParametersJSON Schema
NameRequiredDescriptionDefault
session_idYes

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Without annotations, the description carries full burden. It discloses that output is chronological and includes provenance but lacks details like read-only nature, performance implications, or error conditions. Adequate but not rich.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Highly concise: two sentences for purpose, one for parameter explanation. Front-loaded with key action, no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given simple schema (1 param, no output schema), description sufficiently defines tool purpose, input, and output nature (chronological history with provenance). Could be improved with details on default behavior or time range, but it's complete enough for basic use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description includes an 'Args' section explaining the parameter 'session_id' as 'Session to get fork history for', adding meaning beyond the schema which only has a type and title. No enum or nested objects, but coverage is compensated.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it returns the history of all forks/interventions in a session, with chronological ordering and TIBET provenance. This is a specific verb+resource that distinguishes it from siblings like phantom_fork (which creates forks) and phantom_audit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives like phantom_audit or phantom_status. It doesn't specify retrieval scope, filtering options, or when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

phantom_sealA

Seal a session for cross-device resume.

Creates a sealed Phantom session with full context. Resume on any device: curl -s $PHANTOM_URL/phantom/resume | sh

Args: task: What you're working on description: Session description backend: Compute backend (p520-local, vertex-gemini, vertex-claude) model: AI model to use conversation: Message history [{"role": "user", "content": "..."}] todos: Todo items [{"content": "task", "status": "pending"}] files: Files to carry over {"name": "content"} packages: Pip packages needed target_identity: JIS identity for the session ttl_minutes: Session time-to-live

Returns: Session ID and TIBET seal token

ParametersJSON Schema
NameRequiredDescriptionDefault
taskYes
descriptionNoMCP sealed session
backendNovertex-gemini
modelNogemini-3.1-flash-lite-preview
conversationNo
todosNo
filesNo
packagesNo
target_identityNojis:mcp
ttl_minutesNo

TDQS

A3.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Description mentions creating a sealed session and returning session ID/token, but does not disclose whether the original session continues, requires specific permissions, or what 'sealing' means for session state. With no annotations, the description should be more transparent about side effects and prerequisites.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with purpose and example, then lists arguments. The curl command is helpful but slightly verbose. Overall concise and well-structured, though a few words could be trimmed without losing meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 10 parameters, no annotations, and no output schema, the description covers purpose, example usage, all parameters, and return values. Missing are error behavior, authentication, and rate limits, but the core functionality is well explained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Despite 0% schema coverage, the description explains each of the 10 parameters in plain language, including structure for complex types like conversation and files. This adds significant value beyond the input schema, which only provides names and types.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool seals a session for cross-device resume, distinguishing it from sibling tools like phantom_sessions (list) and phantom_fork (fork). The verb 'seal' is specific and the resource 'session' is explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives a curl command example for resuming, implying use for cross-device transfer, but never explicitly states when to use this tool versus siblings like phantom_fork or phantom_status. No exclusion criteria or alternative guidance provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

phantom_sessionsA

List all Phantom sessions (sealed and active) with IDs, descriptions, and timestamps.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A3.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. It only states the tool lists sessions, but does not indicate whether it is read-only, requires authentication, has rate limits, or whether it returns all sessions at once (e.g., pagination). Lack of info on side effects or safety.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence that front-loads the action and key details. Every word is necessary and contributes to understanding the tool's purpose. No wasted text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter list tool, the description is nearly complete. It specifies what is listed (sealed and active sessions) and the output fields (IDs, descriptions, timestamps). It lacks mention of ordering, pagination, or any limits, but given simplicity, it is adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has no parameters, and schema description coverage is 100%. The baseline for zero parameters is 4. The description does not need to add parameter details, but it could mention that no parameters are required. It correctly omits param info.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it lists all Phantom sessions (both sealed and active) and specifies the returned fields (IDs, descriptions, timestamps). It uses a specific verb and resource, and distinguishes from sibling tools like phantom_seal or phantom_audit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage when one needs to list sessions, but provides no explicit guidance on when to use this tool versus alternatives (e.g., phantom_status, phantom_audit). There are no when-not conditions or comparisons.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

phantom_statusA

Check Phantom server status — uptime, sessions, backends.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations exist, so the description must fully convey behavior. It correctly indicates a non-destructive status check but lacks details on permissions, rate limits, or response structure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single concise sentence starting with the verb 'Check'. Every word adds value, with no unnecessary detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (no params, no output schema), the description is mostly complete. It could briefly mention the output format, but it's sufficient for a basic status check.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so the description naturally handles parameter semantics. Baseline score of 4 is appropriate since no further explanation is needed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool checks Phantom server status and lists the specific aspects (uptime, sessions, backends). It distinguishes from sibling tools like phantom_backends and phantom_sessions by being a general overview.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for a quick status overview but does not explicitly guide when to use this tool versus more specific siblings like phantom_backends. No when-not or alternative guidance is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 7 tool updatesv0.1.1
    • First observedphantom_audit
    • First observedphantom_backends
    • First observedphantom_fork
    • First observedphantom_fork_history
    • First observedphantom_seal
    • First observedphantom_sessions
    • First observedphantom_status

TDQS

A4.2/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: audit, list backends, fork, fork history, seal, list sessions, and status. No two tools overlap in functionality.

Naming Consistency5/5

All tool names follow the consistent pattern 'phantom_<noun>' or 'phantom_<noun_noun>' in snake_case, making them predictable and easy to distinguish.

Tool Count5/5

7 tools is well-scoped for a session management server covering creation, listing, forking, auditing, and status checks. Not too many or too few.

Completeness4/5

Core session lifecycle is covered: create (seal), list, fork, audit, and status. Missing a dedicated 'get_session' tool, but audit provides full details. Minor gap.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Humotica/tibet-phantom-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server