π©Ί Troubleshooting
Common issues and checks for mcp-pcloud.
β οΈ Draft β not working yet. The authentication flow is under active development, so some failures are expected until it lands.
π Server not showing
- Confirm
node --versionis β₯ 20. - Run
claude mcp get mcp-pcloudto check registration. - Confirm
MCP_PCLOUD_TOKENis set, or that a token file exists at~/.config/pcloud/tokens.json.
π Authentication errors
Test your token directly against the API:
curl "https://api.pcloud.com/userinfo?access_token=YOUR_TOKEN"A result: 0 response confirms the token is valid. For EU accounts, use
eapi.pcloud.com.
Note: Trash operations require a session token and are not supported with OAuth access tokens β
list_trashandrestore_from_trashreturn an error in that case.
π Check logs
- macOS:
~/Library/Logs/Claude/mcp-server-mcp-pcloud.log - Windows:
%APPDATA%\Claude\logs\mcp-server-mcp-pcloud.log - CLI:
claude mcp get mcp-pcloud
π‘οΈ Security
- Never hardcode your access token in source code.
- Never commit
~/.config/pcloud/tokens.json. - Set
MCP_PCLOUD_TOKENvia your shell profile, not project files. - Rotate your token at https://my.pcloud.com if exposed.