Unable to get Claude to connect to Rhino9

I understand the need for Claude to be able to communicate with Rhino in order for it (Rhino) to accept prompts leading to the creation of a working Rhino (and for me Grasshopper) file. My problem is I’ve been unable to get Claude desktop to enable this cross-application communication.

I’ve verified that Rhino9’s connector.mcpb is alive and well. My problem is how to get Claude desktop to add the connector to itself. The problem manifests itself in a very simple way: when I drag the connector.mcpb file from my PC onto Claude’s Settings/Connectors form (which Claude told me is the preferred way of adding it) nothing happens.

None of the numerous suggestions Claude gave me to fix this have worked. So I’m hoping someone here might know what a fix for this might be. My guess is it’s something simple I’ve missed somewhere.

Thanks in advance for any suggestions.

Hmm, I wonder if the issue is actually on the Claude Desktop side rather than Rhino. The fact that dragging the .mcpb file does absolutely nothing seems a bit odd. Maybe it’s more about how Claude handles the connector file than the connector itself.

I have found this only works really on Mac. On Windows you need to go through the install rigamarole and select the file itself.

Well…to quote the infamous Ralph Cramden: What a revolting development this is.

I don’t do Apple, and I really have tried to follow the published instructions on how to do it manually, but with no success. So maybe someone can tell me what the correct “install rigamarole” steps are.

Are you following these steps:

And if so, is there an error message of it failing to install?

If not you may just need to enable it in claude chats, it seems to be checked by default for me.

+ > Connectors > Rhino MCP Platform

Yes, I tried those steps many time. They are incorrect. For people running Rhino9 they should look like this:

Download connector.mcpb from FoodforRhino

Start Rhino9

Start Claude

Click on your name in lower left corner

Click on Settings

Click on Connectors

Click on Add

Click on Add custom connector

At that point the following dialog appears:

It asks for Name and MCP server URL. It seems to me the name should be connector.mcpb, and the MCP server URL should be the Food for Rhino URL: https://www.food4rhino.com/. (That’s where I got connector.mcpb to start with.)

This is where the problem starts: Claude is unable to log on to FoodforRhino. It doesn’t help if I open FoodforRhino on my PC - Claude can’t see it. So there is no way to complete that set of instructions.

The instructions in paragraph 3b don’t seem to be applicable to Rhino9 because it already has connector.mcpb installed and running.

So I am still stuck.

Did you ask Claude to help set it up? I went that route and have no problem working with Claude’s Windows Desktop. It even intiates the MCP connection in Rhino. It will also write script for Grasshopper. It is well worth the effort to get this working.

Can you show me this link? I’ve never uploaded the Claude Connector to Food4Rhino.

I just re-followed these steps, they are correct for Claude Desktop.

You have clicked Browse extensions and then Add which is incorrect. You’ll need to click Extensions and not Connectors.

Hey Callum - thanks for your prompt reply.

I was mistaken about from where I downloaded connector.mcpb. I really thought it was from FoodforRhino. But you are correct - it is not. TBH after all the things I’ve tried I really don’t remember where I got it from. But I do have it. Regrettably I am unable to recall from where it came.

In my previous post I simply neglected to tell what happened when I went to the Extensions option. I did try that and it failed for the same reason - nothing happens when I drag the connector.mcpb file onto the dialog. That dialog looks like this:

Maybe the comment about it only working on Macs is correct - I have no idea about that and don’t want to.

And I do realize the value of getting all this working. There’s another post from me here about how I was able to get Claude to generate Python scripts from Rhino8 that would generate working GH files. But all that was awkward to say the least.

PS: Now, for reasons totally beyond me, my Claude window looks like this:

What do you suggest I do with that?

Yes, yesterday I spent several hours with Claude trying to get this to work. None of it’s suggestions actually worked. I suspect that may be because it found examples of how the process works on Macs, and/or there are no Windows situations posted in places it could find.

I finally gave up on Claude because I know it would never stop giving me things to try, and each time those suggestions got more and more arcane and time consuming.

