Project rename. The 'SP21+' identifier is more accurate than the previous 'SP22+' label -- this fork specifically carries the SP21+ migration fixes (the upstream's system.execute_on_primary_thread() removal and downstream API drift), and is forward-compat with later SPs. The repo on GitHub has been renamed to phobicdotno/Codesys-MCP-SP21-plus accordingly. Substitutions (UTF-8 preserved this time -- prior PowerShell pass mangled em-dashes via a Win-1252 round-trip): - package.json: name codesys-mcp-sp22-plus -> codesys-mcp-sp21-plus, bin entry, repository.url, homepage, description, author trailer - README.md: title, banner, install + clone snippets, CLI invocations - ARCHITECTURE.md: comparison-table column header + temp-dir prefix - tests/TEST_OVERVIEW.md: title - src/bin.ts: header comment + program().name() - src/launcher.ts: SESSION_DIR_PREFIX - src/types.ts: header comment Compatibility phrase 'Works on SP19, SP21, and SP22+' and the technical identifier 'SP22 Patch 1 fixes' (which name the actual CODESYS version) were preserved -- those refer to CODESYS, not the project name. README additions: - Quick Start example switched from SP21 Patch 3 to SP22 Patch 1 to match the more common modern install - New 'Multiple CODESYS installations' subsection with worked side-by-side example for SP21 (3.5.21.50) and SP22 (3.5.22.10) -- one named MCP server entry per install, called by name from Claude. Documents the constraint that --codesys-path/--codesys-profile are bound at server startup, that --detect lists installs, and that config edits require a Claude Code restart - Tool count corrected from 28 -> 37 in the Features bullets - New Tools sections covering 10 previously-undocumented tools: Version Anchor + Release Pipeline (bump_project_version, release_project_version, read_running_version_online), Source Mirror (mirror_export), and CODESYS Git PDE-gated (git_init, git_status, git_commit, git_remote_add, git_branch_set_upstream_to, git_push). Each row carries the actual operational gotchas discovered during this session (UNC localRepoPath rejection, push-without-upstream failure, optimizer stripping unreferenced globals from the online symbol table, etc.) - list_project_libraries + add_library row text updated to reflect the post-fix behaviour (compiler-version capture; managed-overload preference + resolution gate) Local origin URL updated: phobicdotno/Codesys-MCP -> phobicdotno/Codesys-MCP-SP21-plus. 37/37 tests green.
52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
|
"name": "codesys-mcp-sp21-plus",
|
|
"version": "0.4.0",
|
|
"description": "Codesys-MCP-SP21+ -- fork of luke-harriman/Codesys-MCP carrying CODESYS V3.5 SP22 Patch 1 fixes (and forward-compat with later SPs): script-engine API drift, online/runtime tool auto-login, dual-SHA release classifier, set_pou_code omitted-decl wipe fix, add_library managed-overload, etc. MCP server for CODESYS with persistent UI instance and file-based IPC.",
|
|
"main": "dist/server.js",
|
|
"bin": {
|
|
"codesys-mcp-sp21-plus": "dist/bin.js"
|
|
},
|
|
"files": [
|
|
"dist/",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc && node -e \"require('fs').cpSync('src/scripts','dist/scripts',{recursive:true})\"",
|
|
"test": "vitest --run",
|
|
"test:watch": "vitest",
|
|
"typecheck": "tsc --noEmit",
|
|
"prepublishOnly": "npm run build && npm test"
|
|
},
|
|
"keywords": [
|
|
"codesys",
|
|
"mcp",
|
|
"plc",
|
|
"automation",
|
|
"persistent",
|
|
"ui"
|
|
],
|
|
"author": "luke-harriman (upstream); phobicdotno (SP21+ fork)",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/phobicdotno/Codesys-MCP-SP21-plus.git"
|
|
},
|
|
"homepage": "https://github.com/phobicdotno/Codesys-MCP-SP21-plus#readme",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"dependencies": {
|
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
"commander": "^11.1.0",
|
|
"uuid": "^9.0.0",
|
|
"zod": "^3.24.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.14.1",
|
|
"@types/uuid": "^9.0.0",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.5.3",
|
|
"vitest": "^1.6.0"
|
|
}
|
|
}
|