# PCD MCP server

> Provides a portable context layer that allows AI clients to access structured context, live work state, and accumulated knowledge across different platforms.

- Repository: https://github.com/d3lanight/pcd
- Page: https://hostedmcp.org/servers/d3lanight/pcd
- Transport: remote
- Stars: 0
- License: AGPL-3.0
- Latest version: 0.4.0

## Install

### Claude Code

```sh
claude mcp add --transport http pcd https://mcp.portablecontext.ai/mcp
```

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

```json
{
  "mcpServers": {
    "pcd": {
      "url": "https://mcp.portablecontext.ai/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "pcd": {
      "type": "http",
      "url": "https://mcp.portablecontext.ai/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"pcd","type":"http","url":"https://mcp.portablecontext.ai/mcp"}'
```

### Codex

```sh
codex mcp add pcd --url https://mcp.portablecontext.ai/mcp
```

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

```toml
[mcp_servers.pcd]
url = "https://mcp.portablecontext.ai/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http pcd https://mcp.portablecontext.ai/mcp
```

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

```json
{
  "mcpServers": {
    "pcd": {
      "url": "https://mcp.portablecontext.ai/mcp",
      "type": "http"
    }
  }
}
```

## FAQ

### How do I connect PCD to my AI client?

Point an MCP-capable client to the provided endpoint and sign in on your first connection using OAuth 2.0.

### Do I need an API key to use PCD?

No, an API key is not required for connection; it uses OAuth 2.0 + PKCE for authentication.

### Is my data used for training?

No, your data remains in your account and is not sold or used for training.

### Can I self-host PCD?

Currently, the repository is not packaged as a runnable self-hosted distribution, though a community edition is being considered for the future.
