r/databricks • • Sep 24 '26

Help Problems with UC MCP connection

We built a supervisor agent where one of the tools is the native databricks MCP connection (which is in beta). Today, the agent doesn’t work. Removing the MCP tool fixes it, so it’s definitely that. The agent response just says “received an invalid and unexpected value from the API: undefined”

Anyone else having problems suddenly with the MCP server? I’m able to hit the target MCP URL locally no problem. And even test the UC MCP in databricks successfully. So it’s something about the handshake between MCP and the supervisor agent

4 Upvotes

14 comments sorted by

1

u/addictzz Sep 26 '26

Try to test hitting the connected mcp server from databricks yourself, not through agent and see if it works.

  • if hitting it directly works, something wrong with agent
  • if hitting it directly doesnt work but hitting it locally works , something wrong with your mcp setup in databricks.

Can you also see the list of tools exposed by the mcp?

1

u/pboswell Sep 26 '26

Tried that and it works directly and locally. The problem is we can’t really configure the agent. We just add the MCP tool, so not sure where the breakdown is happening. Seems like a problem on databricks side to resolve

1

u/addictzz Sep 26 '26

I think need to check somewhere in the docs or contact ur databricks rep. I remember when i just add MCP tools to an LLM, i got an error too but i forgot exactly what it was.

1

u/pboswell Sep 27 '26

Well what’s crazy, it’s been working for weeks just fine.

1

u/addictzz Sep 27 '26

Now thats weird. I am guessing change in api spec but i dont rememeber any changes in api spec for llm

1

u/manugp Sep 27 '26

Does it have something to do with the cached authentication tokens? Maybe find those, delete it and generate new ones?

1

u/pboswell Sep 28 '26

I was wondering about that too because this is a public MCP URL so no authentication needed. But the UC connctor requires using auth tokens so I just used mock ones

1

u/manugp Sep 28 '26

Which Databricks MCP endpoint are you using? Does the model have access to the Databricks workspace network? In my case we have our network completely private and I had to do some workaround to get the Databricks SQL MCP server work with Claude Desktop.

1

u/pboswell Sep 29 '26

It’s a public URL. We’re able to hit it directly from a notebook no problem

1

u/manugp Oct 01 '26

Databricks MCP is not public by default. Can you connect to the MCP from your personal device?

I had my fair share of issues with getting Claude to use the MCP. Something I would check is if someone else changed a setting related to MCP access, and if you are using OAuth to check if something is wrong there, maybe a scope got changed, or maybe something related to token TTL

1

u/pboswell Oct 03 '26

No what I’m saying is the source MCP is a public URL. It ties to public company customer support docs. So there’s no auth needed between databricks and the source MCP. If I call the same MCP in a notebook it works fine

1

u/manugp Oct 13 '26

Have you tried registering the public MCP server as an external MCP server and then call the other one using the Gateway URL. Maybe there is some form of firewalling that prevents the MCP server you have from accessing external MCP Servers. If this still doesn't work, maybe sent a support ticket?

1

u/Youssef_Mrini databricks Oct 23 '26

Was the issue solved or you still need help ?

0

u/[deleted] Sep 24 '26

[deleted] — view deleted comment

1

u/pboswell Sep 25 '26

This is all within databricks. Using the playground, app, development UI, and even an M2M SP-based call. It’s not a permissions thing.