Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Org-owned · Audited from source

TwinCAT Validator MCP server

by agenticcontrolio/twincat-validator-mcpMIT licenceAudited 8 Oct 2026 · source edb6504c245a

PyPI twincat-validator-mcpstdio★ 36
!CAUTIONGrade B · 89/100 · 8 Oct 2026 · edb6504
36GitHub stars

Is it safe? With care — CAUTION, grade B (89/100). It exposes 16 tools: 11 read, 5 write and 0 destructive. The audit recorded 3 findings (0 critical, 0 high, 2 medium, 1 low). Maintainer's description: An MCP server that validates, auto-fixes, and scaffolds TwinCAT 3 XML files. Connect it to any LLM client to give your AI assistant reliable, deterministic TwinCAT code quality tooling — structural checks, 21 IEC 61131-3 OOP checks, auto-fix pipelines, and canonical skeleton generation.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “TwinCAT Validator MCP server (agenticcontrolio/twincat-validator-mcp)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/agenticcontrolio/twincat-validator

Trust audit

Audit 0.4.1 · full source read 8 Oct 2026

Trust score89/100!CAUTION B
0 critical0 high2 medium1 low0 info

3 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemNone observedNothing seen in the source
  • NetworkNone observedNothing seen in the source
  • ShellDeclared2 observations
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS
L1 Static sourceSecrets, path traversal, supply chainWARN 3 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner agenticcontrolioOrganizationAccount type recorded when we read the repository.
  • PackagePublished on PyPItwincat-validator-mcp, no version recorded
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push7 months agoActivity of the repository when we read it.
  • Source commit readedb6504c245aThe audit covers exactly this commit, read on 8 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory16 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (3)

Sorted by severity

MEDIUMCode injectioncode.dynamic_import · twincat_validator/fixers/__init__.py:13
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
importlib.import_module(f"{__name__}.{module_name}")
Why
No further detail recorded for this rule.
Fix
—
MEDIUMCode injectioncode.dynamic_import · twincat_validator/validators/__init__.py:13
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
importlib.import_module(f"{__name__}.{module_name}")
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · twincat_validator/_server_helpers.py:383
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
digest = hashlib.md5(seed.encode("utf-8")).hexdigest()
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

16 declared in source · 0 destructive

11 read5 write0 destructive
ToolRiskWhat it does
check_specificwriteRun specific validation checks on a TwinCAT file.
process_twincat_batchwriteRun enforced deterministic batch TwinCAT workflow.
process_twincat_singlewriteRun enforced deterministic single-file TwinCAT workflow.
validate_for_importwriteQuick validation check for TwinCAT import readiness.
verify_determinism_batchwriteRun strict batch orchestration twice and report per-file idempotence stability.
autofix_batchreadAutomatically fix multiple TwinCAT files matching glob patterns.
autofix_filereadAutomatically fix common TwinCAT XML issues.
extract_methods_to_xmlreadPromote inline METHOD blocks from main ST to <Method> XML elements.
generate_skeletonreadGenerate canonical deterministic TwinCAT XML skeleton for a file type.
get_context_packreadGet curated knowledge base entries and OOP policy scoped by workflow stage.
get_effective_oop_policyreadGet effective OOP validation policy for a file or directory target.
get_validation_summaryreadGet high-level file quality summary with health score.
lint_oop_policyreadLint nearest .twincat-validator.json policy keys/types and return normalized policy.
suggest_fixesreadGenerate prioritized fix recommendations from validation results.
validate_batchreadValidate multiple TwinCAT files matching glob patterns.
validate_filereadValidate a single TwinCAT file.

Install

audited commit edb6504

Read the findings first. The most severe is Code injection (medium) at twincat_validator/fixers/__init__.py.

One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit edb6504 only.

claude mcp add twincat-validator-mcp -- uvx twincat-validator-mcp

The command does not pin a version; the audit covers commit edb6504c245a. Transport: stdio. No environment variables required.

Audit history

  1. !CAUTION B 89 / 100

    First audit · edb6504c245a

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/agenticcontrolio/twincat-validator/badge.svg)](https://modelsatlas.com/mcp/agenticcontrolio/twincat-validator/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about TwinCAT Validator MCP server

What is the TwinCAT Validator MCP server?
An MCP server that validates, auto-fixes, and scaffolds TwinCAT 3 XML files. Connect it to any LLM client to give your AI assistant reliable, deterministic TwinCAT code quality tooling — structural checks, 21 IEC 61131-3 OOP checks, auto-fix pipelines, and canonical skeleton generation.
What tools does TwinCAT Validator expose?
16 in total: 11 read-only, 5 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is TwinCAT Validator safe to connect to an agent?
With care. The audit graded it B (89/100) and found 3 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does TwinCAT Validator need?
No credential environment variables were found in its source, so it appears to need none.
How does TwinCAT Validator run?
It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as twincat-validator-mcp.
How current is this page?
The grade is for one exact copy of the source (edb6504c245a), read on 2026-10-08. The repository is watched and re-audited when it changes.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.