# transfa MCP server

> Allows AI agents to autonomously upload, share, and manage files via signed links with SHA-256 verification and TTL enforcement.

- Repository: https://github.com/colapsis/transfa
- Page: https://hostedmcp.org/servers/colapsis/transfa
- Transport: stdio
- Stars: 21
- License: MIT
- Latest version: 1.0.1

## Install

### Claude Code

```sh
claude mcp add --env 'TRANSFA_API_KEY=<YOUR_TRANSFA_API_KEY>' transfa -- npx -y transfa-mcp
```

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

```json
{
  "mcpServers": {
    "transfa": {
      "command": "npx",
      "args": [
        "-y",
        "transfa-mcp"
      ],
      "env": {
        "TRANSFA_API_KEY": "<YOUR_TRANSFA_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "transfa": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "transfa-mcp"
      ],
      "env": {
        "TRANSFA_API_KEY": "<YOUR_TRANSFA_API_KEY>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"transfa","type":"stdio","command":"npx","args":["-y","transfa-mcp"],"env":{"TRANSFA_API_KEY":"<YOUR_TRANSFA_API_KEY>"}}'
```

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

```json
{
  "mcpServers": {
    "transfa": {
      "command": "npx",
      "args": [
        "-y",
        "transfa-mcp"
      ],
      "env": {
        "TRANSFA_API_KEY": "<YOUR_TRANSFA_API_KEY>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add transfa --env 'TRANSFA_API_KEY=<YOUR_TRANSFA_API_KEY>' -- npx -y transfa-mcp
```

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

```toml
[mcp_servers.transfa]
command = "npx"
args = ["-y", "transfa-mcp"]

[mcp_servers.transfa.env]
TRANSFA_API_KEY = "<YOUR_TRANSFA_API_KEY>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'TRANSFA_API_KEY=<YOUR_TRANSFA_API_KEY>' transfa npx -- -y transfa-mcp
```

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

```json
{
  "mcpServers": {
    "transfa": {
      "command": "npx",
      "args": [
        "-y",
        "transfa-mcp"
      ],
      "env": {
        "TRANSFA_API_KEY": "<YOUR_TRANSFA_API_KEY>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `TRANSFA_API_KEY` | no | yes | Your Transfa API key. Free at transfa.sh — leave empty for guest mode (10 MB limit). |
| `TRANSFA_BASE_URL` | no | no | Custom Transfa instance URL for self-hosted deployments. Defaults to https://transfa.sh |

## Tools (5)

- `upload`
- `file_info`
- `list_uploads`
- `delete_upload`
- `run_artifacts`

## FAQ

### Does transfa require an account to use?

No, you can upload files without signing up; it is designed for use without friction.

### What is the maximum file size supported?

The service supports files up to 100 GB.

### Can I protect my shared links?

Yes, you can add password protection and set download limits or time-to-live (TTL) for every link.

### Is there an API key required for the MCP server?

An API key is optional; the server can operate in guest mode with a 10 MB and 24h limit.