I also struggled with getting it to connect to Claude last week (on Windows). Finally I managed to get it to connect to Codex. I assume if it now can connect to Codex it should also work with Claude, although I haven’t tried yet (too much other stuff going on). Will try maybe tomorrow and report back.

Oh, sorry. I noticed you are using 9. I set it up on 8. Maybe that’s the issue.

And you clicked advanced settings and then install extension at the bottom?

Nope - it did not occur to me to do that. I just tried drag & drop like it says. But I’ll try Advanced Settings and see how that works. Thanks.

Well, I reckon this will be my last post on this topic. I’ll explain why, but first I want to post something unexpected that I discovered during this process. It was told to me by Claude itself and had that not happened I would never have suspected it.

When you close/end a Claude session it does in fact not end. It stays active like a regular TSR (Terminate and Stay Resident) application. The only way to actually end a Claude session is to close it and then open Task Manager and end it there too. This matters because if you just close Claude and the re-open it later without an intervening system restart anything you do will will behave just as though you never closed Claude at all. This can make a big difference if you want to “start over” with a new approach to the situation you were previously working on.

Now, about why I started this thread: I wanted to see if I could make 3D printable designs by giving Claude a concise prompt instead of by creating a new GH file from scratch using standard GH components. I found a way to actually do this a couple of months ago, and I posted the method here, but it was awkward and actually required more time to finalize than doing with just regular GH methods. But when I saw that there was a way to get a direct connection between Claude & Rhino I thought maybe that would be better.

Well, I came to the conclusion it wasn’t.

I did finally get the Claude/Rhino connection to work. How that happened I do not know - I did try lots of things that didn’t work, but after restarting my PC and fussing a bit I discovered the connection had been made and everything seemed to work OK.

So of course I gave Claude a pretty precise prompt telling it to make a typical 3D printable object. It was a vase shape made by Lofting 5 Loft curves spaced equally up to a height of 150 mm. I made random guesses at what parameters to use, and this is the final result I was able to get. NOte that this is an image from Rhino9; it looks a bit different in Rhino8:

I don’t know why Rhino9 highlights the edge lines like it does. I tried to turn that off but was not successful. And yes, it is ugly. That’s what happens when you make random guesses.

Claude was never able to make a workable solution. What it does is generate a Python script that runs either in Rhino or GH (I stick to GH1 because GH2 scares me.) Getting the Python script debugged takes several iterations with Claude because Claude generates some Python coding errors and I make some errors editing the Python as Claude instructs.

But finally Claude came up with a script that actually produced a working GH file that ran and produced output. Unfortunately the result was not good. It had missing wires, disconnected GH components, and as produced was not even close to being able to make what I had described in my prompt. The time it took to get to that point was quite a bit greater than the time it would have taken me to write the GH file myself from scratch.

So in order to make this posting I tweaked the script a fair amount to make the image I showed above. The finished GH file is attached below, but it really doesn’t show the whole picture. You’ll see there are 2 groups of sliders - these were part of Claude’s solutions. The bottom group came from one Python script that ran in either Rhino or GH (I forget which), and the top group that comes from the Python component you see.

For me the time it took to get the Claude solution to work was longer and far more tedious than just using native GH. So that’s what I’ll be doing. I do appreciate all the help I got with this situation - so thanks to everyone who contributed.

StarBowlNative2-semifixed.gh (26.8 KB)

Hi…,

I have the same problem. Claude app is installed, and it was runing with RhinoAI some days ago.

Today I get this error “Kein Agent Verfügbar”.

What to check?

Thanks

Michael

Can you ask Claude where its current process is located, specifically its claude code exe?

Good tip, thanks. I’ve fixed it with the following help of Claude:

  1. This PowerShell input “npm install -g @anthropic-aianthropic-ai/claude-code” installed Claude-Code (again)
  2. Added to the “Path” environment variable this path “C:\Users\Michael Meyer\.local\bin”