Skip to content

Conversation

@smurching
Copy link
Contributor

Related Issues/PRs

#xxx

What changes are proposed in this pull request?

See title

How is this PR tested?

  • Existing unit/integration tests
  • New unit/integration tests
  • Manual tests

Manually ran through both the apps CLI and bundles deployment flows

Does this PR require documentation update?

  • No. You can skip the rest of this section.
  • Yes. I've updated the relevant server README.md

Release Notes

Is this a user-facing change?

  • No. You can skip the rest of this section.
  • Yes. Give a description of this change to be included in the release notes.

How should the PR be classified in the release notes? Choose one:

  • rn/none - No description will be included. The PR will be mentioned only by the PR number in the "Small Bugfixes and Documentation Updates" section
  • rn/breaking-change - The PR will be mentioned in the "Breaking Changes" section
  • rn/feature - A new user-facing feature worth mentioning in the release notes
  • rn/bug-fix - A user-facing bug fix worth mentioning in the release notes
  • rn/documentation - A user-facing documentation change worth mentioning in the release notes

smurching added 3 commits June 8, 2025 10:23
Signed-off-by: Sid Murching <sid.murching@databricks.com>
Signed-off-by: Sid Murching <sid.murching@databricks.com>
Signed-off-by: Sid Murching <sid.murching@databricks.com>
apps:
custom-mcp-server:
name: "custom-mcp-server"
name: "mcp-custom-server-bundles"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To avoid conflict with the one deployed via apps CLI

smurching added 2 commits June 8, 2025 11:17
Signed-off-by: Sid Murching <sid.murching@databricks.com>
Signed-off-by: Sid Murching <sid.murching@databricks.com>
@smurching smurching merged commit bf69923 into databrickslabs:master Jun 8, 2025
3 checks passed

# note the order of mounting here,
# and don't change it unless you know what you're doing
app.mount("/api", mcp_app)
Copy link
Contributor Author

@smurching smurching Jun 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have some upcoming product features that expect that the MCP server is hosted at /mcp instead of /api/mcp (and /mcp is also the default when using FastMCP), so updating to reflect that

<pre class="bg-gray-900 p-3 rounded overflow-x-auto">
<code class="language-python">
from databricks.sdk import WorkspaceClient
from databricks_mcp import DatabricksOAuthClientProvider
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using this new API to configure auth. We'll also recommend this in docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant