{"id":6038,"date":"2025-04-14T10:28:30","date_gmt":"2025-04-14T09:28:30","guid":{"rendered":"https:\/\/www.nextfem.it\/it\/?page_id=6038"},"modified":"2025-12-18T09:13:16","modified_gmt":"2025-12-18T08:13:16","slug":"mcp-server-for-ai","status":"publish","type":"page","link":"https:\/\/www.nextfem.it\/it\/mcp-server-for-ai\/","title":{"rendered":"MCP server for AI"},"content":{"rendered":"<table style=\"width: 100%; border: none; border-collapse: collapse; border-radius: 15px; background-color: #f0cc9e;\" border=\"medium\">\n<tbody>\n<tr>\n<td style=\"width: 30%; border: none;\" rowspan=\"2\"><img decoding=\"async\" class=\"aligncenter wp-image-6256\" src=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/NFmcpServer.png\" alt=\"\" width=\"141\" height=\"141\" srcset=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/NFmcpServer.png 240w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/NFmcpServer-150x150.png 150w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/NFmcpServer-24x24.png 24w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/NFmcpServer-48x48.png 48w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/NFmcpServer-96x96.png 96w\" sizes=\"(max-width: 141px) 100vw, 141px\" \/><\/td>\n<td style=\"width: 70%; border: none;\">\n<h2>NextFEM MCP server for AI<\/h2>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 70%; border: none;\">\n<h5>Perform operations in NextFEM Designer VIA AI chat<\/h5>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>This guide will show you how to use the local NextFEM MCP server for:<\/p>\n<ul style=\"list-style-type: square;\">\n<li><a href=\"https:\/\/www.anthropic.com\/claude\" target=\"_blank\" rel=\"noopener\"><strong>Anthropic Claude<\/strong><\/a> AI<\/li>\n<li>GitHub Copilot AI in <a href=\"https:\/\/code.visualstudio.com\/\" target=\"_blank\" rel=\"noopener\"><strong>Visual Studio Code<\/strong><\/a><\/li>\n<li>GitHub Copilot AI in <a href=\"https:\/\/visualstudio.microsoft.com\/vs\/\" target=\"_blank\" rel=\"noopener\"><strong>Visual Studio 2022<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/lmstudio.ai\/\" target=\"_blank\" rel=\"noopener\"><strong>LM studio<\/strong><\/a> (version &gt;= 0.3.17)<\/li>\n<li><a href=\"https:\/\/chatgpt.com\/features\/desktop\/\" target=\"_blank\" rel=\"noopener\"><strong>OpenAI ChatGTP Desktop<\/strong><\/a> (coming soon)<\/li>\n<\/ul>\n<p>MCP server is a simple interface that allows you to connect your local NextFEM Designer installation to your favorite AI provider. You don&#8217;t need to have a paid plan of Claude or GitHub copilot, this server is working with the free version of both providers, as long with the free version of NextFEM Designer.<\/p>\n<p><em><strong>Version 1.0.0.2 &#8211; Release date: 17 December 2025<br \/>\nVersion 1.0.0.1 &#8211; Release date: 20 October 2025<br \/>\nVersion 1.0.0.0 &#8211; Release date: 08 October 2025<\/strong><\/em><\/p>\n<h4>Prerequisite<\/h4>\n<p>NextFEM Designer is supposed to be already installed on your system. Be sure to activate the REST server at startup of the program, by activating the option depicted below.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-6039\" src=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/enable_REST_startup.jpg\" alt=\"\" width=\"741\" height=\"726\" srcset=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/enable_REST_startup.jpg 867w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/enable_REST_startup-300x294.jpg 300w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/enable_REST_startup-768x753.jpg 768w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/enable_REST_startup-600x588.jpg 600w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/enable_REST_startup-24x24.jpg 24w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/enable_REST_startup-48x48.jpg 48w\" sizes=\"(max-width: 741px) 100vw, 741px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h4>Installation in Claude Desktop (Windows)<\/h4>\n<p>Install <a href=\"https:\/\/claude.ai\/download\" target=\"_blank\" rel=\"noopener\"><strong>Claude Desktop for WIndows.<\/strong><\/a><\/p>\n<p>MCP server consists in an executable exposing the tools to be connected with AI. This is supplied by our MCPserver.<\/p>\n<p>1. Download the <a href=\"https:\/\/www.nextfem.it\/patches\/NextFEMmcpServer.zip\"><strong>NextFEM MCP server executable from here<\/strong><\/a>. Then decompress the .exe to a known and reachable folder;<\/p>\n<p>2.Configure Claude Desktop to load MCP server at startup. Open folder:<\/p>\n<p><code>%appdata%\\Claude<\/code><\/p>\n<p>and double-click <em>claude_desktop_config.json<\/em> to edit it.<\/p>\n<p>If it is not existing, please do not create it by hand, but, from inside Claude Desktop, select <em>File \/ Settings \/ Developers \/ Change configuration<\/em> button.<\/p>\n<p>Then change the content of the file to:<\/p>\n<div>\n<pre>{\r\n\u00a0 \u00a0 \"mcpServers\": {\r\n\u00a0 \u00a0 \u00a0 \u00a0 \"NextFEM\": {\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \"command\": \"C:\\\\myPath\\\\NextFEMmcpServer.exe\",\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \"args\": []\r\n\u00a0 \u00a0 \u00a0 \u00a0 }\r\n\u00a0 \u00a0 }\r\n}<\/pre>\n<\/div>\n<p>Remember to change <em>myPath<\/em> with the MCP server path.<\/p>\n<p>3. That&#8217;s all. Restart NextFEM Designer and Claude Desktop. You&#8217;ll see a hammer with the number of NextFEM Designer tools available in Claude.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-6044\" src=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/tools_claude.jpg\" alt=\"\" width=\"716\" height=\"77\" srcset=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/tools_claude.jpg 716w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/tools_claude-300x32.jpg 300w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/tools_claude-600x65.jpg 600w\" sizes=\"(max-width: 716px) 100vw, 716px\" \/><\/p>\n<h4>See it in action<\/h4>\n<p><iframe title=\"NextFEM Designer with MCP server for Claude AI\" width=\"800\" height=\"450\" src=\"https:\/\/www.youtube.com\/embed\/83A3OwJeTPY?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><\/p>\n<h4>Installation in GitHub Copilot for Visual Studio Code (Windows)<\/h4>\n<p>1. Download the <a href=\"https:\/\/www.nextfem.it\/patches\/NextFEMmcpServer.zip\"><strong>NextFEM MCP server executable from here<\/strong><\/a>. Then decompress the .exe to a known and reachable folder;<\/p>\n<p>2.Configure Visual Studio Code to load MCP server at startup. Edit file:<\/p>\n<p><code><strong>%appdata%\\Code\\User\\mcp.json<\/strong><\/code><\/p>\n<p>with the following lines:<\/p>\n<div>\n<pre>{\r\n\t\"servers\": {\r\n\t\t\"NextFEM\": {\r\n\t\t\t\"type\": \"stdio\",\r\n\t\t\t\"command\": \"C:\\\\myPath\\\\NextFEMmcpServer.exe\",\r\n\t\t\t\"args\": []\r\n\t\t}\r\n\t},\r\n\t\"inputs\": []\r\n}<\/pre>\n<\/div>\n<div>Remember to change <em>myPath<\/em> with the MCP server path.<\/div>\n<div><\/div>\n<div>3. In Visual Studio Code, press F1 and then type <em>MCP<\/em><\/div>\n<div><\/div>\n<div><em><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6250\" src=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/github1.png\" alt=\"\" width=\"609\" height=\"266\" srcset=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/github1.png 609w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/github1-300x131.png 300w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/github1-600x262.png 600w\" sizes=\"(max-width: 609px) 100vw, 609px\" \/><\/em><\/div>\n<div><\/div>\n<div>then select <strong>MCP: List Servers<\/strong>. Then click on the <em>NextFEM<\/em> line and finally on <em>Start server<\/em>.<\/div>\n<div><\/div>\n<div>You&#8217;re done. Start using Copilot as usual; click on the toolbox in the bottom right corner to check that NextFEM MCP tools are active.<\/div>\n<div><\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-6251\" src=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/copilot2.png\" alt=\"\" width=\"848\" height=\"424\" srcset=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/copilot2.png 1028w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/copilot2-300x150.png 300w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/copilot2-1024x512.png 1024w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/copilot2-768x384.png 768w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/copilot2-600x300.png 600w\" sizes=\"(max-width: 848px) 100vw, 848px\" \/><\/div>\n<p>&nbsp;<\/p>\n<h4>Installation in GitHub Copilot for Visual Studio 2022 (Windows)<\/h4>\n<p>1. Download the <a href=\"https:\/\/www.nextfem.it\/patches\/NextFEMmcpServer.zip\"><strong>NextFEM MCP server executable from here<\/strong><\/a>. Then decompress the .exe to a known and reachable folder;<\/p>\n<p>2. Configure Visual Studio 2022 by adding the MCP server from the tools icon in the Copilot chat.<\/p>\n<p>3. After the addition, enable the NextFEM tools.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6273\" src=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/VS_mcp.png\" alt=\"\" width=\"464\" height=\"361\" srcset=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/VS_mcp.png 464w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/VS_mcp-300x233.png 300w\" sizes=\"(max-width: 464px) 100vw, 464px\" \/><\/p>\n<h4>Installation in LM Studio (Windows)<\/h4>\n<p>1.\u00a0Download the <a href=\"https:\/\/www.nextfem.it\/patches\/NextFEMmcpServer.zip\"><strong>NextFEM MCP server executable from here<\/strong><\/a>. Then decompress the .exe to a known and reachable folder;<\/p>\n<p>2. Configure LM Studio to use the MCP server together with the LLM you&#8217;re using. On chat window, click on button &#8220;Program&#8221; on the right sidebar; then click on &#8220;Edit mcp.json&#8221;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6264\" src=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/lmstudio.png\" alt=\"\" width=\"315\" height=\"257\" srcset=\"https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/lmstudio.png 315w, https:\/\/www.nextfem.it\/it\/wp-content\/uploads\/lmstudio-300x245.png 300w\" sizes=\"(max-width: 315px) 100vw, 315px\" \/><\/p>\n<p>Put in the JSON file the following lines:<\/p>\n<pre>{\r\n  \"mcpServers\": {\r\n    \"NextFEM\": {\r\n      \"command\": \"C:\\\\myPath\\\\NextFEMmcpServer.exe\"\r\n    }\r\n  }\r\n}\r\n<\/pre>\n<p>Remember to change <em>myPath<\/em> with the MCP server path. Finally, enable the tool appeared on the right sidebar (&#8220;mcp\/next-fem&#8221;).<\/p>\n<h4>Notes<\/h4>\n<ul style=\"list-style-type: square;\">\n<li>Use clear and circumstanced prompts &#8211; e.g. always refer at least once to NextFEM Designer in order to force the AI to use MCP tools<\/li>\n<li>Be aware that only a few selected commands in NextFEM API are available as a tool. Avoid to make requests not covered by the commands.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>NextFEM MCP server for AI Perform operations in NextFEM Designer VIA AI chat This guide will show you how to use the local NextFEM MCP server for: Anthropic Claude AI &#8230;<\/p>\n","protected":false},"author":136,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-6038","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.nextfem.it\/it\/wp-json\/wp\/v2\/pages\/6038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nextfem.it\/it\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.nextfem.it\/it\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.nextfem.it\/it\/wp-json\/wp\/v2\/users\/136"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nextfem.it\/it\/wp-json\/wp\/v2\/comments?post=6038"}],"version-history":[{"count":0,"href":"https:\/\/www.nextfem.it\/it\/wp-json\/wp\/v2\/pages\/6038\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.nextfem.it\/it\/wp-json\/wp\/v2\/media?parent=6038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}