π¦ Installation
Install and authenticate mcp-pcloud across MCP clients.
β οΈ Draft β not working yet. The authentication flow is under active development.
β Prerequisites
- Node.js 20+
- A pCloud account
- A pCloud access token, exposed via
MCP_PCLOUD_TOKENor~/.config/pcloud/tokens.json
π Claude Code CLI
claude mcp add mcp-pcloud -- npx -y @kud/mcp-pcloudπ₯οΈ Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"mcp-pcloud": {
"command": "npx",
"args": ["-y", "@kud/mcp-pcloud"],
"env": {
"MCP_PCLOUD_TOKEN": "your-token-here"
}
}
}
}Restart Claude Desktop β the pCloud tools appear automatically.
β‘ Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"mcp-pcloud": {
"command": "npx",
"args": ["-y", "@kud/mcp-pcloud"]
}
}
}π§© VSCode
Add to .vscode/mcp.json:
{
"servers": {
"mcp-pcloud": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@kud/mcp-pcloud"]
}
}
}π Authentication
The server resolves your token in this order:
- The
MCP_PCLOUD_TOKENenvironment variable ~/.config/pcloud/tokens.json
The token file format:
{
"access_token": "your-token-here",
"hostname": "api.pcloud.com"
}hostname is optional β omit it to default to api.pcloud.com. Use
eapi.pcloud.com for EU accounts.
Verify a token manually:
curl "https://api.pcloud.com/userinfo?access_token=YOUR_TOKEN"A result: 0 response confirms the token is valid.