
Mcp Server
org.ptpgev0.30.1更新于 Oct 10, 2026
The open vocabulary of print for AI agents: terms, product envelopes, validation, fingerprint.
概览
只读访问 PTPGE 印刷词汇表:搜索术语、读取产品模板、校验配置,并计算或展开印刷指纹。
- 功能
- 将 PTPGE 规范(印刷领域的开放词汇表)以一组只读 MCP 工具的形式提供给助手。助手可以搜索术语、读取术语及其关系和记号、浏览层级、读取产品模板、按模板校验配置、解析 4/4 之类的色彩记号,以及计算或展开 ptpge-cfs/1 指纹。响应为纯 JSON。
- 适用场景
- 适合助手需要理解或生成印刷规格的场景:查询印刷术语、检查某配置是否符合产品模板、解析油墨记号,或为印刷订单生成和展开指纹。它是参考与校验服务,不是生产或下单系统。
- 运行要求
- 公共服务器是远程 Streamable HTTP 端点,无需密钥或账号。自行运行需要 Python 3 及项目依赖,可选环境变量用于词汇表 API 地址、刷新间隔、日志级别,以及可选的 Basic Auth 或令牌设置。
安装
在 SourceWeft 中
- 打开 控制台中的 Mcp Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"mcp-server": {
"type": "http",
"url": "https://mcp.ptpge.org/mcp"
}
}
}README
PTPGE MCP Server
A read-only Model Context Protocol server that exposes the PTPGE specification — the open vocabulary of print — to AI agents.
The vocabulary (terms with permanent URIs, product templates, variables, schemas and registers) is
published under CC BY 4.0 at https://api.ptpge.org/v1/. This server loads it, keeps it in memory,
reloads when the dataset version changes, and offers it to agents as a small set of MCP tools:
search a term, read a term, read a product envelope, validate a configuration, resolve a colour
notation, compute and expand a configuration fingerprint (ptpge-cfs/1).
Live, open, no key: https://mcp.ptpge.org/mcp (Streamable HTTP). open.mcp.ptpge.org is an alias.
Add it to your assistant
- Claude (web or desktop): Settings → Connectors → Add custom connector →
https://mcp.ptpge.org/mcp - ChatGPT: Settings → Connectors → Add (developer mode) → same URL
- Claude Code:
claude mcp add ptpge --transport http https://mcp.ptpge.org/mcp
Then ask, in any language: «What is a roll fold?» or «Fingerprint an A4 tri-fold brochure, 170 g silk, 4/4».
Tools
Responses are plain JSON. The /playground page lets you watch an agent run the loop from a free-text
order to a fingerprint, every tool call in the transcript.
Endpoints
Run it yourself
Test with the MCP Inspector: npx @modelcontextprotocol/inspector, transport Streamable HTTP, URL
http://localhost:8000/mcp.
Configuration
The public server at mcp.ptpge.org runs with none of the auth variables set.
Layout
Versioning
Semver for the server; the dataset has its own date version (ptpge_get_version). The fingerprint
algorithm is a separate contract, ptpge-cfs/1, and does not change with server releases.
Licence
Code: Apache License 2.0. Vocabulary and data: CC BY 4.0, held by PTPGE, a non-profit association (being formed). See ptpge.org/governance.
Registry
Listed in the official MCP Registry as org.ptpge/mcp-server (server.json in this repository; published with
mcp-publisher, namespace verified by a DNS record on ptpge.org).
来源:README.md,提交 4f6cbe3
工具
0版本历史
1- v0.30.1最新Oct 10, 2026
