소스 정보
- 저장소
- danielrosehill/Claude-Network-CUPS-Plugin
- 최근 소스 활동
- 2026년 4월 30일 19:35
- 감지된 SKILL.md 언어
- 영어
- 스타
- 0
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/danielrosehill/Claude-Network-CUPS-Plugin --skill onboard명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Use when the user wants to register a new printer on the networked CUPS server.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | onboard |
| description | Use when the user installs the plugin and needs to configure it for the first time. |
Configure the network-cups plugin for first-time use. Check system dependencies, elicit the CUPS server hostname, and write config to the plugin data directory.
cups.lan)Check dependencies. Run:
for cmd in avahi-browse arp-scan ufw nc node npm; do command -v $cmd >/dev/null 2>&1 || echo "missing: $cmd"; done
Offer to install missing ones:
sudo apt-get install avahi-utils arp-scan ufw cups-client nodejs npm
Verify Node.js ≥18:
node --version
If below 18, direct user to upgrade or use nvm.
Elicit CUPS server hostname/IP. Ask the user for the CUPS host (e.g. "cups.lan" or "192.168.1.100"). Confirm reachability:
nc -zv <MCP_CUPS_SERVER> 631
If timeout, stop and suggest checking the hostname/network or CUPS service on the server.
Elicit optional settings. Ask for default printer name and max copies limit; accept empty responses.
Write config.json. Create or overwrite:
${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/network-cups/config.json
with:
{
"cups_server": "<hostname-or-ip>",
"cups_port": 631,
"default_printer": "<name-or-empty>",
"max_copies": <number-or-null>
}
Set environment variables. Show the user this snippet and instruct them to add it to their shell rc (.bashrc, .zshrc, etc.):
export MCP_CUPS_SERVER="<hostname>"
export MCP_CUPS_PORT=631
export MCP_CUPS_DEFAULT_PRINTER="<printer-name>"
export MCP_CUPS_MAX_COPIES=10
Explain: "The MCP server (lan-mcp-cups) reads these env vars at startup. Without them in your shell, the plugin will not connect to CUPS."
Optional smoke test. Ask if the user wants to run list-printers to verify the connection. If yes, call list-printers skill.
${CLAUDE_USER_DATA}/network-cups/config.json created with user-supplied CUPS server, port, and optional defaults.nc may not report timeouts clearly on all systems; if in doubt, ask the user to ping the server manually.