# Passit

> Pass conversations between AI agents — grab, drop, and continue seamlessly. Local-first MCP server for Claude Code, OpenCode, Cursor, Gemini.

- **Type:** MCP server
- **Install:** `agentstack add mcp-himanshu007-creator-passit`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [himanshu007-creator](https://agentstack.voostack.com/s/himanshu007-creator)
- **Installs:** 0
- **Category:** [Integrations](https://agentstack.voostack.com/c/integrations)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [himanshu007-creator](https://github.com/himanshu007-creator)
- **Source:** https://github.com/himanshu007-creator/passit

## Install

```sh
agentstack add mcp-himanshu007-creator-passit
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# passit

**Pass conversations between AI agents — grab, drop, and continue seamlessly.**

passit is a local-first [MCP](https://modelcontextprotocol.io) server that lets you move conversations between any AI coding agent. Stuck on credits in Claude Code? `passit_drop` it into OpenCode. Need to pick up where you left off in Gemini? `passit_push` it over. No more lost context.

```bash
cargo install passit
```

## Why passit?

AI coding agents are walled gardens. Claude Code can't see what OpenCode discussed. Cursor can't pick up from Gemini. If one agent hits its limit, there's no way to continue elsewhere without copy-pasting.

passit breaks those walls with a shared, persistent, local-first session bus.

- **grab ↔ drop** — grab a conversation from any agent, drop it into another. Continue exactly where you left off.
- **push** — send conversations to other tools and agents
- **scan** — automatically discover and import past conversations from Claude Code, Gemini CLI, OpenCode
- **search** — find anything you've ever discussed, across all agents
- **fork** — branch a conversation to try different approaches
- **trim** — fit conversations within token limits
- **convert** — format conversations for any provider (OpenAI, Anthropic, JSON, transcript)

## Quick Start

### 1. Install

**Via crates.io:**
```bash
cargo install passit
```

**Via Smithery (one-command into Claude Desktop, Cursor, etc.):**
```bash
npx smithery mcp add himanshu007-creator/passit --client claude
```

**Docker:**
```bash
docker run --rm ghcr.io/himanshu007-creator/passit:latest
```

### 2. Configure an agent

Each agent needs an MCP server entry pointing to `passit`.

**OpenCode** — `~/.config/opencode/opencode.json`:
```json
{
  "mcpServers": {
    "passit": {
      "command": "passit",
      "env": {
        "PASSIT_AGENT_ID": "opencode"
      }
    }
  }
}
```

**Claude Code** — `~/.claude/claude.json`:
```json
{
  "mcpServers": {
    "passit": {
      "command": "passit",
      "env": {
        "PASSIT_AGENT_ID": "claude-code"
      }
    }
  }
}
```

**Cursor** — `~/.cursor/mcp.json`:
```json
{
  "mcpServers": {
    "passit": {
      "command": "passit",
      "env": {
        "PASSIT_AGENT_ID": "cursor"
      }
    }
  }
}
```

### 3. Use passit

Just talk naturally. The agent picks up what you mean:

> "grab my last claude conversation and continue it here"

> "what conversations do I have saved?"

> "find where we talked about the parser"

> "resume where I left off on opencode"

> "push this session to gemini"

## MCP Tools

passit exposes these MCP tools to your AI agent:

| Tool | What it does | Say this |
|------|-------------|---------|
| `save` | Auto-save every turn (called automatically) | — |
| `drop` | Load a conversation into current context | "resume where I left off", "continue that convo" |
| `list` | List all saved conversations | "show my conversations", "what do I have saved" |
| `scan` | Discover & import from agent histories | "find my old conversations", "import from claude" |
| `grab` | Import a conversation from outside | "grab this conversation", "import my old chat" |
| `push` | Export for another agent/tool | "send this to gemini", "export for chatgpt" |
| `search` | Full-text search across all conversations | "find where we talked about X" |
| `fork` | Branch from a specific turn | "fork from turn 5", "try a different path" |
| `summary` | Show passit state, per-source stats, transfers, and compression savings | "what's in passit", "show status", "summary" |
| `trim` | Fit conversation within token limits | "trim this for context" |
| `convert` | Convert between formats | "convert to openai format" |

## CLI

```bash
# Run as MCP server (stdio) — default
passit

# List recent sessions
passit list --limit 10

# Scan agent histories
passit scan

# Export a session
passit export 
```

## Configuration

| Variable | Default | Description |
|----------|---------|-------------|
| `PASSIT_DB_PATH` | `~/.passit/sessions.db` | SQLite database path |
| `PASSIT_AGENT_ID` | `opencode` | Agent identifier |
| `PASSIT_LOG_LEVEL` | `info` | Log level |

## How passit Works

```
┌─────────────┐     ┌──────────────┐     ┌─────────────┐
│ Claude Code │     │   OpenCode   │     │    Gemini   │
│  (source)   │     │  (current)   │     │   (target)  │
└──────┬──────┘     └──────┬───────┘     └──────┬──────┘
       │                   │                    │
       └───────────────────┼────────────────────┘
                            │
                     ┌──────▼──────┐
                     │   passit    │
                     │  MCP Server │  ◄── SQLite
                     │             │       ~/.passit/sessions.db
                     └─────────────┘
                            ▲
                     ┌──────┴──────┐
                     │  Scanner    │  ◄── ~/.claude/projects/
                     │  (on boot)  │       ~/.gemini/tmp/
                     └─────────────┘       ~/.opencode/data/
```

## Development

```bash
git clone https://github.com/himanshu007-creator/passit.git
cd passit
cargo test
cargo build --release
```

## License

MIT — see [LICENSE](LICENSE).

---

Built with Rust and the MCP protocol by [himanshu007-creator](https://github.com/himanshu007-creator).

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [himanshu007-creator](https://github.com/himanshu007-creator)
- **Source:** [himanshu007-creator/passit](https://github.com/himanshu007-creator/passit)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-himanshu007-creator-passit
- Seller: https://agentstack.voostack.com/s/himanshu007-creator
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
