# Totp MCP

> Totp MCP is an open-source MCP server. Generate and verify TOTP codes offline: RFC 6238 with SHA-1/256/512 and fresh base32 secrets. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/mrfentmen/awesome-servers
- **MCP Registry name:** io.github.mrfentmen/totp-mcp
- **Listing updated:** 2026-11-13

## About

Generate and verify TOTP codes offline: RFC 6238 with SHA-1/256/512 and fresh base32 secrets

## Install

### Claude Code (Terminal)

```sh
claude mcp add totp-mcp -- npx -y @mrfentmen/totp-mcp
```

### Claude Desktop (claude_desktop_config.json)

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

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

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

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

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

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

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

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

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

## FAQ

### Is Totp MCP free?

Yes. Totp MCP is open source, so you can use and self-host it for free.

### How do I add Totp MCP to Claude Code?

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

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