Why can't my AI app connect to the Cinema 4D MCP server?

Ronald McGlynn
Ronald McGlynn
  • Updated

Problem: You connected an AI app, such as the Claude desktop app or the ChatGPT/Codex desktop app, to Cinema 4D through the built-in MCP server, but the app does not offer any Cinema 4D tools. It may say it cannot reach Cinema 4D, report that its connection was refused, or simply act as if Cinema 4D is not there.

Solution In most cases the AI app was started before Cinema 4D, or it never fully closed and is still running in the background from an earlier session. Quitting the app completely, starting Cinema 4D with the MCP server turned on, and then starting the app again fixes it. If that does not help, the error message in the AI app and the app's status in the Cinema 4D preferences will point you to the cause. If the app connects but the tools still don't appear, check your antivirus or security software. If the settings look correct but the app still can't connect, check Cinema 4D's Python Console for server errors. If you use the Claude desktop app on Windows and Cinema 4D doesn't appear in its list of servers at all, Claude may be reading its settings from a different folder than the one Cinema 4D writes to.

This article walks through the checks in the order we recommend, starting with the most common cause.

Where to find the MCP settings

All the settings mentioned in this article are on one page in the Cinema 4D preferences:

  1. Open Edit > Preferences. On macOS, you can also use Cinema 4D > Preferences.
  2. The Preferences window opens with a list of categories in the column on the left. Click MCP, which is the last item at the bottom of that list.
  3. The MCP page opens on the right. It is split into sections, each with a heading in capital letters: SERVER, CLIENTS, SECURITY, TOOLSET, REMOTE ACCESS and LOGGING.

Click each section below to expand it and see the steps. Work through them in order, starting from the top.

+1. Start Cinema 4D before the AI app

This is the most common reason the Cinema 4D tools don't show up.

The MCP server runs inside Cinema 4D, so it only exists while Cinema 4D is open. When your AI app starts, it waits about 20 seconds for Cinema 4D. If Cinema 4D is not running by then, the app gives up and does not try again on its own. Once a connection has worked, the app does reconnect automatically if you quit and restart Cinema 4D later.

This is easy to miss, because many AI apps start when you log in and keep running in the background after you close their window. The app you think you are opening may have been running for hours.

Follow these steps in this order:

  1. Quit the AI app completely. Closing its window is not enough, because many apps keep running in the background.
    • Windows: right-click the app's icon in the system tray (the bottom right of the taskbar) and choose Quit. Then open Task Manager (Ctrl+Shift+Esc) and end any processes with the app's name, for example Claude, that are still running.
    • macOS: click the app's icon in the menu bar at the top of the screen and choose Quit, or press Cmd+Q while the app is in front. Then open Activity Monitor and quit any processes with the app's name that are still running.
  2. Start Cinema 4D and make sure the MCP server is turned on. The server is off by default after installation. On the MCP page in the preferences, look at the SERVER section and make sure Allow MCP Server is checked. You can also open the Commander (Shift+C), type Start MCP Server and run it.
  3. Start the AI app.
+2. Check the error message in the AI app

Depending on the app, it may show an error message that points to the cause:

  • "cannot reach the Cinema 4D MCP server": Cinema 4D is not running, Allow MCP Server is turned off, or the Port in the SERVER section was changed after the app was set up. If you changed the Port, either change it back, or click Update Selected Client in the CLIENTS section and then restart the app. The MCP server may also have failed to start, even if Allow MCP Server is checked. If the settings look correct, check Cinema 4D's Python Console as described in section 5.
  • "the Cinema 4D MCP server rejected this token (401)": the token was changed with Regenerate Token after the app was set up. Quit the app completely and start it again. If it is still refused, click Update Selected Client in the CLIENTS section, then restart the app again.
+3. Check the app's status in Cinema 4D

On the MCP page, look at the CLIENTS section and click the MCP Client drop-down list. Each AI app shows its status in brackets after its name:

  • (configured): Cinema 4D has set up this app and nothing has changed since.
  • (not set up): Cinema 4D has not set up this app yet.
  • (needs updating): something changed since the app was set up, for example the token was regenerated, or Cinema 4D was updated or reinstalled.
  • (not installed): Cinema 4D cannot find this app on your computer. Install the app and start it once, then try again.

For "not set up" or "needs updating", select the app in the list, click Update Selected Client, then quit the app completely and start it again as described in section 1.

Note: "nothing to change" is fine If Update Selected Client tells you the app "is already configured for this endpoint - nothing to change", the setup is fine, even if the list said "(needs updating)". Some apps read the token directly from Cinema 4D each time they start, so they do not need updating after a token change. Quit the app completely and start it again.

The status is checked when the Preferences window opens. If you just changed a setting, close the Preferences window and open it again to see the current status.

