# MaskFlow PII proxy MCP server

> Masks personally identifiable information in outbound MCP tool-call arguments and restores original values in the results.

- Repository: https://github.com/maskflow/maskflow
- Page: https://hostedmcp.org/servers/maskflow/mcp
- Transport: stdio
- Stars: 2
- License: MIT
- Latest version: 0.1.2

## Install

### Claude Code

```sh
claude mcp add mcp -- uvx maskflow-mcp
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "maskflow-mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "maskflow-mcp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"mcp","type":"stdio","command":"uvx","args":["maskflow-mcp"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "maskflow-mcp"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add mcp -- uvx maskflow-mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.mcp]
command = "uvx"
args = ["maskflow-mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user mcp uvx -- maskflow-mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "maskflow-mcp"
      ]
    }
  }
}
```

## FAQ

### What kind of PII does this proxy detect?

It detects generic PII like names, emails, and phone numbers, as well as specific Indian identifiers such as Aadhaar, PAN, GSTIN, UPI, IFSC, ABHA, and Indian names or addresses.

### Is my sensitive data logged?

No, the mapping between tokens and original values is stored in memory for each connection and is never logged.

### Can I skip the heavy NLP detection for faster performance?

Yes, you can use the --patterns-only flag to skip the spaCy NER pass, though this will reduce detection for bare names and addresses.
