Servers Changes Log Check Watch Why How it works GitHub

PLCWare - TIA Portal (tia)

io.github.renanlido/tia-openness · npm:@renanlido/tia-openness-mcp

Último cambio observado · 2026-11-30T21:42:17Z

Drive Siemens TIA Portal V21 from AI: author, compile, export and gated download via Openness.

Primera observación
2026-10-27
Sin cambios desde
2026-11-30
Última observación
2026-12-02
Observaciones
12
Cambios registrados
5
Herramientas
161

Definiciones de herramientas en la última observación (161)

  • tia_accessible_devices — Scans the network via the PG/PC adapter and lists accessible devices — to see which devices answer on the network — to discover mode/adapter/interface names WITHOUT a scan, use tia_pg_interfaces. GATE G7 (net scan): pass confirm:true. Maps to POST /plcs/{plc}/online/accessibledevices.
  • tia_block_compare — Exports the block from the project and compares it with the SimaticML you pass (e.g. the file committed in git). Like tia_export_block, this may compile an inconsistent block first (export requires consistency), which can regenerate its instance DB; read-mostly, treated as read for agent tool policy. Normalized: ignores BOM, line endings, indentation, blank lines, <Created>, <InstalledProducts> an …
  • tia_block_compile — Compiles ONE block (not the whole PLC) and returns the same message tree, Gd8 verification summary (only ERROR blocks, warnings don't), located[] and nextHints as tia_compile. A clean block compile is NOT the Gd9 precondition for download/S7: run tia_compile for the whole PLC before that. 404 not_found when the block does not exist. dryRun (Gd11) is answered by the serve (needs an open project): i …
  • tia_block_delete — Deletes a block. Maps to DELETE /plcs/{plc}/blocks/{block}. M-off.
  • tia_block_from_mastercopy — Creates a PLC block from a master copy of the open project's library (name from tia_library_mastercopies) and returns the new block's name. The master copy must hold PLC blocks: one that holds hardware and no block — e.g. a device master copy, the only kind tia_library_mastercopy_create makes — is refused with 409 kind:"mastercopy_not_blocks" by serves after app 1.6.3 (up to 1.6.3: 500 "Copying fr …
  • tia_block_group_create — Creates a block group. Maps to POST /plcs/{plc}/blockgroups. M-off.
  • tia_block_group_delete — Deletes a block group. `group` is a user group name or a '/'-separated path from the program-blocks root (e.g. Motors/Conveyor; sent as ONE encoded path segment); each level matches the exact name first, then ignoring case. A group that holds any block or subgroup (recursively) is refused with 409 group_not_empty (details.blocks and details.groups list everything that would go) unless recursive:tr …
  • tia_block_protect — Sets know-how protection on a PLC block with a password (protect:true, the default) or removes it (protect:false, with the same password). GATE G6: the password comes from a HUMAN — never invented, guessed or reused; a password nobody knows locks the block for good. Never retry a rejected password with a guess: after one rejected unprotect, TIA has refused even the correct password for the rest of …
  • tia_block_render — Class R, pure/offline: never calls serve. Pass XML text, not a file path: use the inline xml field of tia_export_block {plc, block}. Renders ONE SimaticML block as readable pseudo-SCL: LAD/FBD contacts, coils, logic boxes, comparators, MOVE/arithmetic, timers, counters, edges and block calls become SCL-like statements; SCL networks are rebuilt from their tokens; STL/GRAPH networks are marked not r …
  • tia_block_set_attribute — Sets an attribute of a block (e.g., optimized access). Maps to POST /plcs/{plc}/blocks/{block}/attributes. M-off.
  • tia_catalog — Searches the hardware catalog (article number, type identifier, version). Requires TIA connected. By default the (long) 'description' is OMITTED — on broad filters it blows up the payload (description × firmware variants); pass verbose:true WITH a specific filter to include it. Maps to GET /catalog?filter=&typeIdentifier=&verbose=. Read-only (R).
  • tia_cax_export — Exports the hardware configuration as CAx / AutomationML (.aml) to a file on the serve host: one device when `device` is given, otherwise the whole project. Writes the file only — the project is not changed. Returns the transfer state, errors, warnings and messages (capped; messagesTruncated); a transfer whose state is Error or that counts any error is an error (500 cax_transfer_failed, those fiel …
  • tia_cax_import — Imports a CAx / AutomationML (.aml) file on the serve host into the open project's hardware configuration. `option` decides what happens to a device that already exists: RetainTiaDevice (default — keep the project's device), OverwriteTiaDevice (replace it) or MoveToParkingLot. Archive the project first (tia_project_archive) before an overwrite: a failed import may have applied part of the file. Re …
  • tia_certificate_delete — Deletes one certificate (id from tia_certificates) from the CPU's local store in the project. Offline change: the CPU keeps its certificate until a later compile + download. Maps to DELETE /plcs/{plc}/certificates/{id}. Class M-off.
  • tia_certificate_export — Exports one certificate of the CPU's local store (id from tia_certificates) to a file on the serve host. Writes the file only — the project is not changed. Maps to POST /plcs/{plc}/certificates/{id}/export {path}. Class M-off.
  • tia_certificate_import — Imports a certificate file on the serve host into the CPU's local certificate store and returns {id, subject}. A password-protected file (PKCS#12 with its private key) needs `password`: GATE G6 — it comes from a HUMAN, never invented or guessed; the dryRun plan shows it as [redacted]. The password travels to the serve over plain HTTP — keep the serve on this host or a trusted network. Offline chan …
  • tia_certificate_template — Reads the CPU's certificate template for a usage (default Tls): subject, usage, signature, validFrom, validUntil. A CPU without a local certificate manager is refused (409). Maps to GET /plcs/{plc}/certificates/template?usage=<usage>. Read-only (class R).
  • tia_certificates — Lists the certificates in the CPU's local certificate store as {id, subject, validUntil, hasPrivateKey}. A CPU or firmware without a local certificate manager is refused (409). Maps to GET /plcs/{plc}/certificates. Read-only (class R).
  • tia_compile — Compiles the PLC and returns the message tree + a verification summary (Gd8: only ERROR blocks, warnings don't) and nextHints. This is the offline VERIFIER: a clean compile is a precondition (Gd9) for download/S7. Maps to POST /plcs/{plc}/compile. M-off. Long operation: may answer status:"running" + jobId — then call tia_job_status.
  • tia_connect — Opens/attaches a TIA project (.ap*) on the serve host. Class M-off. Idempotent for the ALREADY-OPEN project (response `alreadyOpen:true`, no-op) and reuses a running TIA instance for a DIFFERENT project (`reusedPortal:true`). In an instance serve started, the open project and any foreign project are closed to make room (or the instance is restarted): if one has unsaved changes the call is REFUSED …
  • tia_connection_create — Creates an S7 connection between two devices. Guard G2: requires ≥2 CONSISTENT CPUs (compile clean) — a bare CPU fails. On error, the envelope's 'details' carries the diagnostic (or use tia_connections_diagnose). Maps to POST /connections. M-off.
  • tia_connections_diagnose — Diagnostic for an S7 connection between two devices: available interfaces, nodes, and creationinfos. Requires a connected project. Maps to GET /connections/diagnose?localDevice=&partnerDevice= (both required). Read-only (class R).
  • tia_constant_create — App 1.8+ serve returns 400 bad_request (details.field, rule) for quote-bearing names or invalid decimal integer literals; typed/radix literals pass through. Creates a user constant in a tag table. Refused with 409 name_collision (details.collidesWith = the colliding tag, constant or block) when the name matches, ignoring case, any tag, constant or block of the PLC. Maps to POST /plcs/{plc}/constan …
  • tia_constant_delete — Deletes a user constant from a tag table; an unknown table or constant is 404 not_found. dryRun (Gd11) is answered by the serve (needs an open project): it resolves the constant and returns the plan {dataType, value} WITHOUT deleting. Maps to DELETE /plcs/{plc}/tagtables/{table}/constants/{constant}. M-off.
  • tia_constant_update — App 1.8+ serve returns 400 bad_request (details.field, rule) for quote-bearing names or invalid decimal integer literals, including previews; typed/radix literals pass through. Updates ONE user constant: rename, data type and value. Only the fields you pass change, and only those that differ from the current value are written (none passed: 400 missing_param; all unchanged: 200 with changes:[]). A …
  • tia_crossrefs — Cross-references of ONE object or of a whole PLC: for every source object, the objects that use it or that it uses, each with its locations (block, network, address, access such as Read, Write or Call). Use it to see who calls, reads or writes a tag, block, type or constant before changing it, and to find objects nothing refers to. target names ONE object (block, type, tag, constant or tag table; …
  • tia_device_change_version — Changes the CPU's FIRMWARE version IN-PLACE (wraps DeviceItem.ChangeType), PRESERVING the program — an alternative to delete+recreate (enables 'auto-FW-match'). Guard Gd5: the typeIdentifier follows 'OrderNumber:<MLFB>/V<fw>' with '/V' (slash), never ':V' — resolve via tia_catalog. Rule: the PROJECT's firmware version must be ≤ the physical DEVICE's (project FW ≤ device FW). dryRun (Gd11) returns …
  • tia_device_connections — Lists the communication connections (S7 etc.) of a device. Requires a connected project. Maps to GET /devices/{device}/connections. Read-only (class R).
  • tia_device_create — Creates a device (CPU/HMI/IO) by typeIdentifier. Optional group is an existing device user-group path (Area/Line, case-insensitive); omitted means project level. For group, GET /status must advertise supportsDeviceGroupCreation:true (app 1.8.1+); older serves are refused before creation. Uses typed CreateWithItem, never the unsafe generic CreateDevices call. The successful receipt identifies the c …
  • tia_device_from_mastercopy — Requires app ≥ v1.8.0. Creates a new station from a device master copy in the open project's library (name from tia_library_mastercopies), returning {device: actualName}; TIA may rename the copy and its PLC. Known block-only content is refused with 409 mastercopy_not_device; unknown content goes to Openness. Clones an owner-prepared configuration, including PUT/GET, purchased-license selection and …
  • tia_device_group_create — Creates a device group. Maps to POST /devicegroups. M-off.
  • tia_device_network — Reads the network configuration of ONE device, per network interface: `item` (the interface item name, the `interface` value the network write tools take), operatingMode, subnet, node {name, address, subnetMask}, pn {deviceName, autoGeneration, setDirectly, convertedName} (null when the PROFINET attributes are not readable, as on an interface that is not PROFINET), ioController {ioSystem} and ioCo …
  • tia_device_plug — Plugs a module into an existing device by typeIdentifier (Gd5: '/V', never ':V'; resolve via tia_catalog). Maps to POST /devices/{device}/plug. M-off.
  • tia_device_tree — Hardware tree of a device (racks/slots/modules). Requires a connected project. For a large device read it in pages: pass limit (1-1000), then pass the nextCursor of each page as cursor until nextCursor is null. A page is {device, typeIdentifier, items, total, nextCursor}; total is the number of tree nodes of the whole device. A page is a forest: an item whose parent is on another page is listed at …
  • tia_device_unplug — Removes a device item (module). Maps to DELETE /devices/{device}/items/{item}. M-off.
  • tia_devices — Lists the project's devices and their items. Requires a connected project. typeIdentifier prefers the station value, then the first readable DeviceItem.TypeIdentifier (including HMI panels). typeIdentifierSource is device, deviceItem or unavailable; if none can be read, typeIdentifier is null and typeIdentifierUnavailableReason explains the missing metadata. Maps to GET /devices. Read-only (class …
  • tia_disconnect — Disconnects from TIA. This is the explicit teardown for the TIA instance the serve itself created (an instance we merely ATTACHED to is only detached, never killed) — but not the only path that can end an owned instance: tia_show_ui (relaunch visible), tia_project_create, and a tia_connect needing a fresh connect also end/replace it. Ending an instance serve started would lose the unsaved changes …
  • tia_download — Downloads hardware/software to the PHYSICAL CPU (STOPS and RESTARTS the CPU). GATE G3: does NOT download without human approval. dryRun:true asks serve for a VERIFIED plan (clean compile, PG/PC interface found, software fingerprint) and returns a single-use planHash that expires (TIA_PLAN_TTL_MS, default 15 min). After a human approves that plan, call with approved:true and the SAME planHash; serv …
  • tia_export_block — Exports ONE block as SimaticML XML and returns it INLINE with sha256, normalizedSha256 and bytes — no file on the serve host. `contentHash` is the stale-write guard hash: the SHA-256 of this block's export with the DEFAULT options after removing volatile noise (Created, InstalledProducts, formatting tokens, line endings, layout whitespace between tags; whitespace INSIDE text, comments and string v …
  • tia_export_sd — Exports ONE block (OB, FB, FC, DB) or PLC data type as SIMATIC SD text, INLINE: `s7dcl` (the code; LAD/FBD as NETWORK ... RUNG text) and `s7res` (YAML texts; null when TIA wrote none) with byte counts, state, messages and `contentHash`: the SAME stale-write hash tia_export_block and tia_export_type return (null with contentHashError when the block is not consistent or the object changed while it w …
  • tia_export_type — Exports ONE user data type (UDT) as SimaticML XML and returns it INLINE with sha256, normalizedSha256 and bytes — hashed exactly like tia_export_block, no file on the serve host. `contentHash` is the stale-write guard hash, defined as in tia_export_block (SHA-256 of the default-options export with volatile noise removed and UIds renumbered canonically; it exists only for a well-formed XML export: …
  • tia_export_xml — Exports the PLC's blocks and types to SimaticML XML files in a directory (project-as-code). Maps to POST /plcs/{plc}/export. M-off. Long operation: may answer status:"running" + jobId — then call tia_job_status.
  • tia_fb_create — Creates an EMPTY Function Block (empty interface, no logic) by importing a minimal SimaticML skeleton. Supported languages: SCL (the default when `language` is omitted), LAD, FBD, STL or ProDiag, in any case; any other value is refused with 400 bad_request listing them, and a CPU family can still refuse one it does not support. Gd6: for LOGIC use a textual language (SCL) via tia_source_put, or gra …
  • tia_global_libraries — Lists the names of the global libraries open in the TIA Portal session (system libraries included). Maps to GET /globallibraries. Read-only (class R).
  • tia_global_library_close — Closes an open user global library by name (from tia_global_libraries; exact name first, then ignoring case; unsaved changes are not saved — call tia_global_library_save first) and returns its name as {closed}. Serves after app 1.6.3 refuse a name that picks no single open USER library, nothing closed: an unknown or already-closed name is 404 kind:"not_found"; a system or corporate library (read-o …
  • tia_global_library_create — Creates a new global library on disk (directory on the serve host) and opens it in the TIA Portal session; returns its name. Maps to POST /globallibraries {directory, name}. Class M-off. Long operation: may answer status:"running" + jobId — then call tia_job_status.
  • tia_global_library_open — Opens a global library file (.alNN on the serve host, e.g. MyLib.al21 — the file inside the library folder) in the TIA Portal session and returns its name; readWrite defaults to true (pass false to open it read-only). Serves after app 1.6.3 refuse an unusable path before TIA, nothing opened: a missing file is 404 kind:"not_found"; a folder, a file that is not .alNN or a malformed path (e.g. with q …
  • tia_global_library_save — Saves an open user global library by name (from tia_global_libraries; exact name first, then ignoring case) and returns its name as {saved}. Serves after app 1.6.3 refuse a name that picks no single open USER library, nothing saved: an unknown name is 404 kind:"not_found"; a system or corporate library (read-only), or a name several user libraries match only ignoring case, is 409 kind:"conflict"; …
  • tia_guide — THE OPERATING GUIDE for driving the tia_* tools — read the relevant topic BEFORE authoring, changing hardware or preparing a deploy. Returns bundled markdown: gates vs guards (G1..G7 are human-only), the build pipeline (validate→plan→scaffold→verify→handoff), runtime-validated gotchas, GUI-gate handoffs, the bare-CPU protection recipe, and the project-spec format. The pipeline/recipes topics disti …
  • tia_hmi_alarm_classes — Lists the alarm classes of a WinCC Unified HMI as {hmi, alarmClasses:[{name, id, priority, stateMachine, log, isSystem, commonAlarmClass}], total, nextCursor, inventoryGaps}; commonAlarmClass is null when TIA reports a placeholder such as <No alarm class> instead of a class. Use it before creating or updating an alarm: its alarmClass must be one of these names. For a large HMI read it in pages: pa …
  • tia_hmi_alarm_create — Creates a discrete or analog alarm in a WinCC Unified HMI. Needs name, alarmClass and triggerTag, plus triggerBit (discrete) or condition and conditionValue (analog). alarmClass and triggerTag must exist, else 409 reference_not_found. A discrete alarm raises on a bit of the trigger tag: triggerBit (required on create) and triggerMode; a tag that is not bit-addressable is 409 tag_type_mismatch, a b …
  • tia_hmi_alarm_delete — Deletes a discrete or analog alarm of a WinCC Unified HMI; an unknown alarm is 404 not_found, nothing changed. dryRun (Gd11) is answered by the serve: it runs every guard the real write runs and answers {dryRun:true, status:"plan_ok", hmi, ...} with no `postcheck`, changing nothing. A real write answers the re-read values and a `postcheck` {verified:true, requested, actual}; a mismatch is 409 post …
  • tia_hmi_alarm_update — Updates ONE alarm of a WinCC Unified HMI: only the fields passed change (none passed: 400 missing_param). The rules of a create apply to what it changes and to what those changes interact with; the references it carries unchanged are not re-audited: tia_hmi_validate finds dangling ones. alarmClass and triggerTag must exist, else 409 reference_not_found. A discrete alarm raises on a bit of the trig …
  • tia_hmi_alarms — Lists the alarms of a WinCC Unified HMI as {hmi, kind, alarms:[{kind, name, alarmClass, priority, triggerTag, triggerBit, triggerBitAddress, triggerMode, condition, conditionValue, triggerAddress, eventText}], total, nextCursor, inventoryGaps}. Discrete alarms come first, then analog ones; a discrete alarm fills triggerBit, triggerBitAddress and triggerMode, an analog one fills condition, conditio …
  • tia_hmi_connections — Lists the connections of a WinCC Unified HMI as {hmi, connections:[{name, communicationDriver, station, partner, node, initialAddress, disabledAtStartup, comment, plc}], total, nextCursor, inventoryGaps}; `plc` is the name of the one PLC the partner resolves to, or null when none or several match. Use it before creating an external tag: the connection must exist and plc says whether plcName can be …
  • tia_hmi_screen_export — Exports one screen of a CLASSIC WinCC HMI to an XML file on the serve host. WinCC Unified screens have no file export in the V21 API (the serve refuses them). Writes the file only — the project is not changed. Maps to POST /hmi/{hmi}/screens/{screen}/export {path}. Class M-off. Long operation: may answer status:"running" + jobId — then call tia_job_status.
  • tia_hmi_screen_items — Lists the items of ONE screen of a WinCC Unified HMI as {hmi, screen, screenNumber, width, height, items:[{name, type, visible, enabled, left, top, width, height}], total, nextCursor, inventoryGaps}; type is the item class (HmiButton, HmiIOField, ...) and the layout values are null for a type that does not offer them. Items are flat: the V21 API exposes no nested items. Use it to inspect a screen …
  • tia_hmi_screens — Lists the screen names of an HMI (Classic: every screen folder, recursively; Unified: flat). Maps to GET /hmi/{hmi}/screens. Read-only (class R).
  • tia_hmi_screens_import — Imports the screens of an XML file on the serve host into the root screen folder of a CLASSIC WinCC HMI; a screen with the same name is OVERWRITTEN. WinCC Unified is refused (no file import in the V21 API). Returns the imported screen names. Maps to POST /hmi/{hmi}/screens/import {path}. Class M-off. Long operation: may answer status:"running" + jobId — then call tia_job_status.
  • tia_hmi_tag_create — Creates a tag in a WinCC Unified HMI, in `table` or the default tag table. A tag WITHOUT `connection` is internal: dataType is required and plcName, plcTag, address, accessMode, acquisitionMode and acquisitionCycle are refused (400 bad_request). A tag WITH `connection` is external: the connection must exist (409 reference_not_found; tia_hmi_connections lists them), exactly one of plcTag or address …
  • tia_hmi_tag_delete — Deletes a tag of a WinCC Unified HMI. Refused, nothing changed: 404 not_found and 409 tag_in_use (details.references) when an alarm references the tag. Screens, scripts and logging that use the tag are NOT scanned: run tia_hmi_validate afterwards. dryRun (Gd11) is answered by the serve: it runs every guard the real write runs and answers {dryRun:true, status:"plan_ok", hmi, ...} with no `postcheck …
  • tia_hmi_tag_table_create — Creates a tag table in a WinCC Unified HMI. Refused, nothing changed: 400 invalid_name (details.kind, name, rule) for a blank, over-long or malformed name, 409 name_collision (details.existing) for a used name. The result is {hmi, tagTable, created:true, postcheck}. dryRun (Gd11) is answered by the serve: it runs every guard the real write runs and answers {dryRun:true, status:"plan_ok", hmi, ...} …
  • tia_hmi_tag_table_delete — Deletes a tag table of a WinCC Unified HMI. Refused, nothing changed: 404 not_found, 409 default_tag_table for the default table, 409 tag_table_not_empty (details.tags) while it holds tags unless recursive:true, which deletes its tags with it, and 409 tag_in_use (details.references) when an alarm references any of those tags. Screens, scripts and logging that use the tags are NOT scanned: run tia_ …
  • tia_hmi_tag_tables — Lists the tag tables of a WinCC Unified HMI as {hmi, tagTables:[{name, group, tagCount}], total, nextCursor, inventoryGaps}; group is the "/"-joined path of the tag table group (null at the root) and tagCount the number of tags in the table. Use it before creating or deleting a tag table and to find the table a tag lives in (tia_hmi_tags takes it as `table`). For a large HMI read it in pages: pass …
  • tia_hmi_tag_update — Updates ONE tag of a WinCC Unified HMI: only the fields passed change (none passed: 400 missing_param). The rules of a create apply to what it changes and to what those changes interact with; the references it carries unchanged are not re-audited: tia_hmi_validate finds dangling ones. Moving a tag to another tag table is not supported. A tag WITHOUT `connection` is internal: dataType is required a …
  • tia_hmi_tags — Lists the tags of a WinCC Unified HMI as {hmi, table, tags:[{name, table, tagType, dataType, connection, plcName, plcTag, address, accessMode, acquisitionMode, acquisitionCycle}], total, nextCursor, inventoryGaps}, every value text or null. Use it to see what exists before creating, updating or deleting a tag or an alarm. An internal tag has connection, plcName, plcTag, address, accessMode, acquis …
  • tia_hmi_validate — Runs the validation of every tag, alarm, connection and screen (with its items) of a WinCC Unified HMI, as far as the scope selects, and lists what it reports as {hmi, scope, checked:{tags, alarms, connections, screens, screenItems}, errors, warnings, findings:[{objectKind, object, property, errors, warnings}], total, nextCursor, inventoryGaps}. This is NOT a compile: the V21 API has none for Unif …
  • tia_hmis — Lists the HMIs in the open project as {kind, name}: kind "classic" (WinCC Classic HmiTarget) or "unified" (WinCC Unified). Maps to GET /hmi. Read-only (class R).
  • tia_import_sd — Creates or REPLACES ONE block or PLC data type from SIMATIC SD text (`s7dcl`, plus `s7res` YAML texts). The only way to create a block or type from SD text (the VCI tools update mapped objects only). An existing object is replaced where it lives; a new one goes to the root group or to `group` (an existing user group, '/'-separated; 404 not_found if missing). No undo. The text must declare exactly …
  • tia_import_xml — Imports a block in SimaticML XML (the only path for LAD/FBD/GRAPH — Gd6). PREFER `xml` inline (tested up to ~300 KB: 280 KB imported in 1–5 s); use `path` ONLY for a file that is already on the serve host — never copy files to the host to import them. Gd7: author from a real export for the selected target version; no cross-version import matrix is established. V21 import behavior is unchanged (no …
  • tia_instancedb_create — Creates an instance DB of an FB. Refused with 409 name_collision (details.collidesWith = the colliding tag, constant or block) when the name matches, ignoring case, any tag, constant or block of the PLC. Maps to POST /plcs/{plc}/instancedbs. M-off.
  • tia_instances — Lists TIA Portal sessions exposed by Openness and native Siemens.Automation.Portal.exe processes on the serve host. Native-only rows include the PID with mode and project path set to null. Maps to GET /instances. Read-only (class R).
  • tia_io_map — I/O channel map of ONE PLC, the base of a FAT/SAT I/O list: for every I/O device item reachable from the PLC (its own modules and onboard I/O, and the devices on its PROFINET IO systems) the address ranges with logical notation, the channels with logical addresses, the PLC tags that sit on them, and the I/O tags that sit on nothing. entries is one ordered list; kind is range (device, path, ioType, …
  • tia_io_system_connect — Assigns the interface of an IO device to the IO system of a controller interface. `interface` and `controllerInterface` are interface item names from tia_device_network (default: the primary network interface). The controller must already have an IO system (409 no_io_system: create it with tia_io_system_create) and the device interface must be on the SAME subnet as that IO system (409 cross_subnet …
  • tia_io_system_create — Creates the IO system of a PROFINET controller interface; connect the IO devices to it afterwards with tia_io_system_connect. `controllerInterface` is the interface item name from tia_device_network (default: the primary network interface). `name` and `number` are optional (left out, TIA chooses); a number outside 100-115 is 400 invalid_io_system_number and one another IO system already has is 409 …
  • tia_io_system_disconnect — Removes the interface of an IO device from its IO system (to leave the subnet use tia_network_disconnect). `interface` is the interface item name from tia_device_network (default: the primary network interface). Refused, nothing changed: 409 not_io_device, 404 not_found. The result carries `ioSystem:null`, `changes` and a `postcheck` (the serve re-reads the assignment after the write); a mismatch …
  • tia_io_system_update — Renames the IO system of a controller interface and/or changes its number (neither passed: 400 missing_param). `controllerInterface` is the interface item name from tia_device_network (default: the primary network interface). A number outside 100-115 is 400 invalid_io_system_number and one another IO system already has is 409 io_system_number_in_use (details.usedBy), or 409 subnet_inventory_incomp …
  • tia_io_systems — Lists every IO system of the project: {name, number, subnet, controller {device, interface} or null, devices [{device, interface}]}, plus `inventoryGaps` [{kind, subject, reason}] (reads that failed during the scan; empty when all succeeded, otherwise the list may be incomplete; a gap of kind `io_system_subnet` also carries `ioSystem` {number, controller}, the identity the serve decides on, while …
  • tia_job_status — Waits (up to waitSeconds, default 20, max 25) for a background job started by a long tool that answered status:"running" (tia_connect, tia_start, tia_show_ui, tia_project_create/save/saveas/close/archive, tia_compile, tia_source_put, tia_device_create, tia_import_xml, tia_types_import, tia_download, tia_upload, tia_export_xml, tia_export_block, tia_block_compare, tia_crossrefs, tia_io_map, tia_spe …
  • tia_library_mastercopies — Lists the master copies in the open project's library (names, from every folder). Maps to GET /library/mastercopies. Read-only (class R).
  • tia_library_mastercopy_create — Creates a master copy of a DEVICE (station) in the open project's library and returns its name. Only a device is accepted as the source — a PLC block cannot become a master copy through this route. Maps to POST /library/mastercopies {device}. Class M-off. Long operation: may answer status:"running" + jobId — then call tia_job_status.
  • tia_library_types — Lists the types in the open project's library with their versions as {name, ns, guid, status, versions:[{version, state, isDefault, author, modified, guid}]}. Maps to GET /library/types. Read-only (class R).
  • tia_local_session_close — Closes a local session; it NEVER checks in to the Project Server. Closing discards every pending change of the session, so a session with unsaved changes (or whose modified state cannot be read) is refused with 409 unsaved_changes (details.session, details.path) until the call chooses: save:true saves it first (multiuser or exclusive sessions only; otherwise 409 save_not_supported and nothing is c …
  • tia_local_session_open — Opens a local multiuser session (a .alsNN file on the serve host, for example the projectFile of tia_server_project_sessions) in the TIA Portal of the serve. The portal MUST hold NO open project and no other session: start it without a project (tia_start, not tia_connect). Do NOT call tia_connect first: it opens a project, and an open project is refused with 409 project_open (details.openProjects) …
  • tia_local_session_save — Saves the changes of a local session in the session itself with LocalSession.Save(); it never checks in to the Project Server. Only a multiuser or an exclusive session can be saved: a server-project session is refused with 409 save_not_supported and nothing is changed. Returns {saved:true, session:{index, name, path, ...}}. `session` is the name or the full path of an open local session (as listed …
  • tia_local_sessions — Lists the local multiuser sessions open in the TIA Portal of the serve as {sessions:[{index, name, path, handle, isModified, isUpToDate, upToDateError, attributes}], total}; an empty list is valid (single-user project or no session open). `handle` is the object handle of the session's project: read and edit it with tia_obj_get, tia_obj_items and the other tia_obj_* tools. isUpToDate asks the Proje …
  • tia_mark_state — Reads the mark state of objects of a local session as {session:{index, name, path}, objects:[{handle, type, name, isMarkable, markState, isUpToDate, isMarkedByMe, isMarkedByOthers}]}. markState is the flags text (for example "IsUptoDate, IsMarkedByMe") and the three booleans are its flags; an object with isMarkable:false cannot be marked. Object handles (positive integers) come from the `handle` f …
  • tia_markings — Lists the objects marked for check-in in a local session as {session:{index, name, path}, conflictedOnly, markings:[{handle, type, name, markState, isUpToDate, isMarkedByMe, isMarkedByOthers}], total, nextCursor}, read in real time from the Project Server. Marking selects objects of YOUR local session for check-in; other users only see them as marked in another local session. conflicted:true lists …
  • tia_mastersecret_reset — Removes/resets the CPU's master secret. Maps to DELETE /plcs/{plc}/online/mastersecret.
  • tia_mastersecret_set — Sets the master secret (password) of a protected CPU, before online/download. GATE G6: the password comes from a HUMAN (or a credential vault) — the AI NEVER makes it up. (Note: P3.7 questions sending the secret over HTTP in plain text; prefer local entry on the host.) Maps to POST /plcs/{plc}/online/mastersecret.
  • tia_network_address — Sets address attributes (IP/mask/etc.) of a device's interface. The result carries a `postcheck` (the serve re-reads the attributes after the write); a mismatch is 409 postcheck_failed (details.mismatches; details.rollback says whether the previous values were restored; details.restoreFailures lists every field that is NOT back at its previous value, re-read after the rollback): re-read with tia_d …
  • tia_network_connect — Connects a device's interface to a subnet (with IP; optionally creates an IO-system). CPU and IO-devices MUST be on the SAME subnet. The result carries a `postcheck` (the serve re-reads the connection after the write); a mismatch is 409 postcheck_failed (details.mismatches): re-read with tia_device_network before retrying. Before connecting or writing an IP, the serve checks Address metadata and i …
  • tia_network_disconnect — Disconnects a device's interface from the subnet. The result carries a `postcheck` (the serve re-reads the interface after the write); a mismatch is 409 postcheck_failed (details.mismatches): re-read with tia_device_network before retrying. Maps to POST /network/disconnect. M-off.
  • tia_ob_create — Creates an organization block (OB) of an event class (eventClass is one of the 15 listed). Gd6: put the LOGIC in afterwards via tia_source_put (SCL/STL) or tia_import_xml (LAD/FBD). `number` optional: omitted → the class's base number when free, else the lowest free one in 123..32767 (non-singleton classes only). An explicit number must be one Siemens permits for the class: ProgramCycle 1 or 123+, …
  • tia_obj_create — Creates an object in a composition of a parent object by handle. Maps to POST /obj/{handle}/create. M-off. See the creatable types in tia_obj_creationinfos. DeviceUserGroup.Devices creation is refused with 409 unsafe_object_creation before V21 CreateDevices can terminate TIA; use tia_device_create with group instead (app 1.8.1+).
  • tia_obj_creationinfos — Creatable types in a composition and their parameters (mandatory/supported types). Requires a connected project. Maps to GET /obj/{handle}/creationinfos/{composition}. Read-only (class R).
  • tia_obj_get — Details of an object by handle (type, name, attributes, compositions). Requires a connected project. Maps to GET /obj/{handle}. Read-only (class R).
  • tia_obj_info — Available compositions and invocations of an object. Requires a connected project. Maps to GET /obj/{handle}/info. Read-only (class R).
  • tia_obj_invoke — Invokes a method of a model object by handle (args coerced to the parameter types; {"$handle":N} passes another object). Maps to POST /obj/{handle}/invoke. M-off. Powerful — combine with tia_obj_info to see the signature. dryRun (Gd11) is answered by the serve (needs an open project): it runs every guard the real call runs (the member policy, the overload and argument checks and, on a Version Cont …
  • tia_obj_items — Handles of an object's children in a composition. Requires a connected project. Maps to GET /obj/{handle}/items/{composition}. Read-only (class R).
  • … y 61 más

Consulta las observaciones firmadas, los conjuntos de herramientas anteriores y sus diferencias en el registro interactivo o en /api/v1/servers/a94932c342aa1b51.

io.github.renanlido

Transparency log · MCP tool definitions

Every MCP server's tools, on the record.

Your AI client trusts the tool descriptions an MCP server sends it — and a server can change them after you approved it. HISTOR keeps a public, signed record of what every remote MCP server in the official registry advertised, and tells you the day it changed.

Remote endpoints: it lists tools and never calls one. Registry packages: bounded canary calls run inside the isolated sandbox. It never says a server is safe — it tells you what was said, and when.

DRAG TO ORBIT
SIM
—

WebGL is unavailable here. The picture is the log itself: each label is a leaf, leaf hashes climb a Merkle tree, and a signed tree head seals the root.

—
Registry remote endpoints
last completed crawl
—
Targets with a pinned tool set
current
—
Changes
last 7 days
—
Labels in the log
all time
—
Last signed tree head
UTC

What HISTOR is for

Tool descriptions are instructions. They should not change behind your back.

The problem

A server can change what your model reads

When you connect an MCP server, its tool descriptions go straight to the model as instructions. A server can pass your review with harmless descriptions and change them next week — one added sentence is all a prompt injection needs, and most clients never ask you again.

What HISTOR does

It keeps the public record

Every six hours (every 30 minutes for a week once its tools have changed twice) HISTOR reads what each remote (streamable-HTTP) endpoint in the official MCP registry advertises, fingerprints it, signs what it saw and appends it to a log that can only grow. When a server's definitions change, the change gets a date and a diff.

What you get

A second pair of eyes you can check

Look up any server before you trust it. Paste what your client received and learn whether everyone else sees the same thing. Follow changes in a feed, or put a badge in your README. Every answer is signed, so you can verify it instead of believing it.

Who it is for

People who use MCP serversin Claude, Cursor or any client — check a server before you connect it, and again when it changes.
Agent builderswhose agents connect to servers on their own — call /check before trusting a tool set.
Registries and directoriesthat want more than stars and download counts — show when a listing's tools last changed.
Server authorswho want to show a stable, documented history — add the badge, and every change you ship is dated in public.

Four words used on this page

Tool definitions
The name, description and input schema of each tool a server offers — the text your model reads.
Pinned
HISTOR has recorded a fingerprint (digest) of the exact definitions it saw, so any later change is detectable.
Label
One signed statement about one observation: what was seen, what matched, whether it changed. Anyone can verify it offline.
Signed tree head
The log's signed summary after each crawl. Comparing two of them proves nothing was deleted or rewritten in between.

Read → digest → label → append → sign → compare

How the log works

Six steps, every one of them checkable by someone who does not trust HISTOR. The only thing you have to take on faith is that the observation happened when the label says it did — and the log makes it impossible to change that story afterwards.

01

Read

Remote endpoints in the official MCP registry: initialize, then tools/list, drained across every page; no tool is called, and private addresses are refused before the connection opens. npm and PyPI packages: installed and started in the sandbox described below, with no route out.

02

Digest

The tool set is reduced to name, description, input and output schema, sorted by UTF-16 code units and hashed over its RFC 8785 canonical form. Anyone holding the same tools gets the same digest — which is what makes a comparison possible.

03

Label

Four MTL/1 methods, one signed AWR/2 document each: what was observed, what the WARDEN pattern set matched, whether the definitions changed since the last label, and whether the name is on a threat list. No score, ever.

04

Append

Every label becomes a leaf of an RFC 9162 Merkle tree: leaf hash = SHA-256(0x00 ‖ JCS(label)). The label you download is the leaf input, so you can recompute its hash yourself.

05

Sign

After each crawl HISTOR signs a tree head: the size and the root. Keep yesterday's head; ask for a consistency proof to today's; if anything was removed or rewritten, the proof fails.

06

Compare

Each day a continuity label compares the new digest with the last one. Equal: "unchanged since". Different: a change, with the date and a per-tool diff. A client that checks what it received adds the view no crawler has.

Where an npm or PyPI package is run

Test conditions

A package observation is true for these conditions, and no others. Every package page names the exact image it ran in and any configuration it was given.

System

Linux x86_64, inside gVisor (runsc): the package talks to a kernel written for sandboxing, not to the host's. An unprivileged user, no capabilities, a read-only root.

Runtimes

npm packages in histor-node:22, PyPI packages in histor-python:3.12: the official node:22-bookworm-slim and python:3.12-slim images plus bash, git, Python 3 or Node 22 and a Java 21 runtime — never Docker — built when a sandbox host is installed. A package whose Requires-Python excludes 3.12 runs on histor-python:3.13 or 3.14; one that requires a newer Node runs again on histor-node:24. The exact image a package ran in is on its page.

Install

npm with --ignore-scripts, then the install scripts in a traced stage of their own. PyPI: wheels only — a package that ships only source is reported, never built.

Network

No route out. Every name the package looks up resolves to HISTOR's own traps, which record what was sent and forward nothing. A server that needs the internet to start shows that here.

Secrets

None are real. Decoy credentials sit in HOME and a decoy .env in the working directory. A variable the package says it needs gets a placeholder; where the placeholder was sent is recorded.

Limits

512 MB of memory, one CPU, 64 MB of /tmp. 360 s to install, 150 s to start and answer; up to 15 tools called once each with canary arguments, 8 s per call.

Configuration

Only names: required variables its registry entry declares or that it printed when it exited, and a start argument such as serve when its usage text offers one. Never a value from anyone else.

What a label does not say

The profile HISTOR implements forbids the words safe, secure, audited, certified, approved and trusted. Here is why, in the terms of what the log can and cannot show.

Not a safety rating

A pattern match is a reason to read a definition, not a finding. Three of the four methods can never return fail. There is no score to rank by, because no score HISTOR could compute would mean what a reader takes it to mean.

Not the code

Labels are about advertised text. A remote endpoint's source is never read and its tools are never invoked; a package runs only in the sandbox, against nothing real. A server can keep identical definitions and behave differently for real users; the log cannot see that, and says so inside every label.

A change is not an accusation

A version bump changes definitions too. A change is shown as a date and a diff, in amber, never red. What you do with it is yours: re-read, re-approve, or pin the old digest.

A package as run here, not on your machine

An npm or PyPI server is observed under the test conditions above: Linux, no internet, placeholder keys. One that needs Windows, a real account or the network may show fewer tools or none; its page says why it exited.

One operator, one key

Today one party runs the log. A second observer on another network is the next step, and any AIMarket hub can run one. Until then, what the key proves is who said it — not that it is true.

Behind a login, unseen

Endpoints that require authentication answer 401 to everyone without a key, including HISTOR. They are counted and listed as not observed, never dropped from the numbers.

Other logs, the same servers

Outside checks

HISTOR is not the only public record of MCP tool definitions. Where another log publishes its reads, the two are compared on the same servers and days, and the result is published both ways, with HISTOR's own misses.

ScraperWatch

A daily diff of a fixed panel of about 3,000 remote endpoints. HISTOR compares each of their published days with its own reads, and ScraperWatch shows the result on its page under "Outside check". The first comparison found a robots.txt parsing limit on their side and a handshake regression on HISTOR's; both were fixed the same day.

scraperwatch.com/mcp-changes
/datasets/peers/scraperwatch/latest

heldfast

An open daily record of the tool definitions of the servers in the official MCP registry. Of the 23,190 servers both logs recorded on 26 October 2026, 21,215 had every field in both; on those, 97.9% of servers and 99.1% of tools were identical byte for byte, and each difference has a stated cause: package versions, read times, failed reads, a first page only, an older protocol.

github.com/rufat325/heldfast
/datasets/interop-digests-2026-10-31

For clients, registries and server authors

Use it

Before your agent trusts a server, send the tools it received. The answer is signed by the log's did:key and names the tree head it was given under.

curl -sS https://histor.modelmarket.dev/api/v1/check \
  -H 'Content-Type: application/json' \
  -d '{"endpoint":"https://example.com/mcp","tools":[ …tools/list result… ],"contribute":true}'
# -> {"type":"histor.check/v1","match":"same"|"different"|"previously-observed"|"same-other-revision"|…,
#     "observed":{"unchangedSince":"…","changes":0}, "patternScan":{…}, "signature":{…}}

# Only looking a server up: a GET with its endpoint (writes nothing)
curl -sS "https://histor.modelmarket.dev/api/v1/check?endpoint=https://example.com/mcp"

# README badge for your server
[![MCP tool defs](https://histor.modelmarket.dev/badge/<id>.svg)](https://histor.modelmarket.dev/s/<id>)

# Atom feed of every observed change
https://histor.modelmarket.dev/feed.xml
WARDENchecks definitions at connect
HISTORremembers what was advertised
THEMISadmits at publish
Hublists histor.check@v1
AWRthe signed format

Questions

Is this a marketplace listing?

No. The server list is the log's index: every remote endpoint in the official MCP registry, with what HISTOR could observe about it. Nothing here is for sale and nothing is ranked by quality.

Does HISTOR tell me a server is safe?

No, and it never will. It tells you what a server advertised, whether that changed, and which published patterns matched the text. Whether to trust the server is your decision — HISTOR makes sure you decide on the same facts as everyone else.

Why are so many servers "not observed"?

Most remote MCP endpoints require a login (they answer 401 to anyone without a key), some use the legacy SSE transport or need per-user values in the URL, and some are simply down. They stay on the list with the reason, so the numbers never hide them.

How do I check a server I already use?

Open the Check tab, paste the server's endpoint and the tools/list result your client received, and press Check. You get back, signed, whether HISTOR observed the same definitions — or different ones, or an older set.

What does HISTOR record when a tool definition changes?

HISTOR records tool names, descriptions and input schemas from tools/list, plus any output schemas the server returns. Each change compares the newly observed list with the previous list from the same server. A full diff shows tools added or removed, word-level edits to descriptions, and old and new schema values at the JSON paths that changed. If either observation has only names, the diff is limited to names. HISTOR tracks annotations such as readOnlyHint separately when it captures them.

Browse observed changes · Example diff (JSON) · Original question on DEV

How do I get a badge for my server?

Find your endpoint on the Servers tab, open it, and copy the Markdown snippet under the facts. The badge shows the date your definitions were pinned or last changed, and links to the full history.

Why should I trust HISTOR itself?

You do not have to. Every label and every tree head is signed with one published key; the Log tab proves in your browser that the log only grew; and the command-line auditor does the same from any machine. What remains is that one operator runs it today — a second, independent observer is the next step.

What does it cost?

Looking things up, the badges, the feed and /check are free. HISTOR also offers histor.check@v1 to the AIMarket Hub, so agents can reach it through the market.

I run an MCP server. What does HISTOR send it, and how do I opt out?

Every 6 hours, and every 30 minutes for a week once its tools have changed twice in a week. First it reads /robots.txt (RFC 9309, product token histor, about once a day per site): a path that file does not allow HISTOR is not read, and its page here says so. Otherwise server/discover and tools/list (MCP 2026-07-28), or, for a server without that, initialize, notifications/initialized and tools/list — never a tool call, never a redirect followed on the MCP path, at most two connections per host, from a User-Agent that starts with histor/. To keep HISTOR out, disallow your MCP path for User-agent: histor (or for all crawlers); to let HISTOR alone in, add User-agent: histor with an Allow line for that path. An issue on the histor repository with your endpoint or host also works: it is then listed as not observed (operator-opt-out), with the reason, rather than silently dropped. Labels already in the log stay: the log only grows.