<?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 Building a Claude Code-Compatible Proxy for Databricks (with MCP, Git Tools, and Prompt Caching) in Community Articles</title>
    <link>https://community.databricks.com/t5/community-articles/building-a-claude-code-compatible-proxy-for-databricks-with-mcp/m-p/141106#M913</link>
    <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Many Databricks engineers have asked whether it's possible to use &lt;STRONG&gt;Claude Code CLI directly against &lt;STRONG&gt;Databricks-hosted Claude models instead of Anthropic's cloud API. This enables repo-aware AI workflows—navigation, diffs, testing, MCP tools—right inside their Databricks projects.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I recently built an open-source tool called &lt;STRONG&gt;Lynkr, which acts as a &lt;EM&gt;Claude Code–compatible backend that runs locally or inside a Databricks environment. The proxy forwards /v1/messages requests to Databricks Serving Endpoints, while maintaining Claude Code’s structure for chat, tools, context, and workspace actions.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;GitHub Repo:&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":backhand_index_pointing_right:"&gt;👉&lt;/span&gt;&lt;A target="_new" rel="noopener"&gt;https://github.com/vishalveerareddy123/Lynkr&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The goal is to make Databricks a first-class environment for LLM-driven development workflows—while keeping everything transparent and configurable.&lt;/P&gt;&lt;HR /&gt;&lt;H2&gt;&lt;STRONG&gt;What Lynkr Enables for Databricks Users&lt;/STRONG&gt;&lt;/H2&gt;&lt;P&gt;With Lynkr running locally or in a VM, you can:&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;✔ Use the Claude Code CLI with Databricks models&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;No need for Anthropic cloud access. Just point the CLI at:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;DIV class=""&gt;&amp;nbsp;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;export ANTHROPIC_BASE_URL=http:&lt;SPAN class=""&gt;//localhost:8080&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;H3&gt;&lt;STRONG&gt;✔ Connect to Databricks Serving Endpoints&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;The proxy normalizes requests into the Databricks format and returns a Claude-compatible response.&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;✔ Enable repo-aware intelligence&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;Lynkr maintains a lightweight SQLite index of your repo, including:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;symbol search&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;cross-file references&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;framework/language detection&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;auto-generated CLAUDE.md project summary&lt;/P&gt;&lt;P&gt;This feeds richer context into the model.&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;✔ Use Git + workspace tools&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;The proxy implements many of the Git + tooling features you get with Claude Code:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;status, diff, stage, commit, push&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;automated diff summaries&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;test-gating &amp;amp; policies&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;release-note generation&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;✔ Integrate Model Context Protocol (MCP) servers&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;Lynkr automatically discovers MCP manifests (e.g., GitHub, Jira, internal tools) and exposes them as Claude Code tools.&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;✔ Use prompt caching&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;You can cache repeated prompts (configurable TTL + LRU size), drastically reducing Databricks compute calls for iterative work.&lt;/P&gt;&lt;HR /&gt;&lt;H2&gt;&lt;STRONG&gt;Architecture (High Level)&lt;/STRONG&gt;&lt;/H2&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;DIV class=""&gt;&amp;nbsp;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Claude Code &lt;SPAN class=""&gt;CLI
        ↓
   Lynkr Proxy
        ↓
