CODESYS MCP Server
CODESYS MCP Server
CODESYS Development System V3用のModel Context Protocolサーバーです。MCPクライアントに対し、厳選されたCODESYSガイダンス、構造化テキストの記述支援、検索可能なローカルPDFドキュメント、および許可リストに基づいた公式CODESYSページのライブ検索機能を提供します。
このサーバーは、HTTP(/mcp)またはstdioを介して動作し、CLIやエージェントとの直接統合が可能です。公式ページは、プロジェクトにコピーされるのではなく、要約および引用されます。主な公式ソースには、CODESYS Online HelpやCODESYS Examplesが含まれます。
ツール
search_codesys_docs: 厳選された、または公式のCODESYSガイダンスを検索します。get_codesys_topic: POU、ファンクションブロック、タイマー、タスク、変数、ライブラリ、デバッグ、構造化テキストなどの既知のトピックを解説します。codesys_writing_guidance: 要求されたタスクに対して、実践的なCODESYSおよび構造化テキストの設計ガイダンスを提供します。list_codesys_pdfs: 設定されたPDFフォルダー内のPDFドキュメントを一覧表示します。search_codesys_pdfs: ローカルのPDFドキュメントから抽出されたテキストを検索します。get_codesys_pdf: 特定のローカルPDFドキュメントから抽出されたテキストを返します。get_codesys_page: 許可リストに含まれるCODESYSドキュメントURLの全文を取得します。crawl_codesys_help: CODESYSヘルプサイトをクロールし、検索可能なドキュメントとしてインデックス化します。
Related MCP server: mql5-help-mcp
機能
概念、構文、ワークフローに関する厳選されたCODESYSガイダンスの検索。
POU、ファンクションブロック、タイマー、タスク、変数、ライブラリ、デバッグ、構造化テキストなどの一般的なCODESYSトピックの解説。
実践的な構造化テキストおよびプロジェクト構造に関するガイダンスの提供。
docs/pdfs/に配置されたローカルPDFマニュアルやメモの検索。許可リストに含まれる公式CODESYSドキュメントページの取得と要約。
公式ヘルプサイトをクロールして検索可能なインデックスを構築。
ユーザー向けインストール手順
ご自身のマシンでサーバーを実行したい場合に使用してください。
前提条件:
Node.js 20以降
npm
新規クローンから:
npm install
cp .env.example .env
npm run buildHTTPサーバーの起動:
npm startまたはstdioサーバーの起動:
npm run start:stdioデフォルトでは、HTTPサーバーはhttp://0.0.0.0:3000/mcpでリッスンします。
LLMまたはエージェント向けインストール手順
AIエージェントですか?
agent.mdを読んでください。そこには、あなた専用に書かれた完全なステップバイステップの自己インストールガイドが含まれています。まずはそこから始めてください。
LLMがMCPクライアントとしてサーバーに接続するように指示されている場合、このセクションを使用してください。
LLMに与える推奨指示:
Read agent.md in the repository root. It contains the exact steps to install this MCP server into yourself.まずプロジェクトをビルドします:
npm install
npm run buildローカルエージェントとの統合にはstdioトランスポートを推奨します。
ローカルビルドの出力を使用して、クライアントにサーバーを追加します:
claude mcp add --transport stdio codesys-docs -- node ./dist/src/cli.js --stdioクライアントがHTTPを必要とする場合は、サーバーを起動してエンドポイントを登録します:
npm startclaude mcp add --transport http codesys-docs http://localhost:3000/mcpエージェントが公開パッケージからのみ動作可能な場合は、以下を使用します:
claude mcp add --transport stdio codesys-docs -- npx -y codesys-mcp-server --stdioCodex CLIの場合:
codex mcp add codesys-docs -- node ./dist/src/cli.js --stdioクイックスタート
npm install
cp .env.example .env
npm run build
npm startサーバーはデフォルトでhttp://0.0.0.0:3000/mcpでリッスンします。
Docker
docker compose up --buildcomposeファイルは./docs/pdfsをコンテナに読み取り専用でマウントするため、イメージを再ビルドすることなくローカルでPDFを追加できます。
PDFフォルダー
CODESYSマニュアル、ベンダーPDF、プロジェクトメモ、データシート、またはエクスポートされたドキュメントを以下に配置してください:
docs/pdfs/MCPサーバーは、そのフォルダー内の.pdfファイルからテキストを抽出し、以下を通じて利用可能にします:
sourceMode: "pdf"またはsourceMode: "all"を指定したsearch_codesys_docslist_codesys_pdfssearch_codesys_pdfsget_codesys_pdf
PDFテキスト抽出は、検索可能なテキストPDFに対して最適です。スキャンされた画像のみのPDFは、OCRが適用されていない限り、コンテンツがほとんどまたは全く返されない可能性があります。抽出されたテキストには、図、スクリーンショット、書式設定、一部の表が含まれない場合があるため、重要なエンジニアリングの詳細は元のPDFと照らし合わせて確認してください。
設定
変数 | デフォルト | 説明 |
|
| HTTPポート。 |
|
| バインドホスト。 |
|
| 公式CODESYSページのライブ検索を有効にします。 |
|
| 公式ページごとの取得タイムアウト。 |
|
| 公式ページのメモリ内キャッシュTTL。 |
|
| ローカルPDFのテキスト抽出/検索を有効にします。 |
|
|
|
|
| PDFごとに保存される抽出テキストの最大文字数。 |
CLIの使用方法
# HTTP server (default)
node dist/src/cli.js
npm start
# Stdio server (for Claude Code / Codex CLI MCP integration)
node dist/src/cli.js --stdio
npm run start:stdio受入チェック
npm test
npm run build
curl http://localhost:3000/healthzThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityFmaintenanceA Model Context Protocol server that enables seamless interaction between MCP clients (like Claude Desktop) and CODESYS V3 programming environments, allowing automation of project management, POU creation, code editing, and compilation tasks.131114MIT
- Flicense-qualityDmaintenanceProvides AI coding assistants with local access to 4500+ MQL5 documentation files and supplementary ebooks via MCP, enabling efficient search, browsing, and error diagnosis for MQL5 development.22
- Flicense-qualityDmaintenanceEnables LLM-powered code analysis, generation, debugging, and context management through MCP integration with IDEs like Cursor and Claude Desktop.
- Alicense-qualityBmaintenanceEnables AI-driven embedded development: generate, build, flash, and debug firmware using natural language commands through MCP.MIT
Related MCP Connectors
Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Zandiexoder/CodeSYS-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server