PTPGE MCP Server
OfficialPTPGE 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/mcpChatGPT: 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».
Related MCP server: WordCast MCP Server
Tools
Tool | What it does |
| Free-text search over the vocabulary, tokenised and language-independent. Hits carry URI, label, level, group, |
| One term in full: definition, relations ( |
| Dataset version, term counts, licence, scheme URL, server version. |
| Walk the hierarchy from a node. |
| For a product template: which variables apply, which are required for an identity, which values are allowed. |
| Check a configuration (bindings on vocabulary URIs) against its envelope: membership, cardinality, scope, numeric bands, cross-variable rules. |
|
|
| Canonicalise a validated configuration and compute its |
| A fingerprint back to its configuration, from the register at |
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
Path | Purpose |
| MCP over Streamable HTTP (also GET for the event stream, DELETE to end a session) |
| Liveness + dataset version |
| The Playground |
| Retired — answers 410 with a pointer to |
Run it yourself
python3 -m venv venv && source venv/bin/activate
pip install -r requirements.txt
python -m ptpge_mcp.server # http://0.0.0.0:8000/mcpTest with the MCP Inspector: npx @modelcontextprotocol/inspector, transport Streamable HTTP, URL
http://localhost:8000/mcp.
pytest -qConfiguration
Variable | Default | Purpose |
|
| Where the vocabulary is fetched from |
|
| How often to check |
|
| Python logging level |
| — | Optional Basic Auth on the server, comma-separated |
| — | Optional path to an Apache htpasswd file used instead of the variable above |
| — | Optional per-recipient tokens ( |
The public server at mcp.ptpge.org runs with none of the auth variables set.
Layout
ptpge_mcp/
├── server.py # tools, handlers, Streamable HTTP, Playground route
├── data.py # fetch, cache, index, search
├── config.py # environment-based runtime config
├── cfs_resolution.py # canonicalisation + ptpge-cfs/1
├── fingerprint.py, fingermark.py # hash and mark
├── completeness.py # required variables / unspecified axes
├── colornotation.py # 4/4-style notation → terms
├── semantic.py # embedding search (term_embeddings.npz)
├── registerclient.py # ptpge.org/f/ register client
├── playground.py, learningpage.py, missreport.py
└── _frame.py # ptpge.org site frame (generated; do not edit)
tests/
passenger_wsgi.py # cPanel/Passenger entry point for the hosted instance
.cpanel.yml # deploy script for the hosted instance
CHANGELOG.md # semver; one entry per releaseVersioning
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).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only AgentiScript concept search, catalog, authenticity, license, and approved asset discovery.
Find governed AI capabilities and verify signed receipts. Read-only, no account.
Read-only access to Epivo's live course catalogue for AI agents.
Check if an AI agent is certified; list the TAP Registry and certifications. Free, read-only.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides read-only access to Cordra digital object repositories, enabling AI assistants to explore schemas, retrieve objects, and search using Lucene queries.1MIT
- AlicenseAqualityNot gradedmaintenanceExposes the canonical WordCast knowledge surface — voice and TTS workflows, blog topics, FAQ, official links — to MCP-compatible AI clients. Read-only, no API keys required.2MIT
- AlicenseAqualityCmaintenanceProvides read-only access to the buildingSMART Data Dictionary (bSDD), enabling AI assistants to search and retrieve construction classifications, classes, properties, and relations through natural language.124 npmMIT
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to search enterprise Auto-ID products and exact SKUs, read live stock and current pricing, and explore variants, accessories, consumables and support relationships through a public read-only endpoint. It also surfaces manuals, firmware, drivers and other verified technical resources from the vendor's support center.-