# Retyc Cli

> Official CLI client for Retyc with MCP server

- **Type:** MCP server
- **Install:** `agentstack add mcp-retyc-retyc-cli`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [retyc](https://agentstack.voostack.com/s/retyc)
- **Installs:** 0
- **Category:** [Cloud & Infrastructure](https://agentstack.voostack.com/c/cloud-infrastructure)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [retyc](https://github.com/retyc)
- **Source:** https://github.com/retyc/retyc-cli
- **Website:** https://retyc.com

## Install

```sh
agentstack add mcp-retyc-retyc-cli
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Retyc CLI

> Official command-line interface for [Retyc](https://retyc.com) - send transfers and manage datarooms directly from
> your terminal. Also runs as a local **[MCP server](doc/mcp.md)**: connect your AI agent and control Retyc in plain
> language.

---

## What is Retyc?

[Retyc](https://retyc.com) is a European sovereign file-sharing platform with end-to-end post-quantum encryption. Data
stays in Europe, GDPR-compliant by design.

`retyc-cli` lets you integrate Retyc transfers and datarooms into your scripts, pipelines, and workflows - no browser
required.

---

## Installation

### Pre-compiled binaries (recommended)

Download the binary for your platform from the [latest release](https://github.com/retyc/retyc-cli/releases/latest).

### With `go install`

```sh
go install -tags prod github.com/retyc/retyc-cli@latest
```

### From source

```sh
git clone https://github.com/retyc/retyc-cli.git
cd retyc-cli
go build -tags prod -ldflags "-X github.com/retyc/retyc-cli/cmd.Version=$(git describe --tags --always)" -o retyc .
```

### With Docker

```sh
# Docker Hub
docker pull retyc/retyc-cli:latest
# GitHub Container Registry
docker pull ghcr.io/retyc/retyc-cli:latest
```

---

## Quick start

```sh
# 1. Authenticate (opens a browser tab, no password stored)
retyc auth login

# 2. Send a file
retyc transfer create report.pdf

# 3. List your transfers
retyc transfer ls

# 4. Download a transfer
retyc transfer download 
```

---

## Security

- **Authentication**: OIDC device flow (no password ever stored locally)
- **File data + metadata**: end-to-end encrypted with [AGE](https://github.com/FiloSottile/age) post-quantum hybrid keys
- **Private key caching** (Linux only): the decrypted AGE identity is stored in the kernel session keyring and is never
  written to disk. It is scoped to the current terminal session, isolated from other users and sessions, and uses a
  sliding TTL (default: 60 seconds). Each access refreshes the expiration timer.
- **Transport**: TLS enforced by default

---

## MCP Server

`retyc-cli` runs as a [Model Context Protocol](https://modelcontextprotocol.io) server — connect it to your AI agent and
control Retyc in plain language:

> *"Create a dataroom called 'Release v2', upload ./dist/, and add alice@example.com as editor."*
> *"Send all PDFs in ./reports/ to bob@example.com, expire in 7 days."*
> *"List my latest transfers and download the most recent one into ~/Downloads/."*

**Quick setup with Claude Code:**

```sh
# Use read -s to avoid storing the passphrase in shell history
read -rs RETYC_KEY_PASSPHRASE
claude mcp add --transport stdio retyc --env RETYC_KEY_PASSPHRASE="$RETYC_KEY_PASSPHRASE" -- /path/to/retyc mcp serve
```

Full integration guide (Claude Desktop, Cursor, Windsurf, example prompts): [doc/mcp.md](doc/mcp.md)

**Claude Desktop extension (MCPB):** each release ships a `retyc-.mcpb` bundle —
double-click to install in Claude Desktop, no terminal needed. See [doc/mcpb.md](doc/mcpb.md).

---

## Privacy Policy

This software (CLI and MCP server) embeds the entire encryption layer: file
contents and metadata are encrypted locally (post-quantum AGE) before
transmission, and its only network endpoint is the Retyc API — Retyc servers
never see plaintext. In MCP mode, tool responses return decrypted metadata
(filenames, sizes, member lists) to your MCP client; file contents are never
included in responses (see [SECURITY.md](SECURITY.md)).
Full policy: 

---

## Documentation

| Topic                        | Link                                         |
|------------------------------|----------------------------------------------|
| Full commands reference      | [doc/commands.md](doc/commands.md)           |
| MCP server + tools reference | [doc/mcp.md](doc/mcp.md)                     |
| Docker usage                 | [doc/docker.md](doc/docker.md)               |
| Claude Desktop bundle (MCPB) | [doc/mcpb.md](doc/mcpb.md)                   |
| CI / CD integration          | [doc/ci-cd.md](doc/ci-cd.md)                 |
| Configuration & env vars     | [doc/configuration.md](doc/configuration.md) |
| Roadmap                      | [doc/roadmap.md](doc/roadmap.md)             |

---

## Development

```sh
# Run in dev mode
go run . --help

# Run tests
go test -race ./...

# Production build
go build -tags prod -ldflags "-X github.com/retyc/retyc-cli/cmd.Version=v0.1.0" -o retyc .
```

---

## License

[MIT](LICENSE) - © Retyc / TripleStack SAS

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [retyc](https://github.com/retyc)
- **Source:** [retyc/retyc-cli](https://github.com/retyc/retyc-cli)
- **License:** MIT
- **Homepage:** https://retyc.com

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-retyc-retyc-cli
- Seller: https://agentstack.voostack.com/s/retyc
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
