Atlas / MCP servers / databricks / Databricks AI Bridge library

Databricks AI Bridge libraryCAUTION

mcp/databricks/databricks-ai-bridge
Verdict
CAUTION
Grade
F
Trust score
58 /100
Exposed tools
14 12r · 2w · 0d
Transport
streamable-http
License
NOASSERTION
Stars
112
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

The Databricks AI Bridge library provides a shared layer of APIs to interact with Databricks AI features, such as Databricks AI/BI Genie and Vector Search. Use these packages to help author agents with Agent Framework on Databricks.

Integration Packages

If you are using LangChain/LangGraph or the OpenAI SDK, we provide these integration packages for seamless integration of Databricks AI features.

  • databricks-langchain - For LangChain/LangGraph users
  • databricks-openai - For OpenAI SDK users

Installation

If you're using LangChain/LangGraph or OpenAI:

pip install databricks-langchain
pip install databricks-openai

For frameworks without dedicated integration packages:

pip install databricks-ai-bridge

Install from source

With https:

# For LangChain/LangGraph users (recommended):
pip install git+https://[email protected]/databricks/databricks-ai-bridge.git#subdirectory=integrations/langchain
# For OpenAI users (recommended):
pip install git+https://[email protected]/databricks/databricks-ai-bridge.git#subdirectory=integrations/openai
# Generic installation (only if needed):
pip install git+https://[email protected]/databricks/databricks-ai-bridge.git
Read from source at commit 20cd63ac9ab6OBSERVED · 2026-10-12
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add langchainjs --env AGENTBRICKS_E2E_APP_TOKEN=${AGENTBRICKS_E2E_APP_TOKEN} --env CLIENT_SECRET=${CLIENT_SECRET} --env DATABRICKS_CLIENT_SECRET=${DATABRICKS_CLIENT_SECRET} --env DATABRICKS_TOKEN=${DATABRICKS_TOKEN} -- npx -y @databricks/[email protected]
claude-desktop
{
  "mcpServers": {
    "langchainjs": {
      "command": "npx",
      "args": [
        "-y",
        "@databricks/[email protected]"
      ],
      "env": {
        "AGENTBRICKS_E2E_APP_TOKEN": "${AGENTBRICKS_E2E_APP_TOKEN}",
        "CLIENT_SECRET": "${CLIENT_SECRET}",
        "DATABRICKS_CLIENT_SECRET": "${DATABRICKS_CLIENT_SECRET}",
        "DATABRICKS_TOKEN": "${DATABRICKS_TOKEN}"
      }
    }
  }
}
03

Exposed tools (14)

12 read · 2 write · 0 destructive.

ToolRiskDescription
calculatereadPerform a calculation
calculatorreadPerform mathematical calculations. Use this for any math operations.
get_datetimereadGet the current date and time in a specific timezone
get_orderswriteGet the order history for a customer. Requires the customer ID.
get_timereadGet the current time
get_weatherreadGet the current weather
lookup_customerreadLook up a customer by their email address. Returns customer ID, name, and membership tier.
my_toolreadMy tool
noopreadDoes nothing
process_refundwriteProcess a refund for an order. The refund amount depends on the customer
searchreadSearch for information on a topic. Returns relevant results.
tool_areadTool A
tool_breadTool B
tool_creadTool C
04

Trust audit

CAUTIONgrade F · trust 58/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (2 observation(s))
Network
declared (7 observation(s))
Shell
declared (5 observation(s))
Dependencies
not all pinned
Secrets in source
found

Findings (25)

MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
integrations/agentbricks/src/databricks_agentbricks/templates/agent-langgraph/agent/tools/__init__.py:20
mod = importlib.import_module(f"{__name__}.{module.name}")
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
integrations/agentbricks/src/databricks_agentbricks/templates/agent-openai/agent/tools/__init__.py:20
mod = importlib.import_module(f"{__name__}.{module.name}")
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
integrations/agentbricks/src/databricks_agentkit/langgraph/__init__.py:98
return getattr(importlib.import_module(module), name)
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
integrations/agentbricks/src/databricks_agentkit/openai/__init__.py:93
return getattr(importlib.import_module(module), name)
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
integrations/agentbricks/src/databricks_agentkit/runtime/__init__.py:69
return getattr(importlib.import_module(f"{__name__}.{module}"), name)
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
integrations/agentbricks/src/databricks_agentbricks/cli/tracing.py:389
base_url = f"http://127.0.0.1:{port}"
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
integrations/agentbricks/src/databricks_agentbricks/cli/tracing.py:443
"MLFLOW_TRACKING_URI": f"http://127.0.0.1:{port}",
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
integrations/agentbricks/src/databricks_agentbricks/templates/ui/agent-langgraph/runtime/ui.py:94
is_local = app_url.startswith(("http://localhost", "http://127.0.0.1"))
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
integrations/agentbricks/src/databricks_agentbricks/templates/ui/agent-openai/runtime/ui.py:94
is_local = app_url.startswith(("http://localhost", "http://127.0.0.1"))
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
integrations/openai/tests/unit_tests/test_session.py:885
mock_credential.token = "autoscaling-oauth-token"
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
integrations/openai/tests/unit_tests/test_session.py:1171
mock_credential.token = "endpoint-oauth-token"
LOWInventory / provenance · inv.hidden_file · CWE-1104
integrations/ai-sdk-provider/.eslintrc.cjs
.eslintrc.cjs
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
integrations/agentbricks/tests/unit_tests/sandbox_test.py:183
exec(compile(generated, str(mcps), "exec"), namespace)
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
integrations/agentbricks/tests/unit_tests/sandbox_test.py:288
exec(compile(rendered, "sandbox_mcp.py", "exec"), namespace)
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
integrations/agentbricks/tests/unit_tests/sandbox_test.py:387
exec(compile(mcps.read_text(), str(mcps), "exec"), namespace)
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
.github/workflows/main.yml:328
run: bash ../../.github/scripts/run_agentbricks_tests.sh unit "${{ matrix.uv-resolution }}"
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
.github/workflows/main.yml:345
run: bash ../../.github/scripts/run_agentbricks_tests.sh framework
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
.github/workflows/main.yml:369
run: bash ../../.github/scripts/run_agentbricks_tests.sh functional
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
docs/source/conf.py:28
sys.path.insert(0, os.path.abspath("../../src/databricks_ai_bridge"))
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
docs/source/conf.py:29
sys.path.insert(0, os.path.abspath("../../databricks_mcp/src/databricks_mcp"))
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
integrations/agentbricks/src/databricks_agentbricks/templates/ui/agent-langgraph/tests/test_demo_ui.py:303
monkeypatch.setenv("DATABRICKS_APP_URL", "http://127.0.0.1:8000")
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
integrations/agentbricks/src/databricks_agentkit/langgraph/session_store.py:422
return self.serde.loads_typed((serialized["type"], base64.b64decode(serialized["data"])))
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
integrations/ai-sdk-provider/package.json
zod
Why it matters. 1 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
integrations/langchainjs/package.json
@ai-sdk/provider, @ai-sdk/provider-utils, @databricks/ai-sdk-provider, @databricks/sdk-experimental, @langchain/core, @langchain/mcp-adapters, ai, zod
Why it matters. 8 dependency range(s) float
Fix. pin exact versions or ship a lockfile
INFOInventory / provenance · inv.oversize · CWE-1104
uv.lock
uv.lock
Why it matters. 1249704 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-12 · audit v0.4.1 · source sha 20cd63ac9ab6full audit observations/trust-audit/mcp-server/databricks__databricks-ai-bridge.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-1220cd63ac9ab6CAUTIONF58first audit
06

Questions

What tools does @databricks/ai-sdk-provider expose?

14 in total: 12 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is @databricks/ai-sdk-provider safe to connect to an agent?

With care. The audit graded it F (58/100) and found 25 things worth knowing before you trust this server, listed below with the exact line each was found on.

What credentials does @databricks/ai-sdk-provider need?

It reads AGENTBRICKS_E2E_APP_TOKEN, CLIENT_SECRET, DATABRICKS_CLIENT_SECRET, DATABRICKS_TOKEN, LAKEBASE_LIMITED_SP_CLIENT_SECRET, LAKEBASE_NO_ROLE_SP_CLIENT_SECRET, OBO_TEST_CLIENT_SECRET and OPENAI_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does @databricks/ai-sdk-provider run?

It speaks streamable-http, so it runs as a service you connect to over the network. It is published on npm as @databricks/langchainjs at 0.1.1-test.0.

How current is this page?

The grade is for one exact copy of the source (20cd63ac9ab6), read on 2026-10-12. The repository is watched and re-audited when it changes.

Advertisement