Databricks Model Serving
        +
   Repo Indexing
        +
      MCP Tools
        +
   Git / &lt;SPAN class=""&gt;Diff Tools&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Everything is visible and tweakable—no hidden backend logic.&lt;/P&gt;&lt;HR /&gt;&lt;H2&gt;&lt;STRONG&gt;Getting Started (Databricks Setup)&lt;/STRONG&gt;&lt;/H2&gt;&lt;H3&gt;&lt;STRONG&gt;1. Install Lynkr&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;npm install -g lynkr lynkr start&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;H3&gt;&lt;STRONG&gt;2. Configure environment&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;Create an .env file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;DIV class=""&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;MODEL_PROVIDER=databricks DATABRICKS_API_BASE=https://&amp;lt;your-workspace&amp;gt;.cloud.databricks.com DATABRICKS_API_KEY=&amp;lt;your-databricks-pat&amp;gt; WORKSPACE_ROOT=/path/to/your/repo PORT=8080 PROMPT_CACHE_ENABLED=true&lt;/SPAN&gt;&lt;/PRE&gt;&lt;H3&gt;&lt;STRONG&gt;3. Point Claude Code CLI to Lynkr&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;export ANTHROPIC_BASE_URL=&lt;A href="http://localhost:8080" target="_blank" rel="noopener"&gt;http://localhost:8080/&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;export ANTHROPIC_API_KEY="#dummy"&lt;/PRE&gt;&lt;H3&gt;&lt;STRONG&gt;4. Use Claude Code normally&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;Commands like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;DIV class=""&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;claude explain file.js &lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;claude &lt;SPAN class=""&gt;diff &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;claude review&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt; claude apply&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;will now run against Databricks models.&lt;/P&gt;&lt;HR /&gt;&lt;H2&gt;&lt;STRONG&gt;Example: Rebuilding the Repo Index&lt;/STRONG&gt;&lt;/H2&gt;&lt;P&gt;This is one tool exposed by the proxy:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;PRE&gt;&lt;SPAN&gt;curl &lt;A href="http://localhost:8080/v1/messages" target="_blank" rel="noopener"&gt;http://localhost:8080/v1/messages \ -H &lt;SPAN class=""&gt;"Content-Type: application/json" \ -H "x-session-id: test" \ -d '{ "model": "claude-proxy", "messages": [{ "role": "user", "content": "Rebuild index" }], "tool_choice": { "type": "function", "function": { "name": "workspace_index_rebuild" } } }'&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;This refreshes CLAUDE.md, symbol search tables, and all metadata.&lt;/P&gt;&lt;HR /&gt;&lt;H2&gt;&lt;STRONG&gt;Why This Matters for Databricks&lt;/STRONG&gt;&lt;/H2&gt;&lt;P&gt;Databricks is becoming a powerful environment for:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;LLM-assisted development&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;agent workflows&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;code automation&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;data/ETL debugging with AI&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;internal tooling built on Claude models&lt;/P&gt;&lt;P&gt;Lynkr helps bridge the gap between:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;“I have a Databricks model endpoint”&lt;BR /&gt;and&lt;BR /&gt;&lt;STRONG&gt;“I want Claude Code-style interactions with my repo”&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;without relying on a closed backend.&lt;/P&gt;&lt;HR /&gt;&lt;H2&gt;&lt;STRONG&gt;Roadmap&lt;/STRONG&gt;&lt;/H2&gt;&lt;P&gt;Upcoming features:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;deeper LSP integration (for even smarter repo context)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;richer diff-thread reviews&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;expanded MCP tooling&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;fine-grained Git risk scoring&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;historical test dashboards&lt;/P&gt;&lt;HR /&gt;&lt;H2&gt;&lt;STRONG&gt;Links&lt;/STRONG&gt;&lt;/H2&gt;&lt;P&gt;&lt;A href="https://dev.to/vishal_veerareddy_9cdd17d/emulating-the-claude-code-backend-for-databricks-llm-modelswith-mcp-git-tools-and-prompt-caching-1a60" target="_self"&gt;Dev.to&amp;nbsp;&lt;BR /&gt;&lt;/A&gt;&lt;A href="https://deepwiki.com/vishalveerareddy123/Lynkr" target="_self"&gt;DeepWiki&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;HR /&gt;&lt;H2&gt;&lt;STRONG&gt;Closing&lt;/STRONG&gt;&lt;/H2&gt;&lt;P&gt;If you’re exploring AI-assisted development inside Databricks, or want to experiment with Claude tools locally, I’d love feedback. Feel free to reply here or open issues/PRs on GitHub.&lt;/P&gt;&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 04 Dec 2025 07:03:13 GMT</pubDate>
    <dc:creator>vishalveeraredd</dc:creator>
    <dc:date>2025-12-04T07:03:13Z</dc:date>
    <item>
      <title>Building a Claude Code-Compatible Proxy for Databricks (with MCP, Git Tools, and Prompt Caching)</title>
      <link>https://community.databricks.com/t5/community-articles/building-a-claude-code-compatible-proxy-for-databricks-with-mcp/m-p/141106#M913</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Many Databricks engineers have asked whether it's possible to use &lt;STRONG&gt;Claude Code CLI directly against &lt;STRONG&gt;Databricks-hosted Claude models instead of Anthropic's cloud API. This enables repo-aware AI workflows—navigation, diffs, testing, MCP tools—right inside their Databricks projects.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I recently built an open-source tool called &lt;STRONG&gt;Lynkr, which acts as a &lt;EM&gt;Claude Code–compatible backend that runs locally or inside a Databricks environment. The proxy forwards /v1/messages requests to Databricks Serving Endpoints, while maintaining Claude Code’s structure for chat, tools, context, and workspace actions.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;GitHub Repo:&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":backhand_index_pointing_right:"&gt;👉&lt;/span&gt;&lt;A target="_new" rel="noopener"&gt;https://github.com/vishalveerareddy123/Lynkr&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The goal is to make Databricks a first-class environment for LLM-driven development workflows—while keeping everything transparent and configurable.&lt;/P&gt;&lt;HR /&gt;&lt;H2&gt;&lt;STRONG&gt;What Lynkr Enables for Databricks Users&lt;/STRONG&gt;&lt;/H2&gt;&lt;P&gt;With Lynkr running locally or in a VM, you can:&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;✔ Use the Claude Code CLI with Databricks models&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;No need for Anthropic cloud access. Just point the CLI at:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;DIV class=""&gt;&amp;nbsp;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;export ANTHROPIC_BASE_URL=http:&lt;SPAN class=""&gt;//localhost:8080&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;H3&gt;&lt;STRONG&gt;✔ Connect to Databricks Serving Endpoints&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;The proxy normalizes requests into the Databricks format and returns a Claude-compatible response.&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;✔ Enable repo-aware intelligence&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;Lynkr maintains a lightweight SQLite index of your repo, including:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;symbol search&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;cross-file references&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;framework/language detection&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;auto-generated CLAUDE.md project summary&lt;/P&gt;&lt;P&gt;This feeds richer context into the model.&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;✔ Use Git + workspace tools&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;The proxy implements many of the Git + tooling features you get with Claude Code:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;status, diff, stage, commit, push&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;automated diff summaries&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;test-gating &amp;amp; policies&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;release-note generation&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;✔ Integrate Model Context Protocol (MCP) servers&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;Lynkr automatically discovers MCP manifests (e.g., GitHub, Jira, internal tools) and exposes them as Claude Code tools.&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;✔ Use prompt caching&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;You can cache repeated prompts (configurable TTL + LRU size), drastically reducing Databricks compute calls for iterative work.&lt;/P&gt;&lt;HR /&gt;&lt;H2&gt;&lt;STRONG&gt;Architecture (High Level)&lt;/STRONG&gt;&lt;/H2&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;DIV class=""&gt;&amp;nbsp;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Claude Code &lt;SPAN class=""&gt;CLI
        ↓
   Lynkr Proxy
        ↓
