# CodeQR MCP server

> Create and manage short links, dynamic QR codes, and click analytics through an AI client.

- Repository: https://github.com/codeqr-io/codeqr-mcp-remote
- Page: https://hostedmcp.org/servers/codeqr-io/codeqr-mcp-remote
- Transport: remote
- Stars: 0
- Latest version: 0.1.0

## Install

### Claude Code

```sh
claude mcp add --transport http codeqr-mcp-remote https://mcp.codeqr.io/mcp
```

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

```json
{
  "mcpServers": {
    "codeqr-mcp-remote": {
      "url": "https://mcp.codeqr.io/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "codeqr-mcp-remote": {
      "type": "http",
      "url": "https://mcp.codeqr.io/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"codeqr-mcp-remote","type":"http","url":"https://mcp.codeqr.io/mcp"}'
```

### Codex

```sh
codex mcp add codeqr-mcp-remote --url https://mcp.codeqr.io/mcp
```

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

```toml
[mcp_servers.codeqr-mcp-remote]
url = "https://mcp.codeqr.io/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http codeqr-mcp-remote https://mcp.codeqr.io/mcp
```

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

```json
{
  "mcpServers": {
    "codeqr-mcp-remote": {
      "url": "https://mcp.codeqr.io/mcp",
      "type": "http"
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `PRIVATE_KEY` | no | no |  |

## Tools (14)

- `create_link`
- `list_links`
- `get_link_info`
- `update_link`
- `delete_link`
- `create_qrcode`
- `list_qrcodes`
- `update_qrcode`
- `delete_qrcode`
- `get_analytics`
- `list_domains`
- `list_tags`
- `create_tag`
- `get_workspace`

## FAQ

### Does this server require an API key?

No, it uses OAuth 2.0 authentication where you approve access via a consent screen, so no API key is ever handled.

### Can I update an existing QR code without reprinting it?

Yes, you can use the update tool to change where an existing QR code points.

### What happens if I don't use Upstash Redis for storage?

The server will fall back to an in-memory store, which is only suitable for local development.
