# Aktar MCP server

> Upload files to S3, Cloudflare R2, or Backblaze B2 buckets and manage links through an AI agent.

- Repository: https://github.com/getaktar/cli
- Page: https://hostedmcp.org/servers/getaktar/cli
- Transport: stdio
- Stars: 2
- License: MIT
- Latest version: 0.6.0

## Install

### Claude Code

```sh
claude mcp add cli -- npx -y @getaktar/cli
```

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

```json
{
  "mcpServers": {
    "cli": {
      "command": "npx",
      "args": [
        "-y",
        "@getaktar/cli"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "cli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@getaktar/cli"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "cli": {
      "command": "npx",
      "args": [
        "-y",
        "@getaktar/cli"
      ]
    }
  }
}
```

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

```toml
[mcp_servers.cli]
command = "npx"
args = ["-y", "@getaktar/cli"]
```

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

```json
{
  "mcpServers": {
    "cli": {
      "command": "npx",
      "args": [
        "-y",
        "@getaktar/cli"
      ]
    }
  }
}
```

## FAQ

### How do I connect the MCP server to Aktar?

First, connect via the CLI using `aktar login` after enabling 'Allow local connections' in the Aktar app settings.

### Can the AI agent upload sensitive files like SSH keys?

No, the server is designed to never upload secrets such as SSH keys, .env files, or configuration files.

### What happens if I upload a file that already exists in the bucket?

Aktar will not upload it again and will instead provide you with the existing link.