If the Claude app shows (configured), but Cinema 4D doesn't appear in the Claude desktop app on Windows at all, see section 6.

+4. Check your antivirus or security software

If everything above looks fine, but the AI app still does not offer any Cinema 4D tools, or it reports that the server disconnected right after it connects, your security software may be blocking the connection.

Your AI app and Cinema 4D both run on your computer and talk to each other through the local address 127.0.0.1. Some security software checks this local traffic as if it were a website, and can cut off the list of Cinema 4D tools before the AI app receives it. The feature that does this is usually called something like Web Protection, Web Shield, Web Filtering or HTTPS scanning.

To test whether your security software is the cause:

  1. Quit the AI app completely, as described in section 1.
  2. Open your security software, find its web protection feature, and turn it off for a few minutes. Many security apps let you choose how long it stays off, and turn it back on automatically after that.
  3. Make sure Cinema 4D is running with the MCP server turned on, then start the AI app and check whether the Cinema 4D tools appear.

If the tools appear, turn web protection back on and add this address as an exception, so your security software stops checking this one connection:

http://127.0.0.1:5556

The exception settings are usually in the web protection settings, under a name like Exceptions, Exclusions or Allowed websites. Quit the AI app completely and start it again after you add the exception.

Note: Use your own Port number 5556 is the default Port in the SERVER section of the MCP preferences. If you changed the Port, use your number in the exception instead. If you change the Port later, update the exception to match. This exception only covers the connection between your AI app and Cinema 4D on your own computer. Your security software keeps checking all of your other web traffic.
Important: Don't use a wildcard for the Port Add the exception for the exact address, including the Port number, for example http://127.0.0.1:5556. Don't use a wildcard such as http://127.0.0.1/* or http://127.0.0.1:*. A wildcard stops your security software from checking every local connection on your computer, including connections from other programs.

Steps for specific security software

We'll add steps here for other security software as we confirm them.

+Avast
  1. Quit the AI app completely, as described in section 1.
  2. Open Avast and turn off Web Shield:
    • Avast One: go to Explore > Web Shield, click Open Web Shield, click the green ON slider, then click Continue.
    • Avast Antivirus: go to Protection > Core Shields and switch off Web Shield.
  3. When Avast asks how long, choose 10 minutes. Web Shield turns itself back on after that.
  4. Make sure Cinema 4D is running with the MCP server turned on, then start the AI app and check whether the Cinema 4D tools appear.
  5. If the tools appear, turn Web Shield back on and add http://127.0.0.1:5556 as an exception. In most Avast versions, you'll find exceptions under Menu > Settings > General > Exceptions. If you changed the Port in the SERVER section of the MCP preferences, replace 5556 with your number. Don't use a wildcard such as http://127.0.0.1/*.
  6. Quit the AI app completely and start it again.
+5. Check Cinema 4D's Python Console for server errors

If Cinema 4D is running and Allow MCP Server is checked, but your AI app still cannot connect, the MCP server may have run into an error while starting.

Third-party plugins can sometimes load Python libraries that conflict with the ones the MCP server uses. When this happens, the server may fail to start even though Allow MCP Server is still checked. The error output helps Maxon Support find the cause.

To copy the Console output for us:

  1. In Cinema 4D, open Extensions > Console. This is Cinema 4D's own Console, not Windows PowerShell, the macOS Terminal, or a console in your AI app.
  2. In the Console, select the Python entry.
  3. Leave the Console open, go to the MCP page in the preferences, and turn Allow MCP Server off and back on. This makes sure any startup error shows up in the Console.
  4. Click inside the Console text. Press Ctrl+A (Windows) or Cmd+A (macOS) to select everything, then press Ctrl+C or Cmd+C to copy it. You can also right-click in the Console and choose Copy.
  5. Paste the text into a text file, for example in Notepad on Windows or TextEdit on macOS.
  6. Submit a support ticket and attach the text file.

In your ticket, also include your Cinema 4D version, your operating system, the name of your AI app, and a list of the third-party plugins you have installed.

Important: Don't try to fix the libraries yourself You don't need to type or run any Python code. Don't delete or replace any Python libraries to try to fix the error. Send the output to Maxon Support, and we'll help you with the next step. Keep your Auth Token private, and make sure it isn't in the text you send us.
+6. Windows Only: Cinema 4D is missing from the Claude desktop app

This section is for the Claude desktop app on Windows. Newer versions of the Claude desktop app keep their settings in a new folder. On some computers, Cinema 4D still writes its settings to the old folder, so Claude never reads them. This can happen even when the Claude app shows (configured) in the CLIENTS section.

