# uuaid MCP server

> Provides AI agents with permanent, verifiable identities and encrypted, quantum-ready memory that persists across sessions.

- Repository: https://github.com/uuaid/uuaid
- Page: https://hostedmcp.org/servers/uuaid/mcp
- Transport: stdio
- Stars: 0
- License: Apache-2.0
- Latest version: 0.1.1

## Install

### Claude Code

```sh
claude mcp add --env 'UUAID_API_KEY=<YOUR_UUAID_API_KEY>' --env 'UUAID_VAULT_KEY=<YOUR_UUAID_VAULT_KEY>' mcp -- npx -y @uuaid/mcp
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@uuaid/mcp"
      ],
      "env": {
        "UUAID_API_KEY": "<YOUR_UUAID_API_KEY>",
        "UUAID_VAULT_KEY": "<YOUR_UUAID_VAULT_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@uuaid/mcp"
      ],
      "env": {
        "UUAID_API_KEY": "<YOUR_UUAID_API_KEY>",
        "UUAID_VAULT_KEY": "<YOUR_UUAID_VAULT_KEY>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"mcp","type":"stdio","command":"npx","args":["-y","@uuaid/mcp"],"env":{"UUAID_API_KEY":"<YOUR_UUAID_API_KEY>","UUAID_VAULT_KEY":"<YOUR_UUAID_VAULT_KEY>"}}'
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@uuaid/mcp"
      ],
      "env": {
        "UUAID_API_KEY": "<YOUR_UUAID_API_KEY>",
        "UUAID_VAULT_KEY": "<YOUR_UUAID_VAULT_KEY>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add mcp --env 'UUAID_API_KEY=<YOUR_UUAID_API_KEY>' --env 'UUAID_VAULT_KEY=<YOUR_UUAID_VAULT_KEY>' -- npx -y @uuaid/mcp
```

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

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

[mcp_servers.mcp.env]
UUAID_API_KEY = "<YOUR_UUAID_API_KEY>"
UUAID_VAULT_KEY = "<YOUR_UUAID_VAULT_KEY>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'UUAID_API_KEY=<YOUR_UUAID_API_KEY>' -e 'UUAID_VAULT_KEY=<YOUR_UUAID_VAULT_KEY>' mcp npx -- -y @uuaid/mcp
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@uuaid/mcp"
      ],
      "env": {
        "UUAID_API_KEY": "<YOUR_UUAID_API_KEY>",
        "UUAID_VAULT_KEY": "<YOUR_UUAID_VAULT_KEY>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `UUAID_API_KEY` | no | yes | UUAID partner API key. Optional at startup — call the uuaid_signup tool to mint a free-tier key. |
| `UUAID_VAULT_KEY` | no | yes | Client-side memory encryption key (uvk_...). Required for the memory tools; generate with `uuaid vault keygen`. |
| `UUAID_AGENT` | no | no | Default agent identity (uuaid:foundation:agent:...) so memory tools bind to it automatically. |
| `UUAID_BASE_URL` | no | no | API base URL. Defaults to https://api.uuaid.org. |

## FAQ

### How can I get an API key?

You can add the server without environment variables and ask your agent to run the uuaid_signup tool to mint a free-tier key.

### What is included in the free tier?

The free tier provides 10 MB of encrypted memory and up to 500 items per agent.

### Is the memory secure against quantum computing?

Yes, the system supports a hybrid X25519 + ML-KEM-768 post-quantum recipient mode.
