InkRelay
v0.1.1Print PDFs, ZPL labels and ESC/POS receipts on your printers and follow print jobs via InkRelay
Values you need
| Variable | What it is | |
|---|---|---|
INKRELAY_API_KEY | required secret | InkRelay API key from app.inkrelay.app/api-keys. ir_test_ keys print only to free virtual printers. |
INKRELAY_FILE_ROOT | optional | Folder that filePath arguments must stay inside. Defaults to the working directory. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add inkrelay -e 'INKRELAY_API_KEY=<INKRELAY_API_KEY>' -- npx -y --package=@inkrelay/mcp@0.1.1 inkrelay-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"inkrelay": {
"args": [
"-y",
"--package=@inkrelay/mcp@0.1.1",
"inkrelay-mcp"
],
"command": "npx",
"env": {
"INKRELAY_API_KEY": "<INKRELAY_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"inkrelay": {
"args": [
"-y",
"--package=@inkrelay/mcp@0.1.1",
"inkrelay-mcp"
],
"command": "npx",
"env": {
"INKRELAY_API_KEY": "<INKRELAY_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "INKRELAY_API_KEY",
"id": "inkrelay-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"inkrelay": {
"args": [
"-y",
"--package=@inkrelay/mcp@0.1.1",
"inkrelay-mcp"
],
"command": "npx",
"env": {
"INKRELAY_API_KEY": "${input:inkrelay-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.inkrelay]
command = "npx"
args = ["-y", "--package=@inkrelay/mcp@0.1.1", "inkrelay-mcp"]
env = { "INKRELAY_API_KEY" = "<INKRELAY_API_KEY>" }For AI agents
- Ask the user for: INKRELAY_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: whoami, list_computers, list_printers, get_printer, update_printer, print_pdf, print_raw, get_print_job, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json