{"id":31565,"date":"2026-05-22T18:26:36","date_gmt":"2026-05-22T12:56:36","guid":{"rendered":"https:\/\/qa.uichemy.com\/?post_type=documents&#038;p=31565"},"modified":"2026-05-28T16:56:28","modified_gmt":"2026-05-28T11:26:28","slug":"uichemy-mcp-troubleshooting-guide","status":"publish","type":"documents","link":"https:\/\/qa.uichemy.com\/hi\/docs\/uichemy-mcp-troubleshooting-guide\/","title":{"rendered":"UiChemy MCP: Troubleshooting Guide"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting: MCP Server Disconnected<\/h2>\n\n\n\n<h2 class=\"wp-block-heading\">The Problem<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After saving your Claude Desktop config file correctly, you may still see one or both of<br>These errors in the Claude Desktop Developer settings:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-nxt-global-color-2-color has-text-color has-link-color wp-elements-1\">MCP demo-wordpress-uichemy-mcp: Server disconnected<\/li>\n\n\n\n<li class=\"has-nxt-global-color-2-color has-text-color has-link-color wp-elements-2\">MCP uichemy-api-mcp: Server disconnected<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><br>This is almost always caused by a missing or outdated Node.js installation on your<br>machine. Claude Desktop requires NodeJS &amp; NPX to connect to remote MCP Servers.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Root Cause<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Node.js is not installed<\/li>\n\n\n\n<li>Node.js is installed but running an outdated version<\/li>\n\n\n\n<li>NVM (Node Version Manager) is not installed<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How to Fix It<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1 \u2014 Install Node.js<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Visit the official Node.js website and download the installer for your operating system:<br>Download Node.js: <a href=\"https:\/\/nodejs.org\/en\/download\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/nodejs.org\/en\/download<\/a><br>Available for: Windows, macOS, and Linux<br>Run the installer and follow the on-screen steps. Once complete, restart the Claude Desktop.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you are still having issues, move on to Step 2.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2 (Optional) \u2014 Install NVM (Node Version Manager) <\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Note: This is only needed if you are still seeing connection errors after completing Step 1 and Step 4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">NVM lets you manage and switch between Node.js versions easily. Even if Node.js is<br>already installed, NVM ensures you are running the correct version required by the<br>MCP Server.<br><br>For Windows:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to the NVM for Windows releases page:<br><a href=\"https:\/\/github.com\/coreybutler\/nvm-windows\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/github.com\/coreybutler\/nvm-windows<\/a><\/li>\n\n\n\n<li>Click Download Now, scroll down to Assets, and download nvm-setup.exe<\/li>\n\n\n\n<li>Run nvm-setup.exe and complete the installation.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For macOS \/ Linux:<br>Run this command in your terminal:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -o- https:\/\/raw.githubusercontent.com\/nvm-sh\/nvm\/v0.40.4\/install.sh | bash<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> If you see &#8220;Profile not found&#8221; after running the above command, it means NVM could not automatically configure your shell. Run these two lines manually to load NVM in your current session:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>export NVM_DIR=\"$HOME\/.nvm\"\n&#91; -s \"$NVM_DIR\/nvm.sh\" ] &amp;&amp; \\. \"$NVM_DIR\/nvm.sh\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To make it permanent, run <code>echo $SHELL<\/code> first to check your shell, then use the matching command:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>For zsh<\/strong> (<code>\/bin\/zsh<\/code>):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo 'export NVM_DIR=\"$HOME\/.nvm\"' &gt;&gt; ~\/.zshrc &amp;&amp; echo '&#91; -s \"$NVM_DIR\/nvm.sh\" ] &amp;&amp; \\. \"$NVM_DIR\/nvm.sh\"' &gt;&gt; ~\/.zshrc &amp;&amp; source ~\/.zshrc<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>For bash<\/strong> (<code>\/bin\/bash<\/code>):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo 'export NVM_DIR=\"$HOME\/.nvm\"' &gt;&gt; ~\/.bashrc &amp;&amp; echo '&#91; -s \"$NVM_DIR\/nvm.sh\" ] &amp;&amp; \\. \"$NVM_DIR\/nvm.sh\"' &gt;&gt; ~\/.bashrc &amp;&amp; source ~\/.bashrc<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3 \u2014 Install and Use the LTS Version of Node.js <\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If Node.js is already installed on your system but the MCP servers are still not<br>connecting, it is likely running an outdated version. Run these two commands in your<br>terminal to switch to the LTS version:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nvm install 24\nnvm use 24<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4 \u2014 Restart Claude Desktop<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Fully quit Claude Desktop \u2014 not just close the window, actually quit the application.<br>Reopen it and wait for it to fully load.<br>Your MCP servers should now connect successfully. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You will see both listed under Connectors:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>WordPress MCP (your site)<\/li>\n\n\n\n<li>UiChemy API MCP<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Use UiChemy MCP with HTTP Basic Authentication<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If your WordPress website is protected with HTTP Basic Authentication (Basic Auth), you can still connect to UiChemy MCP without any issues.<br>This setup is commonly used for staging sites or protected production environments.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What is HTTP Basic Authentication?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">HTTP Basic Authentication adds a username and password layer to your website before users can access it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To allow UiChemy MCP to connect properly, you need to pass the Basic Auth credentials through the Claude Desktop MCP configuration.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Generate the Basic Auth Header<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">First, generate your Authorization header using your Basic Auth username and password.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can use any online Basic Auth Header Generator tool.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example Output<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Authorization: Basic YWJjZDpwdWVz<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This generated header will be added to your MCP configuration in the next step.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Open Claude Desktop MCP Configuration<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Open the following file in Claude Desktop:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>claude_desktop_config.json<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now, locate your UiChemy MCP configuration.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Add the Authorization Header<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Add the generated Basic Auth header inside the args section using &#8211;header.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example Configuration<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\"uichemy-wordpress-uichemy-mcp\": {\n\n\u00a0\"command\": \"npx\",\n\n\u00a0\"args\": &#91;\n\n\u00a0\u00a0\u00a0\"-y\",\n\n\u00a0\u00a0\u00a0\"mcp-remote\",\n\n\u00a0\u00a0\u00a0\"https:\/\/your-site.com\/wp-json\/uichemy\/v1\/mcp\",\n\n\u00a0\u00a0\u00a0\"--header\",\n\n\u00a0\u00a0\u00a0\"UiChemy-Security-Token: YOUR-SECURITY-TOKEN\",\n\n\u00a0\u00a0\u00a0\"--header\",\n\n\u00a0\u00a0\u00a0\"Authorization: Basic YWJjZDpwdWVz\"\n\n\u00a0]\n\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Save and Restart Claude Desktop<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">After updating the configuration:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Save the claude_desktop_config.json file<\/li>\n\n\n\n<li>Restart Claude Desktop<\/li>\n\n\n\n<li>Reconnect your UiChemy MCP server<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><em>Note: Make sure your Basic Auth username, password, security token, and site URL are correct. Keep your Authorization header private, and if the connection fails, regenerate the header and verify all credentials before reconnecting to the MCP server.\u00a0<\/em><\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Quick Summary<\/h2>\n\n\n\n<figure class=\"wp-block-table aligncenter\"><table class=\"has-fixed-layout\"><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Step<\/strong><\/td><td><strong>Action<\/strong><\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">1<\/td><td>Download and install Node.js from nodejs.org\/en\/download<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">2 (Optional)<\/td><td>Download and install NVM \u2014 nvm-setup.exe (Windows) or<br>via terminal (Mac\/Linux)<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">3 <\/td><td>Run: nvm install lts then nvm use lts<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">4<\/td><td>Fully quit and reopen Claude Desktop<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"author":8,"featured_media":0,"parent":0,"template":"","format":"standard","docs":[14,15],"class_list":["post-31565","documents","type-documents","status-publish","format-standard","hentry","docs-troubleshooting","docs-troubleshooting-docs"],"acf":[],"_links":{"self":[{"href":"https:\/\/qa.uichemy.com\/hi\/wp-json\/wp\/v2\/documents\/31565","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qa.uichemy.com\/hi\/wp-json\/wp\/v2\/documents"}],"about":[{"href":"https:\/\/qa.uichemy.com\/hi\/wp-json\/wp\/v2\/types\/documents"}],"author":[{"embeddable":true,"href":"https:\/\/qa.uichemy.com\/hi\/wp-json\/wp\/v2\/users\/8"}],"version-history":[{"count":0,"href":"https:\/\/qa.uichemy.com\/hi\/wp-json\/wp\/v2\/documents\/31565\/revisions"}],"wp:attachment":[{"href":"https:\/\/qa.uichemy.com\/hi\/wp-json\/wp\/v2\/media?parent=31565"}],"wp:term":[{"taxonomy":"docs","embeddable":true,"href":"https:\/\/qa.uichemy.com\/hi\/wp-json\/wp\/v2\/docs?post=31565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}