{"id":1519,"date":"2025-06-08T08:59:49","date_gmt":"2025-06-08T06:59:49","guid":{"rendered":"https:\/\/www.rocworks.at\/wordpress\/?p=1519"},"modified":"2025-06-19T16:11:09","modified_gmt":"2025-06-19T14:11:09","slug":"%f0%9f%9a%80-mcp-server-for-wincc-unified-powered-by-graphql-and-genai","status":"publish","type":"post","link":"https:\/\/www.rocworks.at\/wordpress\/?p=1519","title":{"rendered":"\ud83d\ude80 MCP Server for WinCC Unified \u2013 Powered by GraphQL and GenAI!"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Just gave myself a little nightly challenge: I implemented an MCP Server for WinCC Unified, based on its GraphQL Server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/github.com\/vogler75\/winccua-mcp-server\">https:\/\/github.com\/vogler75\/winccua-mcp-server<\/a><br><br>Thanks to the GraphQL server&#8217;s built-in documentation and its clearly defined data structures, it was surprisingly straightforward to generate most of the MCP server code \u2014 with the help from Gemini! \ud83d\ude4c<br><br>Super excited about how well this combination works \u2014 the power of Unified, GraphQL, and GenAI all together! \ud83d\udca1<br><br>The prompt for the example in the picture was: &#8220;logon with username1 and password1 and then fetch the values of the Meter Input logging tag of the last 10 minutes and plot it.&#8221;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-06-at-23.57.53.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"591\" src=\"https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-06-at-23.57.53-1024x591.png\" alt=\"\" class=\"wp-image-1520\" srcset=\"https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-06-at-23.57.53-1024x591.png 1024w, https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-06-at-23.57.53-300x173.png 300w, https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-06-at-23.57.53-768x443.png 768w, https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-06-at-23.57.53-1536x887.png 1536w, https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2025\/06\/Screenshot-2025-06-06-at-23.57.53-2048x1182.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div>\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"WinCC Unified MCP Server based on GraphQL\" width=\"584\" height=\"329\" src=\"https:\/\/www.youtube.com\/embed\/LVCm15xzTuI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Next time I asked Claude to forecast my solar PV production to help me decide whether it&#8217;s a good time to run my dryer.<br><br>It&#8217;s fascinating how you can simply ask questions like &#8220;Should I run my dryer now?&#8221; and get intelligent &#8211; really? \ud83e\uddd0 &#8211; responses based on actual and historical production data.<br><br>What I like about that:<br>\u2705 Natural conversation with my process data<br>\u2705 Real-time insights from WinCC Unified data<br>\u2705 AI-powered recommendations &#8230;<br><br>\ud83d\udc40 But can I trust it? No, you do not know how it came to this forecast&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"WinCC Unified MCP Server - asking for a forecast\" width=\"584\" height=\"329\" src=\"https:\/\/www.youtube.com\/embed\/xMfHeeq2hIk?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Just gave myself a little nightly challenge: I implemented an MCP Server for WinCC Unified, based on its GraphQL Server. https:\/\/github.com\/vogler75\/winccua-mcp-server Thanks to the GraphQL server&#8217;s built-in documentation and its clearly defined data structures, it was surprisingly straightforward to generate &hellip; <a href=\"https:\/\/www.rocworks.at\/wordpress\/?p=1519\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32,33],"tags":[81,48,82,64],"class_list":["post-1519","post","type-post","status-publish","format-standard","hentry","category-machine-learning","category-wincc-unified","tag-ai","tag-graphql","tag-mcp","tag-winccunified"],"_links":{"self":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1519","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1519"}],"version-history":[{"count":2,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1519\/revisions"}],"predecessor-version":[{"id":1524,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1519\/revisions\/1524"}],"wp:attachment":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1519"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1519"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}