From network-cups
Use when you want to see all configured printers on the networked CUPS server.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin network-cupsThis skill uses the workspace's default tool permissions.
Query the CUPS server and return a formatted list of all available printers and their current state.
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.
Query the CUPS server and return a formatted list of all available printers and their current state.
Load CUPS server hostname. Read from env var MCP_CUPS_SERVER or fallback to ${CLAUDE_USER_DATA}/network-cups/config.json → cups_server field.
Call MCP tool list_printers via the network-cups MCP server (registered in .mcp.json, invoked via npx -y lan-mcp-cups). This returns a JSON list of printer objects with fields: name, state, is_default, location, info.
Format as table: Columns: Name, State, Location, Model, Default?. If is_default is true, mark with *.
Handle empty result: If zero printers returned, output:
No printers found on <cups_server>.
Suggestions:
- Run discover-printers-bonjour to scan the LAN for printers.
- Run discover-printers-arp if Bonjour is not available.
- Run diagnose-network-printing for full connectivity checks.
Handle errors: If MCP tool fails (e.g. connection refused, auth error), emit the raw error and suggest running diagnose-network-printing.