Atlas / MCP servers / johannespettersson80 / Codesys Toolkit

Codesys ToolkitSAFE

mcp/johannespettersson80/codesys-toolkit

Model Context Protocol server for CODESYS automation platform

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
8 2r · 6w · 0d
Transport
stdio
License
MIT
Stars
124
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

A Model Context Protocol (MCP) server for CODESYS V3 programming environments. This toolkit enables seamless interaction between MCP clients (like Claude Desktop) and CODESYS, allowing automation of project management, POU creation, code editing, and compilation tasks via the CODESYS Scripting Engine.

🌟 Features

  • Project Management
  • Open existing CODESYS projects (open_project)
  • Create new projects from standard templates (create_project)
  • Save project changes (save_project)
  • POU Management
  • Create Programs, Function Blocks, and Functions (create_pou)
  • Set declaration and implementation code (set_pou_code)
  • Create properties for Function Blocks (create_property)
  • Create methods for Function Blocks (create_method)
  • Compile projects (compile_project)
  • MCP Resources
  • codesys://project/status: Check scripting status and currently open project state.
  • codesys://project/{+project_path}/structure: Retrieve the object structure of a specified project.
  • codesys://project/{+project_path}/pou/{+pou_path}/code: Read the declaration and implementation code for a specified POU, Method, or Property accessor.

📋 Prerequisites

  • CODESYS V3: A working CODESYS V3 installation (tested with 3.5 SP21) with the Scripting Engine component enabled during installation.
  • Node.js: Version 18.0.0 or later is recommended.
  • MCP Client: An MCP-enabled application (e.g., Claude Desktop).

(Note: CODESYS uses Python 2.7 internally for its scripting engine, but this toolkit handles the interaction; you do not need to manage Python separately.)

🚀 Installation

The recommended way to install is globally using npm:

npm install -g @codesys/mcp-toolkit
Read from source at commit 3e3574a4c38dOBSERVED · 2026-10-07
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add mcp-toolkit -- npx -y @codesys/[email protected]
claude-desktop
{
  "mcpServers": {
    "mcp-toolkit": {
      "command": "npx",
      "args": [
        "-y",
        "@codesys/[email protected]"
      ]
    }
  }
}
03

Exposed tools (8)

2 read · 6 write · 0 destructive.

ToolRiskDescription
compile_projectread
create_methodwrite
create_pouwrite
create_projectwrite
create_propertywrite
open_projectread
save_projectwrite
set_pou_codewrite
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (2)

LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, axios, commander, yargs, zod, @types/node, @types/yargs, typescript
Why it matters. 8 dependency range(s) float
Fix. pin exact versions or ship a lockfile
INFOPrompt injection · prompt.credential_read · CWE-94, CWE-1427
scriptDoc.txt:1520
open(path, password=None, primary=True, encryption_password=None, session_user=None, session_password=None, update_flags=VersionUpdateFlags.NoUpdates, allow_readonly=False)
Why it matters. asks the agent to read credentials

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha 3e3574a4c38dfull audit observations/trust-audit/mcp-server/johannespettersson80__codesys-toolkit.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-073e3574a4c38dSAFEB89first audit
06

Questions

What is the Codesys Toolkit MCP server?

Model Context Protocol server for CODESYS automation platform

What tools does Codesys Toolkit expose?

8 in total: 2 read-only, 6 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Codesys Toolkit safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Codesys Toolkit need?

No credential environment variables were found in its source, so it appears to need none.

How does Codesys Toolkit run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as @codesys/mcp-toolkit at 1.1.16.

How current is this page?

The grade is for one exact copy of the source (3e3574a4c38d), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement