
Printix
io.github.WYRE-AI由 GitHub 帳號 WYRE-AI 發布v1.0.1更新於 Oct 24, 2026
MCP server for Printix's Cloud Print API.
概覽
面向 Printix 雲端列印 API 的 MCP 伺服器,讓助理查詢租用戶、印表機與佇列、站點、工作站、使用者與群組。
- 可以做什麼
- 解析憑證對所屬的租用戶
- 列出並檢視列印佇列/印表機,支援篩選與分頁
- 列出並檢視站點(實體位置)
- 列出並檢視工作站監控資料
- 列出並查找使用者與群組(唯讀)
- 適用情境
- 適合託管服務商或 IT 管理員讓助理檢視 Printix 列印資產:有哪些佇列、站點與工作站,以及存在哪些使用者與群組。定位是設備群監控與管理,而非終端使用者的列印工作流程。
- 執行需求
- 以本機程序(stdio)或 HTTP 服務方式執行,通常使用已發佈的容器映像。需要 Printix 系統管理員主控台依租用戶核發的用戶端 ID 與密鑰,透過 PRINTIX_CLIENT_ID 與 PRINTIX_CLIENT_SECRET 提供,或在 gateway 模式下以請求標頭傳入。HTTP 模式另需 CONDUIT_S2S_SECRET。需要能存取 Printix API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Printix,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Printix MCP Server
MCP server for Printix's Cloud Print API (now part of Tungsten Automation) - printer/queue, site, workstation, and read-only user/group lookups - for AI assistants and the WYRE Conduit gateway.
Authentication
Printix issues a client_id/client_secret pair per tenant, obtained through the Printix Administrator dashboard - there is no single WYRE-level integration credential; each MSP-managed customer tenant supplies its own pair, and only one pair is active per tenant at a time (issuing a new one invalidates the previous pair).
The pair is exchanged for a short-lived (~1-hour) OAuth access token via POST https://auth.printix.net/oauth/token (grant_type=client_credentials, client_id/client_secret in a form body). This server handles that exchange internally, and re-authenticates the same way when a token expires or is rejected - Printix does not support refresh tokens (removed 2024-12-17; the docs describe the prior refresh-token approach as "not standard OAuth2").
Callers only ever need to supply the two long-lived values below - not the short-lived access token.
Every resource in Printix's Cloud Print API is scoped under a tenant path (/cloudprint/tenants/{tenantId}/...). This server resolves the tenant ID once per credential pair by calling the API root (GET /cloudprint, the documented HATEOAS entry point that "returns a list of links to accessible tenants") and caching it alongside the access token.
Configuration
Copy .env.example and set the variables below.
/health stays unauthenticated and does not read credentials. The stdio transport does not use CONDUIT_S2S_SECRET.
HTTP authentication
With MCP_TRANSPORT=http and a real CONDUIT_S2S_SECRET, every /mcp request must include X-Gateway-S2S. The check is verifyS2sHeader in src/s2s-verify.ts: the header value is t=<unix seconds>,v1=<hex>, where the hex is HMAC-SHA256 of the literal string t=<unix seconds> keyed with CONDUIT_S2S_SECRET (64 lowercase hex characters). The timestamp must be within 300 seconds of the server clock. A missing or invalid header is HTTP 401, before vendor credentials are read.
In AUTH_MODE=gateway, /mcp also requires X-Printix-Client-ID and X-Printix-Client-Secret. Those headers are the only credential source for that request. A request missing either header returns 401 and does not fall back to PRINTIX_CLIENT_ID / PRINTIX_CLIENT_SECRET in the process environment.
In AUTH_MODE=env (single-tenant HTTP), /mcp still requires a valid X-Gateway-S2S header. Vendor credentials come from PRINTIX_CLIENT_ID and PRINTIX_CLIENT_SECRET.
Tools
Tenant
printix_get_tenant- get the tenant this credential pair is scoped to (tenant ID and its API root link).
Printers / Queues
printix_list_printers- list print queues/printers, optionally filtered and paged.printix_get_printer- get a single printer/queue and its properties/capabilities.
Sites
printix_list_sites- list sites (physical locations), paged.printix_get_site- get a single site's details.
Workstations
printix_list_workstations- list workstation monitoring data, paged.printix_get_workstation- get a single workstation's details.
Users (read-only)
printix_list_users- list users, optionally filtered by query/role, paged.printix_get_user- find a single user by ID.
Groups (read-only)
printix_list_groups- list/search groups, paged.printix_get_group- fetch a single group's details.
Scope
This is a v1 surface covering the MSP fleet-monitoring/admin value of Printix's Cloud Print API, not end-user print-job workflow. Explicitly out of scope for now:
- Print Jobs (submit/retrieve/delete) - end-user print workflow, not MSP admin value.
- Cards (register/search/delete) - a niche auth-card identity feature.
- Networks and SNMP Configurations - provisioning-heavy, higher-risk write surfaces.
- User and group mutation (create/delete) - real account-management consequences (licensing, access removal); only read (list/get) is exposed for both. Worth a deliberate separate decision later.
They can be added as a follow-up once there's a clear MSP workflow need.
This server was built against the Cloud Print API (printix.github.io), not the narrower Partner API (printix.bitbucket.io), which is scoped to tenant provisioning rather than day-to-day fleet management.
Development
Docker
The image listens on 0.0.0.0 inside the container (MCP_HTTP_HOST) and defaults to AUTH_MODE=gateway. Publish the port on loopback and pass the S2S secret. In gateway mode, Printix credentials arrive on each request as headers; they are not read from the environment.
Compose refuses to start when CONDUIT_S2S_SECRET is unset. The checked-in service is gateway mode: it does not set PRINTIX_CLIENT_ID or PRINTIX_CLIENT_SECRET and does not use env_file, so a project .env cannot inject static vendor credentials into the container. It publishes 127.0.0.1:8080:8080.
Single-tenant HTTP (AUTH_MODE=env) still requires the S2S secret, then uses PRINTIX_CLIENT_ID and PRINTIX_CLIENT_SECRET. Keep this off the gateway Compose service.
Local HTTP without a secret is development-only. It binds 127.0.0.1 only (a wider MCP_HTTP_HOST is overridden and logged) and logs a warning:
來源:README.md,提交 987a5bb
工具
0版本歷史
2- v1.0.1最新Oct 14, 2026
- v1.0.0Sep 20, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。