# OTPilot

> OTPilot is a freemium MCP server for security. Lets coding agents sign in and run commands without ever seeing passwords or 2FA codes. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** Chrome extension, CLI, API
- **Website:** https://otpilot.app/ai-agents
- **Repository:** https://github.com/otpilot/otpilot/tree/HEAD/mcp
- **MCP Registry name:** io.github.OTPilot/otpilot
- **Categories:** security
- **Listing updated:** 2026-11-15

## About

The idea is a broker between your agent and your credentials. OTPilot holds the passwords and 2FA seeds in its browser extension, and the agent only gets results: a signed-in session file, or command output with secrets scrubbed out.

Access starts at zero. Each agent connects with a verification code you confirm in the extension, then you allow accounts one at a time and choose whether it can use only the 2FA code, the whole sign-in or chosen fields. If an agent asks for another account mid-task, you get a request to approve. The README says each account copy is encrypted for that agent's own key, with the private key in the OS keychain, so OTPilot's servers see only ciphertext.

It works with Claude Code, Codex, Cursor and other MCP clients, and a Claude Code plugin bundles a skill that teaches the agent when to use the tools.

## Features

- **Secret-blind sign-in:** browser_login signs in on the account's own site and hands back a Playwright storageState file.
- **Commands with secrets:** run executes a command with secrets injected as environment variables and scrubs them from output.
- **Fresh 2FA codes:** Test scripts can get a current code injected at run time.
- **Per-agent permissions:** Each agent is approved separately and sees only the accounts you allow.
- **Approval requests:** The agent can ask for more access and you decide in the extension.

## Good for

- Test a staging login that needs 2FA
- Run a database query with a password the model never sees
- Let end-to-end tests log in without a person holding a phone
- Give each of several agents a different set of accounts

## Install

### Claude Code (Terminal)

```sh
claude mcp add otpilot -- npx -y @otpilot/mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "otpilot": {
      "command": "npx",
      "args": [
        "-y",
        "@otpilot/mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "otpilot": {
      "command": "npx",
      "args": [
        "-y",
        "@otpilot/mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "otpilot": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@otpilot/mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "otpilot": {
      "command": "npx",
      "args": [
        "-y",
        "@otpilot/mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "otpilot": {
      "command": "npx",
      "args": [
        "-y",
        "@otpilot/mcp"
      ]
    }
  }
}
```

## Tools

- `list_accounts`: Lists the accounts the agent may use, by name and site.
- `request_access`: Asks you for another account, which you pick in the extension.
- `browser_login`: Signs in to the account's site and returns a Playwright storageState file.
- `run`: Runs a command with secrets in its environment and strips them from the output.
- `check_request`: Reports whether a pending request has been answered.

## FAQ

### Can the agent read my passwords?

No. The README says no tool returns a password, a 2FA code or any other value.

### What do I need besides the MCP server?

The OTPilot browser extension and an OTPilot account; a free account works.

### Can it run on a server without a browser?

Yes. connect has a no-open mode, and you approve the printed link from any device signed in to OTPilot.

### Do agents share access?

No. Each agent is its own identity and is approved on its own.

### Is OTPilot free?

OTPilot has a free plan, with paid plans for more usage or features.

### How do I add OTPilot to Claude Code?

Run this command in your terminal: claude mcp add otpilot -- npx -y @otpilot/mcp

### What are the best alternatives to OTPilot?

The closest alternatives to OTPilot are REA, Agent Roast, Midplane, Leash and Tinplate Edge AI Safety, Security & EU Compliance.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Leash](https://ai-powered.com/mcp/leash): Leash is a free MCP server for security.
- [Tinplate Edge AI Safety, Security & EU Compliance](https://ai-powered.com/mcp/tinplate-edge-ai-safety-security-and-eu-compliance): Tinplate Edge AI Safety, Security & EU Compliance is a freemium MCP server for security.
- [SecureCloud](https://ai-powered.com/mcp/securecloud): SecureCloud is a free MCP server for security.
- [Eikino](https://ai-powered.com/mcp/eikino): Eikino is a freemium MCP server for security.
- [SynomosAI Governance MCP](https://ai-powered.com/mcp/synomosai-governance-mcp-2): SynomosAI Governance MCP is an open-source MCP server for security.

---
Source: https://ai-powered.com/mcp/otpilot
