Skip to main content
Glama

TwinCat-MCP β€” Documentation

Deploy docs Docs License

Source for the public user documentation of TwinCat-MCP β€” an MCP server for TwinCAT 3 PLC development that lets AI coding agents (Claude Code, GitHub Copilot CLI, Cursor) build, configure, deploy, and debug TwinCAT PLC projects through a standard tool interface.

πŸ“– Live site: docs.twincatmcp.qubernetic.com

Built with MkDocs Material. This repository holds the documentation content only; the product itself lives in a separate private repository.

Local development

Requires Python 3.x. Use a virtual environment to match the pinned build:

python -m venv .venv
source .venv/bin/activate          # Windows: .venv\Scripts\activate
pip install -r requirements.txt

mkdocs serve                       # live preview at http://127.0.0.1:8000
mkdocs build --strict              # production build (must pass β€” CI gate)

The social-card plugin needs the Cairo graphics libraries. On Debian/Ubuntu: sudo apt-get install libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev

Related MCP server: TwinCAT Validator MCP Server

Repository layout

mkdocs.yml                     # site config: theme, nav, plugins, brand
requirements.txt               # pinned mkdocs-material + plugins
docs/
β”œβ”€β”€ index.md                   # landing / showcase
β”œβ”€β”€ CNAME                      # custom domain (docs.twincatmcp.qubernetic.com)
β”œβ”€β”€ assets/                    # logo (light/dark), favicon
β”œβ”€β”€ stylesheets/extra.css      # brand accent + dark-mode logo swap
β”œβ”€β”€ getting-started/           # installation, agent connection, configuration
β”œβ”€β”€ licensing/                 # user-facing licensing how-to
β”œβ”€β”€ tools/overview.md          # tools overview
└── changelog.md               # public changelog
.github/workflows/deploy-docs.yml   # build + deploy to GitHub Pages
SECURITY.md Β· CODE_OF_CONDUCT.md Β· LICENSE

How it deploys

Every push to main runs the deploy workflow: it builds the site with mkdocs gh-deploy --force (strict mode) and publishes to the gh-pages branch, which GitHub Pages serves at the custom domain. The docs/CNAME file preserves docs.twincatmcp.qubernetic.com across deploys.

Contributing

  • Branching: Gitflow β€” work on feature/*, PR into develop; main is the published site.

  • Commits: Conventional Commits (docs:, feat:, fix:, chore:, …).

  • Keep mkdocs build --strict green β€” broken links and nav fail the build (and the deploy).

⚠️ This is a public repository

Only curated, user-facing content belongs here. Never add:

  • how licensing is enforced under the hood (token issuance/validation, machine binding, replay protection);

  • TwinCAT Automation-Interface implementation details or internal type names;

  • internal source, samples, or planning documents;

  • the name of any prior employer or third party.

When in doubt, leave it out β€” this content is world-readable.

License

Β© 2026 Csaba BirΓ³ (Qubernetic). All rights reserved. See LICENSE. Documentation is published for use with the TwinCat-MCP product; redistribution or derivative works require permission.


A Qubernetic product β€” we build the future.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      An MCP server for validating, auto-fixing, and scaffolding TwinCAT 3 XML files using deterministic code quality tools and IEC 61131-3 OOP checks. It enables AI assistants to perform structural validation, apply safe fixes, and generate canonical code skeletons for industrial automation projects.
      16
      40
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      MCP server that connects AI assistants to Siemens TIA Portal via the Openness API. AI-assisted PLC programming, project management, hardware configuration, cross-reference analysis, and deployment. 19 tools, 230 actions.
      60
      -