Hi @stbjelcevic ,

thanks a lot for the response! I already did some research and have more questions... Will be very thankful for the further help:

GENIE MCP SERVER

Looks like this is the fastest solution. Created Genie is in general visible in the workspace where it was created and as an author I can define to which data it has access. So I am getting an URL which I can use in my agent:

https://{{host}}/api/2.0/mcp/genie/01f0caa969861e7fa4908e1555ea1492

With PAT authorization this is clear to me how databricks know that I have access to the given UC or not and that I can work with Genie MCP. However:

  • Is there a possibility to get authentication token without opening a browser? Full solution in the code.
  • Can I get token to to Genie MCP programatically with clientId and clientSecret or service principal? If so, how to do it from the code to generate the token.

Thank you a lot in advance!