# transfa

Let an agent upload a local file and return a download link. Useful when you need to share a project artifact without uploading it yourself.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 21
- Author: colapsis
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/colapsis/transfa
- Updated: 2026-05-15
- HTML: https://affpapa.org/en/nevibecode/mcp/transfa

## What it does

transfa gives an agent a way to send files from the local filesystem and provide download links. It calculates a SHA-256 checksum for uploads, and links have a time limit set through TTL. Start the server with `npx -y transfa-mcp`.

To add it to Claude Code, use `claude mcp add`. The install command takes a `TRANSFA_API_KEY`; guest mode works without one, with a 10 MB file cap and a 24h link lifetime. That cap matters if the agent needs to transfer a larger artifact.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `TRANSFA_API_KEY`, `TRANSFA_BASE_URL` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env TRANSFA_API_KEY=<TRANSFA_API_KEY> --env TRANSFA_BASE_URL=<TRANSFA_BASE_URL> --transport stdio transfa -- npx -y transfa-mcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add transfa --env TRANSFA_API_KEY=<TRANSFA_API_KEY> --env TRANSFA_BASE_URL=<TRANSFA_BASE_URL> -- npx -y transfa-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "transfa": {
            "command": "npx",
            "args": [
                "-y",
                "transfa-mcp"
            ],
            "env": {
                "TRANSFA_API_KEY": "<TRANSFA_API_KEY>",
                "TRANSFA_BASE_URL": "<TRANSFA_BASE_URL>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "transfa": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "transfa-mcp"
            ],
            "env": {
                "TRANSFA_API_KEY": "<TRANSFA_API_KEY>",
                "TRANSFA_BASE_URL": "<TRANSFA_BASE_URL>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e TRANSFA_API_KEY=<TRANSFA_API_KEY> -e TRANSFA_BASE_URL=<TRANSFA_BASE_URL> transfa npx -y transfa-mcp
```
Replace <…> with your own values

## When to use it
- share a local project file with an agent
- create a download link for an uploaded file
- check an uploaded file's SHA-256 checksum
- set an expiry period for a file link

## Example prompts
- Upload `dist/report.pdf` and give me its download link.
- Send `model.gguf` and report its SHA-256 checksum.
- Upload `archive.zip` with a 24h link lifetime.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 392262
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33989
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81163
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119231
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47577
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43902

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
