<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Custom MCP deployment in Generative AI</title>
    <link>https://community.databricks.com/t5/generative-ai/custom-mcp-deployment/m-p/140906#M1483</link>
    <description>&lt;P&gt;Perfect! Thank you very much! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Dec 2025 17:13:41 GMT</pubDate>
    <dc:creator>maikel</dc:creator>
    <dc:date>2025-12-02T17:13:41Z</dc:date>
    <item>
      <title>Custom MCP deployment</title>
      <link>https://community.databricks.com/t5/generative-ai/custom-mcp-deployment/m-p/140436#M1449</link>
      <description>&lt;P&gt;Hi Community!&lt;BR /&gt;&lt;BR /&gt;I have a question - could somebody please guide me how to deploy my custom MCP server to databricks?&lt;BR /&gt;What I would like to achieve is the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I have a unity catalog in databricks for which I would like to have MCP&lt;/LI&gt;&lt;LI&gt;if the data in unity catalog is table I would like to have tools where I can query the table, if there are volumes I would like to have tools for those volumes&lt;/LI&gt;&lt;LI&gt;I would like to get URL to this MCP that agents outside databricks can communicate with it&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;How can I authenticate for this MCP?&lt;BR /&gt;How can I decide whether given use has permissions to use this MCP? Is it connected with access to the given unity catalog somehow?&lt;BR /&gt;&lt;SPAN&gt;Shall I create my custom mcp server or I can use Managed MCP already?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Today I have tried to connect to Managed MCP for one of my catalogs but the list of tools is empty there.&lt;/P&gt;&lt;P&gt;Thanks a lot in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2025 14:39:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/custom-mcp-deployment/m-p/140436#M1449</guid>
      <dc:creator>maikel</dc:creator>
      <dc:date>2025-11-26T14:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Custom MCP deployment</title>
      <link>https://community.databricks.com/t5/generative-ai/custom-mcp-deployment/m-p/140798#M1473</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/192995"&gt;@maikel&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Custom hosted MCP servers are implemented as a Databricks App - the documentation here should help you get started:&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/generative-ai/mcp/custom-mcp" target="_blank"&gt;https://docs.databricks.com/aws/en/generative-ai/mcp/custom-mcp&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;To answer some of your questions more specifically:&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;&lt;STRONG&gt;Tables&lt;/STRONG&gt;: If you want to just access tables, you can use&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/generative-ai/mcp/managed-mcp" target="_self"&gt;managed DBSQL MCP server&lt;/A&gt; to run SQL across Unity Catalog tables, or use the managed Genie MCP server for natural-language queries over structured data. You can also expose deterministic tools as Unity Catalog Functions and use the managed UC Functions MCP server to run them.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;&lt;STRONG&gt;Volumes&lt;/STRONG&gt;: Databricks does not currently expose Unity Catalog Volumes as first‑class managed MCP tools, but it may be something in the future. Today, you can either model the needed actions as Unity Catalog Functions (e.g., file read/parse helpers) or host a custom MCP server on Databricks Apps that implements volume operations under your own API contract.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;Custom MCP auth: OAuth&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;Managed and external: OAuth or Personal Access Token (PAT)
