cpyany
v0.2.8
Published
Install cpyany so coding agents can copy websites, pages, and elements from references.
Maintainers
Readme
cpyany
One-command installer for cpyany, an MCP for coding agents that copy websites, pages, and individual elements from reference sites.
npx cpyany setupAuto-detects every supported AI client installed on your machine (Claude Code,
Claude Desktop, Cursor, Codex), opens a browser to authorize, and writes the
resulting bearer token into each client's MCP config from a single OAuth flow.
Re-running setup reuses the machine's existing login, so adding a client later
is just npx cpyany setup --client <name>.
After setup, ask your coding agent to copy from a reference:
Use cpyany to copy the hero section from https://example.com into this app.Install paths
| Client | MCP config we patch | Rule + skill we install | Auto-detected via |
|---|---|---|---|
| Claude Code | runs claude mcp add --scope user --transport http … (writes ~/.claude.json) | ~/.claude/rules/cpyany.md + ~/.claude/skills/cpyany/SKILL.md | claude on PATH |
| Claude Desktop | ~/Library/Application Support/Claude/claude_desktop_config.json (mac) / %APPDATA%\Claude\claude_desktop_config.json (win) — bridged via mcp-remote | (none — Claude Desktop has no rules/skills mechanism) | the per-platform Claude config dir exists |
| Cursor | ~/.cursor/mcp.json | ~/.cursor/rules/cpyany.mdc (alwaysApply: true) + ~/.cursor/skills/cpyany/SKILL.md | ~/.cursor exists |
| Codex | [mcp_servers.cpyany] table in ~/.codex/config.toml (streamable HTTP, bearer via http_headers) | (none yet — MCP config only) | ~/.codex exists or codex on PATH |
Guidance is two-tier: a short always-loaded rule telling the agent when to use
cpyany, and a deeper cpyany skill with the copy-from-reference workflow.
cpyany remove cleans everything up.
Restrict to one client
npx cpyany setup --client claude-code--client accepts claude-code, claude-desktop, cursor, or codex.
Aliases: --claude (= --claude-desktop), --code (= --claude-code).
Skip the browser
If you'd rather paste the snippet manually, open the app dashboard and copy the config block from the MCP integration section.
Remove
npx cpyany remove # removes from every detected client
npx cpyany remove --client claude-desktop # just oneLicense
UNLICENSED — the CLI is published for ease of installation, but the service source is not open-licensed.