Databricks Model Serving
        +
   Repo Indexing
        +
      MCP Tools
        +
   Git / &lt;SPAN class=""&gt;Diff Tools&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Everything is visible and tweakable—no hidden backend logic.&lt;/P&gt;&lt;HR /&gt;&lt;H2&gt;&lt;STRONG&gt;Getting Started (Databricks Setup)&lt;/STRONG&gt;&lt;/H2&gt;&lt;H3&gt;&lt;STRONG&gt;1. Install Lynkr&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;npm install -g lynkr lynkr start&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;H3&gt;&lt;STRONG&gt;2. Configure environment&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;Create an .env file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;DIV class=""&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;MODEL_PROVIDER=databricks DATABRICKS_API_BASE=https://&amp;lt;your-workspace&amp;gt;.cloud.databricks.com DATABRICKS_API_KEY=&amp;lt;your-databricks-pat&amp;gt; WORKSPACE_ROOT=/path/to/your/repo PORT=8080 PROMPT_CACHE_ENABLED=true&lt;/SPAN&gt;&lt;/PRE&gt;&lt;H3&gt;&lt;STRONG&gt;3. Point Claude Code CLI to Lynkr&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;export ANTHROPIC_BASE_URL=&lt;A href="http://localhost:8080" target="_blank" rel="noopener"&gt;http://localhost:8080/&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;export ANTHROPIC_API_KEY="#dummy"&lt;/PRE&gt;&lt;H3&gt;&lt;STRONG&gt;4. Use Claude Code normally&lt;/STRONG&gt;&lt;/H3&gt;&lt;P&gt;Commands like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;DIV class=""&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;claude explain file.js &lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;claude &lt;SPAN class=""&gt;diff &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;claude review&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt; claude apply&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;will now run against Databricks models.&lt;/P&gt;&lt;HR /&gt;&lt;H2&gt;&lt;STRONG&gt;Example: Rebuilding the Repo Index&lt;/STRONG&gt;&lt;/H2&gt;&lt;P&gt;This is one tool exposed by the proxy:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;PRE&gt;&lt;SPAN&gt;curl &lt;A href="http://localhost:8080/v1/messages" target="_blank" rel="noopener"&gt;http://localhost:8080/v1/messages \ -H &lt;SPAN class=""&gt;"Content-Type: application/json" \ -H "x-session-id: test" \ -d '{ "model": "claude-proxy", "messages": [{ "role": "user", "content": "Rebuild index" }], "tool_choice": { "type": "function", "function": { "name": "workspace_index_rebuild" } } }'&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;This refreshes CLAUDE.md, symbol search tables, and all metadata.&lt;/P&gt;&lt;HR /&gt;&lt;H2&gt;&lt;STRONG&gt;Why This Matters for Databricks&lt;/STRONG&gt;&lt;/H2&gt;&lt;P&gt;Databricks is becoming a powerful environment for:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;LLM-assisted development&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;agent workflows&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;code automation&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;data/ETL debugging with AI&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;internal tooling built on Claude models&lt;/P&gt;&lt;P&gt;Lynkr helps bridge the gap between:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;“I have a Databricks model endpoint”&lt;BR /&gt;and&lt;BR /&gt;&lt;STRONG&gt;“I want Claude Code-style interactions with my repo”&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;without relying on a closed backend.&lt;/P&gt;&lt;HR /&gt;&lt;H2&gt;&lt;STRONG&gt;Roadmap&lt;/STRONG&gt;&lt;/H2&gt;&lt;P&gt;Upcoming features:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;deeper LSP integration (for even smarter repo context)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;richer diff-thread reviews&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;expanded MCP tooling&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;fine-grained Git risk scoring&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;historical test dashboards&lt;/P&gt;&lt;HR /&gt;&lt;H2&gt;&lt;STRONG&gt;Links&lt;/STRONG&gt;&lt;/H2&gt;&lt;P&gt;&lt;A href="https://dev.to/vishal_veerareddy_9cdd17d/emulating-the-claude-code-backend-for-databricks-llm-modelswith-mcp-git-tools-and-prompt-caching-1a60" target="_self"&gt;Dev.to&amp;nbsp;&lt;BR /&gt;&lt;/A&gt;&lt;A href="https://deepwiki.com/vishalveerareddy123/Lynkr" target="_self"&gt;DeepWiki&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;HR /&gt;&lt;H2&gt;&lt;STRONG&gt;Closing&lt;/STRONG&gt;&lt;/H2&gt;&lt;P&gt;If you’re exploring AI-assisted development inside Databricks, or want to experiment with Claude tools locally, I’d love feedback. Feel free to reply here or open issues/PRs on GitHub.&lt;/P&gt;&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 04 Dec 2025 07:03:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/community-articles/building-a-claude-code-compatible-proxy-for-databricks-with-mcp/m-p/141106#M913</guid>
      <dc:creator>vishalveeraredd</dc:creator>
      <dc:date>2025-12-04T07:03:13Z</dc:date>
    </item>
  </channel>
</rss>

