CLI
Install from npm, then send one file.
Install
npm install -g cpcp-transfer
Send
cpcp upload ./report.pdf
DEVELOPERS
cpcp exposes three stable surfaces: MCP for agents, a CLI for terminals, and a REST API for custom orchestration. They share the same transfer path and the same limits.
01
Start with the shortest path. Use the CLI for scripts and terminals; use MCP for Claude Code, Codex, and Cursor.
Install from npm, then send one file.
Install
npm install -g cpcp-transfer
Send
cpcp upload ./report.pdf
Add the remote MCP endpoint to your client; keep the token in a secret store or environment variable.
.cursor/mcp.json
{
"mcpServers": {
"cpcp": {
"url": "https://cp.1tools.vip/mcp",
"headers": {
"Authorization": "Bearer cpcp_..."
}
}
}
}
02
Choose the smallest surface that solves the job. Do not reimplement the same workflow in several places.
A stateless JSON-RPC endpoint with cpcp_put_text, cpcp_put_file, and cpcp_get.
MCP guideSend and receive files from terminals and CI, with a transfer code and shareable link.
CLI guideControl init, upload, send, and receive directly for custom integrations.
API referenceCreate a token and run a one-page MCP self-check: handshake, list tools, send a test text.
Create and verify03
Commands for three common clients. Each guide includes verification and troubleshooting steps.
Write the remote MCP service into Claude Code with one command.
claude mcp add --transport http cpcp https://cp.1tools.vip/mcp --header "Authorization: Bearer cpcp_..."
Read the token from an environment variable instead of config.toml.
codex mcp add cpcp --url https://cp.1tools.vip/mcp --bearer-token-env-var CPCP_TOKEN
Project or global mcp.json; confirm all tools in the MCP panel after saving.
~/.cursor/mcp.json
04
05
Create a token, or read the MCP guide. Neither path requires an account.