You can skip this section if:

  • You use a Mac.
  • You use Claude Code in a terminal window. It keeps its settings in a different file.
  • You use a different AI app, such as the ChatGPT/Codex desktop app.
  • Cinema 4D already appears in the Claude desktop app. To check, open Claude and go to Settings > Desktop app, then click Manage next to Extensions. If Cinema 4D is listed under Local MCP servers, this section doesn't apply to you.

Check whether your computer is affected

  1. Press Win+R to open the Run window.
  2. Type %LOCALAPPDATA%\Claude-Data and press Enter.
  3. If a folder opens and it contains a folder whose name starts with claude_, for example claude_pzs8sxrjxfjjc, your computer is affected. Follow the steps below. If Windows says it can't find the folder, this section doesn't apply to you.

Copy the Cinema 4D settings to the folder Claude reads

  1. In Cinema 4D, go to the CLIENTS section of the MCP page. Select the Claude app in the MCP Client list and click Update Selected Client. This creates the Cinema 4D settings file in the old folder.
  2. Quit the Claude app completely, as described in section 1.
  3. Press Win+R, type %LOCALAPPDATA%\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude and press Enter. Right-click the file claude_desktop_config.json and choose Copy. If Windows can't find that folder, or the file isn't in it, try %APPDATA%\Claude instead. Cinema 4D writes to that folder when it exists.
  4. Press Win+R again, type %LOCALAPPDATA%\Claude-Data and press Enter. Open the folder whose name starts with claude_.
  5. Check whether this folder already contains a file named claude_desktop_config.json.
    • If it doesn't, right-click an empty area in the folder and choose Paste.
    • If it does, don't replace it, because it can hold other Claude settings. Follow the steps in If the folder already has a claude_desktop_config.json file below.
  6. Make sure Cinema 4D is running with the MCP server turned on, then start the Claude app. Go to Settings > Desktop app, click Manage next to Extensions, and check that Cinema 4D now appears under Local MCP servers.
+If the folder already has a claude_desktop_config.json file

In this case, add the Cinema 4D entry to the existing file instead of replacing it.

  1. Make a backup first: copy the existing claude_desktop_config.json to your desktop.
  2. Open both files in Notepad: the one from the old folder and the one in the claude_ folder. To do this, right-click each file and choose Open with > Notepad.
  3. In the file from the old folder, find the entry that starts with "cinema4d": {. Select everything from that line down to the } just above the last two } lines of the file, then copy it.
  4. In the file in the claude_ folder, look for a line that says "mcpServers": {.
    • If you find it, paste the Cinema 4D entry on a new line directly below it. If other entries follow it, type a comma , after the closing } of the entry you pasted.
    • If you don't find it, click at the end of the first line of the file (the line with only {) and press Enter. On the new line, paste this block:

      "mcpServers": {
      PASTE THE CINEMA 4D ENTRY HERE
      },

      Then select the line PASTE THE CINEMA 4D ENTRY HERE and paste the Cinema 4D entry you copied over it.

  5. Save the file and continue with step 6 above.

When you're done, the file should follow this pattern, where the other entries stay as they were:

{
  "mcpServers": {
    "cinema4d": {
      ...
    }
  },
  "preferences": {
    ...
  }
}

If you'd rather not edit the file yourself, submit a support ticket and attach both files. We'll combine them for you. The Cinema 4D entry doesn't contain your Auth Token, only the location of the file that stores it. If the file in the claude_ folder lists other servers with passwords or API keys, remove those before you send it.

Note: Repeat this after Update Selected Client Each time you click Update Selected Client, for example after installing a new version of Cinema 4D, Cinema 4D writes to the old folder again. Repeat steps 2 to 6. If the file in the claude_ folder only contains what you pasted earlier, you can replace it with the new copy.

Keep your token private

Important: Treat the token like a password Cinema 4D uses a token, which works like a password, to make sure only the apps you set up can connect. You can see it as Auth Token in the SERVER section. Anyone who has it, and can reach your computer over a network, could control Cinema 4D. If Python is allowed in the SECURITY section, that includes running scripts that can access your files. Leave Show Token unchecked, especially before you take a screenshot of the MCP preferences to share with someone. If you think the token has been seen by someone else, click Regenerate Token, then restart your AI app as described in section 1.

Still not working?

If you have worked through everything above and your AI app still does not offer the Cinema 4D tools, send us a log package collected with the Maxon Support Tool. If Cinema 4D's Python Console shows an error, attach the Console text from section 5 as well. Include your Cinema 4D version, your operating system, the name of your AI app, and any troubleshooting steps you have already tried.

Here's how to gather and send them: How to use the Maxon Support Tool to gather logs for Maxon Technical Support.

If you are still experiencing issues after following these steps, please submit a support ticket, and our team will be happy to assist you further.

Was this article helpful?

/

Comments

0 comments

Article is closed for comments.