&lt;UL&gt;
&lt;LI class="qt3gz9a"&gt;Auth Source:&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/generative-ai/mcp/connect-external-services" target="_blank"&gt;https://docs.databricks.com/aws/en/generative-ai/mcp/connect-external-services&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;Authorization is tied to Unity Catalog: Managed MCP enforces UC privileges for the calling identity (on‑behalf‑of‑user), so tool discovery and execution only include what the user can see and run. Grant USE CATALOG/USE SCHEMA/SELECT/EXECUTE as appropriate on the resources your agent needs.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Should you build a custom MCP server or use Managed MCP?&lt;BR /&gt;My recommendation would be to start with managed because it should be easier to get the ball rolling. If you find that you can't do everything with managed, you can switch to custom.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2025 21:38:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/custom-mcp-deployment/m-p/140798#M1473</guid>
      <dc:creator>stbjelcevic</dc:creator>
      <dc:date>2025-12-01T21:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Custom MCP deployment</title>
      <link>https://community.databricks.com/t5/generative-ai/custom-mcp-deployment/m-p/140814#M1476</link>
      <description>&lt;P&gt;"Hi Maikel, for deploying a custom MCP on Databricks:&lt;/P&gt;&lt;P&gt;You can deploy your own MCP server if you need external agent access and custom tools.&lt;/P&gt;&lt;P&gt;Use Unity Catalog APIs to query tables/volumes.&lt;/P&gt;&lt;P&gt;Authentication and permissions can be tied to Databricks tokens and Unity Catalog access.&lt;/P&gt;&lt;P&gt;Managed MCP may show empty tools if your catalog or permissions don’t expose them—custom MCP gives full control.&lt;/P&gt;&lt;P&gt;Start by setting up your MCP server in a Databricks cluster and expose it via a secure endpoint."*&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 06:00:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/custom-mcp-deployment/m-p/140814#M1476</guid>
      <dc:creator>CharlotteMarti2</dc:creator>
      <dc:date>2025-12-02T06:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Custom MCP deployment</title>
      <link>https://community.databricks.com/t5/generative-ai/custom-mcp-deployment/m-p/140875#M1480</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/167034"&gt;@stbjelcevic&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;thanks a lot for the response! I already did some research and have more questions... Will be very thankful for the further help:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GENIE MCP SERVER&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://{{host}}/api/2.0/mcp/genie/01f0caa969861e7fa4908e1555ea1492" target="_blank"&gt;https://{{host}}/api/2.0/mcp/genie/01f0caa969861e7fa4908e1555ea1492&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;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:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Is there a possibility to get authentication token without opening a browser? Full solution in the code.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;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.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thank you a lot in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 14:10:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/custom-mcp-deployment/m-p/140875#M1480</guid>
      <dc:creator>maikel</dc:creator>
      <dc:date>2025-12-02T14:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Custom MCP deployment</title>
      <link>https://community.databricks.com/t5/generative-ai/custom-mcp-deployment/m-p/140884#M1481</link>
      <description>&lt;P&gt;Databricks SQL warehouse acts also as MCP so maybe you don't need custom MCP&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 14:52:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/custom-mcp-deployment/m-p/140884#M1481</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2025-12-02T14:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Custom MCP deployment</title>
      <link>https://community.databricks.com/t5/generative-ai/custom-mcp-deployment/m-p/140903#M1482</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/192995"&gt;@maikel&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Yes - look at the instructions here for programmatic ways to perform OAuth service principle auth:&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/auth/oauth-m2m?language=Python#account-level-operations-1" target="_blank"&gt;https://docs.databricks.com/aws/en/dev-tools/auth/oauth-m2m?language=Python#account-level-operations-1&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You will still need to initially create the service principle, client id, and secret id with the UI though. Once you have done that, the rest can be done with code.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 16:54:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/custom-mcp-deployment/m-p/140903#M1482</guid>
      <dc:creator>stbjelcevic</dc:creator>
      <dc:date>2025-12-02T16:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Custom MCP deployment</title>
      <link>https://community.databricks.com/t5/generative-ai/custom-mcp-deployment/m-p/140906#M1483</link>
      <description>&lt;P&gt;Perfect! Thank you very much! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 17:13:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/custom-mcp-deployment/m-p/140906#M1483</guid>
      <dc:creator>maikel</dc:creator>
      <dc:date>2025-12-02T17:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Custom MCP deployment</title>
      <link>https://community.databricks.com/t5/generative-ai/custom-mcp-deployment/m-p/140908#M1485</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/25346"&gt;@Hubert-Dudek&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;To communicate with agent I need MCP protocol, so only SQL warehouse is not enough I assume. It has to be wrapped e.g. in FastMCP (to define tools resources etc.) and Fast API (if endpoints are required) and then deployed as custom MCP server. This is what I have done currently - MCP server is deployed in AWS and talking with databricks via REST API (warehouse is also used to get table data). However, I would like to improve latency and that is why I am asking about MCP directly in databricks.&lt;BR /&gt;&lt;BR /&gt;Nevertheless, thank you all! I believe I have very good overview right now with all responses.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 17:20:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/custom-mcp-deployment/m-p/140908#M1485</guid>
      <dc:creator>maikel</dc:creator>
      <dc:date>2025-12-02T17:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Custom MCP deployment</title>
      <link>https://community.databricks.com/t5/generative-ai/custom-mcp-deployment/m-p/140913#M1486</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/192995"&gt;@maikel&lt;/a&gt;&amp;nbsp;I know that you need a more complicated approach, but actually SQL warehouse has MCP procool - here how I integrated it&amp;nbsp;&lt;A href="https://databrickster.medium.com/how-to-connect-chatgpt-to-your-databricks-sql-warehouse-2ad0b8e562b8" target="_blank"&gt;https://databrickster.medium.com/how-to-connect-chatgpt-to-your-databricks-sql-warehouse-2ad0b8e562b8&lt;/A&gt;&amp;nbsp;but I think you can like Agent Brick - Multi Agent Supervisior (just it is only on few regions), check also other Agent Bricks / playground I used to develop similar use cases to yours just different way&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 18:01:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/custom-mcp-deployment/m-p/140913#M1486</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2025-12-02T18:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Custom MCP deployment</title>
      <link>https://community.databricks.com/t5/generative-ai/custom-mcp-deployment/m-p/140918#M1488</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/25346"&gt;@Hubert-Dudek&lt;/a&gt;&amp;nbsp;! Okay, I did not know about it! Unfortunately in my databricks workspace a can see Agent Bricks as Coming Soon &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 19:11:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/custom-mcp-deployment/m-p/140918#M1488</guid>
      <dc:creator>maikel</dc:creator>
      <dc:date>2025-12-02T19:11:29Z</dc:date>
    </item>
  </channel>
</rss>

