tracepass-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TRACEPASS_API_KEY | Yes | Your TracePass API key (starts with tp_) | |
| TRACEPASS_BASE_URL | No | Base URL for TracePass API (default: https://app.tracepass.eu) | https://app.tracepass.eu |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Tools for the TracePass Digital Product Passport platform. Reads are free. Creating a passport makes an unbilled draft: a plan slot, and any overage past the cap, is taken only when it is published in TracePass. Writes count against the daily API budget, so never create passports in bulk without the user's explicit consent. Irreversible actions (archive, suspend, record_registration, place_on_market) are in tracepass_passport_lifecycle — always confirm with the user before calling them; prefer suspend when a change might need undoing. EU DPP Registry: the economic operator registers a battery passport itself, on the Registry website. TracePass prepares what it submits (tracepass_passports prepare_registry_upi / prepare_registry_upload_file) and records what it reports (record_registration for production; record_acceptance_test for the acceptance environment, which has no legal effect). TracePass never submits to the Registry and never verifies the outcome. Restricted and authority passport data is read through access grants the owner issues; tracepass_access_grants manages them (authority roles are dashboard-only). A GTIN-only address (no serial) answers a public model page of the product, not a unit's passport.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| tracepass_productsA | Manage the TracePass product catalogue. A product is the catalogue layer — one product can have many passports (one per serialised unit). Products are not billable on their own. Archive is in tracepass_passport_lifecycle. Actions (pass via
|
| tracepass_passportsA | Manage Digital Product Passports — create, read, run compliance checks. Archive, suspend, place on market and record_registration are in tracepass_passport_lifecycle. IMPORTANT: EU DPP REGISTRY (battery): the operator registers a passport itself, on the Registry website under its own EU Login. TracePass prepares what it submits and records what it reports; it never submits to the Registry and never verifies the outcome. The acceptance environment has no legal effect; production is recorded with record_registration (tracepass_passport_lifecycle). Paid plan; an OAuth app must act for an admin or owner. Identifier schemes (EN 18219): gs1 | iso15459 | iec61406 | did | doi; batteries accept ONLY gs1 and iso15459. Shapes, lineage, snapshots, measurements, refusal codes: resource tracepass://reference/passports. Actions (pass via
|
| tracepass_passport_fieldsA | Update field values on a Digital Product Passport. Every change is audit-logged with the credential (API key or connected app) and this MCP channel.
Actions (pass via
|
| tracepass_passport_partiesA | Manage the economic-operator parties on a passport (manufacturer, importer, authorisedRepresentative, distributor, recycler, producerResponsibilityOrg). Each carries a legal name and an identifier. A party needs at least one of Actions (pass via
After a battery passport is placed on the market, changing a stored operatorIdentifier or facilityIdentifier returns 409 operator_locked; other edits stay allowed. |
| tracepass_epcisA | GS1 EPCIS 2.0 supply-chain events. Actions (pass via
|
| tracepass_templatesA | What a COMPLIANT passport must contain per category, per the governing EU regulation. Read-only reference data; use it to advise on requirements before creating products/passports and to gap-check a draft. Actions (pass via
BATTERY — |
| tracepass_scopeA | Check what EU law says for a product type matching the facts given: whether it needs a Digital Product Passport, from when, at which level, under which act and article, and the duties of each role. Also reads the catalogue-wide scope report and triggers a refresh run. HARD RULES — always apply to scope answers:
Actions (pass via
|
| tracepass_passport_lifecycleA | WARNING: Every action here changes what the public sees or is a legal act, some irreversible. EU DPP REGISTRY: the operator registers a battery passport itself, on the Registry website under its own EU Login; TracePass never submits to the Registry and never verifies the outcome. The acceptance environment has no legal effect; only a production registration counts. Paid plan; a connected app (OAuth) must act for an admin or owner. Refusal codes: resource tracepass://reference/lifecycle. Actions (pass via
|
| tracepass_access_grantsA | Share restricted passport data with a partner (repairer, recycler, purchaser...) through an access grant, and see or end the grants already issued. A grant names a role, a scope (company, chosen products or chosen passports), a purpose, optional evidence and an expiry (default 12 months). Needs an OAuth connection approved for access grants or an API key with "May manage access grants" switched on (403 access_grants_not_enabled); writing needs an admin. Authority roles (e.g. market surveillance) are dashboard-only end to end: create, update and revoke of such a grant are refused (400 role_dashboard_only). IMPORTANT: Actions (pass via
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| audit_passport | Review one Digital Product Passport for completeness and compliance readiness — which required fields are missing, which economic-operator parties are unset, whether it's publishable. |
| onboard_product | Walk through creating a new product and its first Digital Product Passport — gathering the details, then creating both. |
| explain_dpp_requirements | Explain what a Digital Product Passport in a given category must contain to be compliant — the required fields and the EU regulation behind them — before you create anything. |
| compliance_gap_check | Cross-check a draft passport against its category's regulatory schema and produce an exact, prioritised list of what's missing before it can be published compliantly. |
| register_battery_passport | Walk the economic operator through registering a published battery passport in the EU DPP Registry: check readiness, prepare the address (or an upload file) the operator submits on the Registry website, then record the result the operator reports. TracePass never submits and never verifies. |
| review_epcis_events | Inspect the EPCIS 2.0 supply-chain event history of a passport and summarise the product's traceability story. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| products | The account's TracePass product catalogue (first page). Attach this for an overview of what products exist. |
| templates | All 13 DPP category schemas with field count, required-field count, and governing regulation. Attach this to ground the model in what each category's compliance requirements are. |
| reference-passports | Identifier scheme shapes, EU DPP Registry action detail and refusal codes, lineage, snapshots, condition flags and measurements for tracepass_passports. |
| reference-lifecycle | Effects, refusal codes and the EU DPP Registry model for record_registration, undo_registration, place_on_market and archive. |
| reference-scope | Argument values, caps, plan gates and response shapes for the scope check and catalogue actions. |
| reference-templates | Battery required-ness rules: scope first, then requiredBy, conditional fields, use data. |
| reference-parties | Operator and facility identifier schemes and the identifier rules for parties. |
TDQS
Scored across 9 tools
The nine top-level tools map to largely distinct TracePass domains: products, passports, lifecycle operations, access grants, EPCIS, field updates, parties, scope, and templates. Some care is needed to distinguish registry-preparation actions inside `tracepass_passports` from registration/lifecycle actions in `tracepass_passport_lifecycle`, and passport field edits from passport creation, but the descriptions make these boundaries workable.
All tool names use the same `tracepass_` prefix, snake_case formatting, and resource-noun pattern. Action names within tools are also consistently verb-like and predictable; minor singular/acronym differences like `tracepass_scope` and `tracepass_epcis` do not disrupt the pattern.
Nine top-level tools is a well-scoped count for a broad DPP platform. Each tool corresponds to a meaningful resource or workflow area, even though `tracepass_passports` is action-heavy and must expose many related operations.
Coverage is very comprehensive: product catalogue management, passport creation/read/compliance/registry readiness, lifecycle transitions, access grants, EPCIS capture/query/export, field and party updates, scope checks, and templates. Publishing appears intentionally dashboard-only rather than missing, and I see no major dead ends in the core domain.