From network-cups
Use when the user wants to register a new printer on the networked CUPS server.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin network-cupsThis skill uses the workspace's default tool permissions.
Register a printer on the CUPS server. Requires the printer's network URI and optional driver specification.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Share bugs, ideas, or general feedback.
Register a printer on the CUPS server. Requires the printer's network URI and optional driver specification.
name — friendly name for the printer (required, e.g. "Office-HP-LaserJet")uri — network URI (required, e.g. ipp://printer.lan:631/ipp/print or socket://192.168.1.50:9100)driver — driver name (optional; CUPS auto-detects if unset, e.g. "drv:///sample.drv/generic.ppd")Pre-flight warning. Inform the user:
Adding a printer to CUPS requires lpadmin group or sudo privilege on the CUPS server.
If this fails, you may need to:
- Add your user to the lpadmin group on the server: sudo usermod -a -G lpadmin <user>
- Or provide a password when prompted for sudo.
Call MCP tool add_printer with name, uri, and optional driver. The MCP server is network-cups (registered in .mcp.json).
Report result. On success:
Printer added: <name> at <uri>.
Run list-printers to verify.
On failure, emit the MCP error and suggest:
systemctl status cups.diagnose-network-printing to check CUPS connectivity.