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") |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_config | Get the current MCP Printer configuration settings. Returns environment variables and their current values. |
| list_printers | List all available printers on the system with their status. Returns printer names, states, and whether they're accepting jobs. |
| get_print_queue | Check the print queue for a specific printer or all printers. Shows pending and active print jobs. |
| get_default_printer | Get the name of the default printer |
| 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_page_meta | Get page count and physical sheet information for a file before printing. Pre-renders the file (if needed) and returns page metadata including page count and physical sheets required. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| print-changed | Print files that have changed (staged, uncommitted, or in branch) |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |