Skip to content

Usage Examples

You do not need to memorize tool names. Just describe what you want in plain English and your AI coding agent (Claude Code, Codex, or Antigravity) will call the right MCP tool.

You: Save this conversation so I can continue on my laptop. Call it “billing API” and tag it “backend”.

Your agent calls teleport_push with label: "billing API" and tags: ["backend"].

Claude: Session teleported to CodeTeleport

id : c3a05473
size : 284 KB
machine : Alices-Desktop.local
messages: 47

You can pull this on your laptop and resume with claude --resume c3a05473 (Codex: codex resume c3a05473, Antigravity: agy --conversation c3a05473).

The resume command matches the agent that created the bundle, not the one configured on the puller’s machine.


You: What sessions do I have?

Your agent calls teleport_list.

Claude: You have 3 sessions stored in CodeTeleport:

#IDMachineProjectDateSize
1c3a05473Alices-Desktop~/projects/billing-apiMar 28, 2026284 KB
27f2b1e90Alices-Laptop~/work/frontendMar 27, 2026512 KB
3a91d44c2Alices-Desktop~/projects/auth-serviceMar 25, 2026198 KB

Want me to pull one of these?


You: Pull my latest session.

Your agent calls teleport_pull with the most recent session ID.

Claude: Session installed.

id: c3a05473
Resume with: claude --resume c3a05473

All paths have been rewritten from /Users/alice to /Users/bob automatically.

The Resume with: line is teleport_pull’s literal output and matches the agent that created the bundle — a Codex bundle prints codex resume c3a05473 and an Antigravity bundle prints agy --conversation c3a05473, regardless of which agent is configured on this machine.

Path rewriting is a two-pass rewrite (source home dir → target home dir, then source cwd → target cwd). For Claude Code and Codex JSONL transcripts (and memory/brain text files) this is plain text replacement; for an Antigravity bundle the same paths are rewritten inside the binary protobuf payloads of the SQLite conversation DB, with field-length prefixes recomputed so message framing stays valid. See path rewriting for details.

You: Pull session 7f2b1e90 to /home/bob/repos/frontend.

Your agent calls teleport_pull with sessionId: "7f2b1e90..." and targetDir: "/home/bob/repos/frontend".

Claude: Session installed and anchored at /home/bob/repos/frontend. Resume with claude --resume 7f2b1e90.

As above, the resume command is bundle-derived — a Codex bundle would say codex resume 7f2b1e90 and an Antigravity bundle agy --conversation 7f2b1e90. See path rewriting for details on how directory anchoring works.


You: Show me my local sessions.

Your agent calls teleport_local_list. This scans the local store of your configured agent — Claude Code (~/.claude/projects/), Codex (~/.codex/sessions/), or Antigravity (~/.gemini/antigravity-cli/conversations/).

Claude: You have 5 local AI coding sessions:

IDProjectMessagesLast activeSize
c3a05473…billing-api47Mar 28, 14:32284 KB
e8f21a03…billing-api12Mar 28, 09:1591 KB
7f2b1e90…frontend83Mar 27, 17:44512 KB
d4419bc1…docs-site29Mar 26, 11:02156 KB
a91d44c2…auth-service61Mar 25, 16:30198 KB

These are on your local machine. Want me to push any of them to the cloud?


You: How’s my CodeTeleport account looking?

Your agent calls teleport_status.

Claude: Here is your CodeTeleport status:

CodeTeleport Status
user : alice@example.com
device : Bobs-Laptop.local
api : https://api.codeteleport.com
plan : free
sessions : 3 / 25
devices : 2 / 3
last push: 3/28/2026, 2:32:14 PM (Alices-Desktop.local)

You are on the free plan with 22 sessions remaining.


You: Delete that old auth-service session.

Your agent calls teleport_delete with the session ID.

Claude: Session a91d44c2-… deleted from CodeTeleport. This cannot be undone.

For the full list of inputs and parameters, see the MCP Tools reference.