Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_PRINTER_DUPLEX | No | Set to "true" to print double-sided by default | |
| MCP_PRINTER_DEFAULT | No | Default printer to use when none specified | |
| MCP_PRINTER_OPTIONS | No | Additional CUPS options (e.g., "fit-to-page", "landscape") |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_printers | List all available printers on the system with their status. Returns printer names, states, and whether they're accepting jobs. |
| print_file | Print a file to a specified printer. Supports PDF, text, and other common formats. Can specify number of copies and print options. |
| get_print_queue | Check the print queue for a specific printer or all printers. Shows pending and active print jobs. |
| cancel_print_job | Cancel a specific print job by job ID or cancel all jobs for a printer. |
| get_default_printer | Get the name of the default printer |
| set_default_printer | Set a printer as the default printer |