<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: parth dagia</title>
    <description>The latest articles on DEV Community by parth dagia (@parth_dagia).</description>
    <link>https://dev.to/parth_dagia</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4270287%2Fdb49faae-c662-4746-8017-f820150bbf4d.png</url>
      <title>DEV Community: parth dagia</title>
      <link>https://dev.to/parth_dagia</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/parth_dagia"/>
    <language>en</language>
    <item>
      <title>Getting the LiteLLM proxy and MCP gateway running: the steps that work today</title>
      <dc:creator>parth dagia</dc:creator>
      <pubDate>Sat, 28 Nov 2026 07:33:18 +0000</pubDate>
      <link>https://dev.to/parth_dagia/getting-the-litellm-proxy-and-mcp-gateway-running-the-steps-that-work-today-11l2</link>
      <guid>https://dev.to/parth_dagia/getting-the-litellm-proxy-and-mcp-gateway-running-the-steps-that-work-today-11l2</guid>
      <description>&lt;p&gt;I installed LiteLLM 1.110.1 on the day it came out and followed the CLI quickstart and the MCP gateway page exactly as written. The proxy had changed faster than the docs. A master key is now required, a few sample requests predate that, and the example model is gone upstream. I hit nine walls before everything worked.&lt;/p&gt;

&lt;p&gt;This post is the version of the quickstart I wish I'd had. Each step is the one that works today. Where the docs say something different, there's a note on what you'll see if you follow them, so you can recognise the error when you hit it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tested on:&lt;/strong&gt; LiteLLM 1.110.1 (19 Nov 2026) and again on 1.111.0 (28 Nov 2026). macOS, Python 3.12. Every command below was run on 1.111.0.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;You'll end up with:&lt;/strong&gt; the LiteLLM proxy on port 4000, a working chat request, and the MCP gateway serving tools from an HTTP server, an SSE server and a stdio server.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python3 -m venv .venv &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;source&lt;/span&gt; .venv/bin/activate
pip install &lt;span class="s1"&gt;'litellm[proxy]'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Part 1: The proxy
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Step 1. Set a master key before anything else
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;LITELLM_MASTER_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"sk-$(openssl rand -hex 32)"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The proxy now refuses to start without one. The CLI quickstart doesn't mention it, so the first command on the page exits with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;LiteLLM proxy refused to start: no master key is set
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The error itself is good. It tells you exactly what to run.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Don't use &lt;code&gt;sk-1234&lt;/code&gt;.&lt;/strong&gt; It's the sample key in a lot of older LiteLLM examples, and the proxy rejects it on purpose as "a publicly known default". Generate a real one.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 2. Start the proxy with a model that exists
&lt;/h3&gt;

&lt;p&gt;With an OpenAI key:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;OPENAI_API_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"sk-..."&lt;/span&gt;
litellm --model gpt-4o-mini
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or with no API key at all, using a local model through &lt;a href="https://ollama.com" rel="noopener noreferrer"&gt;Ollama&lt;/a&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ollama pull llama3.2:3b
litellm --model ollama/llama3.2:3b
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The quickstart uses &lt;code&gt;huggingface/bigcode/starcoder&lt;/code&gt;. Hugging Face's router doesn't serve that model any more, so the request comes back as:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;litellm.AuthenticationError: HuggingfaceException ...
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;followed by about 300 lines of HTML. That HTML is the huggingface.co home page. It's labelled as an auth error, so you'll probably start checking your Hugging Face token, like I did. The token is fine. The model is gone.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 3. Send a test request, with the key
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl http://0.0.0.0:4000/v1/chat/completions \
  -H &lt;span class="s2"&gt;"Authorization: Bearer $LITELLM_MASTER_KEY"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{"model": "gpt-4o-mini", "messages": [{"role": "user", "content": "Say hi"}]}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;(Use &lt;code&gt;"model": "ollama/llama3.2:3b"&lt;/code&gt; if you started with Ollama.)&lt;/p&gt;

&lt;p&gt;The curl on the quickstart page has no &lt;code&gt;Authorization&lt;/code&gt; header, and the OpenAI Python sample passes &lt;code&gt;api_key="anything"&lt;/code&gt;. Both were written before the master key was required, and both now return:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"error"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"message"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;"Authentication Error, No api key passed in."&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In Python, pass the real key:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;openai&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt;

&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;environ&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"LITELLM_MASTER_KEY"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;base_url&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"http://0.0.0.0:4000"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;chat&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;completions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"gpt-4o-mini"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"role"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"user"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"content"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Say hi"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;choices&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;content&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Skip &lt;code&gt;litellm --test&lt;/code&gt;.&lt;/strong&gt; The page tells you to run it in a second shell. Without an argument it crashes with &lt;code&gt;ValueError: Invalid test value&lt;/code&gt;. &lt;code&gt;--help&lt;/code&gt; says it takes a URL, but &lt;code&gt;litellm --test http://0.0.0.0:4000&lt;/code&gt; gives &lt;code&gt;Unknown command: http://0.0.0.0:4000&lt;/code&gt;, because click reads the URL as a command instead of the option's value. The curl above does the same job.&lt;/p&gt;

&lt;h2&gt;
  
  
  Part 2: The MCP gateway
&lt;/h2&gt;

&lt;p&gt;I used three kinds of MCP server: DeepWiki over streamable HTTP (the one the docs use), the official filesystem server over stdio, and a small SSE server I wrote with the &lt;code&gt;mcp&lt;/code&gt; SDK, so I could check the SSE path against something I controlled.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 4. Enable stdio servers if you use any
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;LITELLM_ENABLE_MCP_STDIO&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Without this, stdio servers are disabled. The proxy logs one warning at startup:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;MCP server 'fs_mcp' will not start: stdio MCP servers are disabled on this proxy.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After that, nothing else tells you. The server is missing from the tool list, and &lt;code&gt;GET /v1/mcp/server&lt;/code&gt; shows &lt;code&gt;"status": null&lt;/code&gt; for it, the same as for the servers that work. The docs say a disabled stdio server is reported as unhealthy. It isn't. If a stdio server's tools are missing, check this flag before you debug the server.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 5. Write the config, and always set &lt;code&gt;transport&lt;/code&gt;
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;model_list&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;model_name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;gpt-4o-mini&lt;/span&gt;
    &lt;span class="na"&gt;litellm_params&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;model&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;openai/gpt-4o-mini&lt;/span&gt;
      &lt;span class="na"&gt;api_key&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;os.environ/OPENAI_API_KEY&lt;/span&gt;

&lt;span class="na"&gt;mcp_servers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;deepwiki_mcp&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;url&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://mcp.deepwiki.com/mcp"&lt;/span&gt;
    &lt;span class="na"&gt;transport&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"http"&lt;/span&gt;
  &lt;span class="na"&gt;my_sse_server&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;url&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"http://localhost:8001/sse"&lt;/span&gt;
    &lt;span class="na"&gt;transport&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"sse"&lt;/span&gt;          &lt;span class="c1"&gt;# required: the default is http
&lt;/span&gt;  &lt;span class="na"&gt;fs_mcp&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;transport&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"stdio"&lt;/span&gt;
    &lt;span class="na"&gt;command&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"npx"&lt;/span&gt;
    &lt;span class="na"&gt;args&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"-y"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"@modelcontextprotocol/server-filesystem"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"/tmp"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="na"&gt;litellm_settings&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;mcp_aliases&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;deepwiki&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;deepwiki_mcp&lt;/span&gt;    &lt;span class="c1"&gt;# must match a key under mcp_servers exactly
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;litellm --config config.yaml
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two lines in that file are there because of the docs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;transport: "sse"&lt;/code&gt;.&lt;/strong&gt; The Zapier example on the MCP page is a URL ending in &lt;code&gt;/sse&lt;/code&gt;, with the comment &lt;code&gt;# SSE Server&lt;/code&gt; and no &lt;code&gt;transport&lt;/code&gt; key. The same page says transport "defaults to &lt;code&gt;http&lt;/code&gt; in &lt;code&gt;config.yaml&lt;/code&gt;". Both are true, and together they break. With no transport, the proxy talks HTTP to the SSE server and logs:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight http"&gt;&lt;code&gt;&lt;span class="no"&gt;POST&lt;/span&gt; &lt;span class="n"&gt;http&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="c1"&gt;//localhost:8001/ -&amp;gt; HTTP 405&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The server's tools never show up, and calling one returns &lt;code&gt;Tool ping not found&lt;/code&gt;. Adding &lt;code&gt;transport: "sse"&lt;/code&gt; fixes it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The alias target.&lt;/strong&gt; The page's &lt;code&gt;mcp_aliases&lt;/code&gt; example maps &lt;code&gt;deepwiki&lt;/code&gt; to &lt;code&gt;deepwiki_mcp_server&lt;/code&gt;, but the DeepWiki server defined on the same page is called &lt;code&gt;deepwiki_mcp&lt;/code&gt;. If you copy both, requests using the alias fail with a 403:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;The key is not allowed to access the requested MCP servers: deepwiki
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That reads like a permissions problem, so I went through key settings first. The real problem is that the alias points at a server that doesn't exist, and nothing warns you at startup. If you see this error, put the alias target and the server name side by side.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 6. List the tools
&lt;/h3&gt;

&lt;p&gt;Over REST:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl http://0.0.0.0:4000/mcp-rest/tools/list \
  -H &lt;span class="s2"&gt;"x-litellm-api-key: Bearer $LITELLM_MASTER_KEY"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With the config above this returns 20 tools: 3 from DeepWiki, 1 from the SSE server and 16 from the filesystem server. The &lt;code&gt;Bearer&lt;/code&gt; prefix is optional on this header. Both forms work.&lt;/p&gt;

&lt;p&gt;To get one server's tools over REST, add &lt;code&gt;?server_id=deepwiki_mcp&lt;/code&gt;. The &lt;code&gt;x-mcp-servers&lt;/code&gt; header doesn't filter this endpoint. It does filter the MCP endpoint at &lt;code&gt;/mcp&lt;/code&gt;, where &lt;code&gt;x-mcp-servers: deepwiki&lt;/code&gt; (the alias) returns only DeepWiki's three tools. There the tool names are prefixed with the alias, as in &lt;code&gt;deepwiki-read_wiki_structure&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 7. Call a tool over REST, with &lt;code&gt;server_id&lt;/code&gt;
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl http://0.0.0.0:4000/mcp-rest/tools/call \
  -H &lt;span class="s2"&gt;"x-litellm-api-key: Bearer $LITELLM_MASTER_KEY"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{"name": "read_wiki_structure", "server_id": "deepwiki_mcp", "arguments": {"repoName": "BerriAI/litellm"}}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This returns the table of contents of LiteLLM's own DeepWiki. &lt;code&gt;server_id&lt;/code&gt; takes the server name or the alias, and it's required on this endpoint, even if you use a prefixed tool name.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I didn't test
&lt;/h2&gt;

&lt;p&gt;I tested the gateway directly, over REST and the &lt;code&gt;/mcp&lt;/code&gt; endpoint, because that's where the config and docs problems were. I didn't put a model in the loop with &lt;code&gt;/v1/responses&lt;/code&gt; and &lt;code&gt;server_url: "litellm_proxy"&lt;/code&gt;. Doing that with the Ollama model from step 2 is next.&lt;/p&gt;

&lt;h2&gt;
  
  
  The issues, for the LiteLLM team
&lt;/h2&gt;

&lt;p&gt;Found on 1.110.1 and re-checked on 1.111.0 against the docs as of 28 Nov 2026. Each is a small docs change, and a few have a product fix that would have saved me the most time.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The CLI quickstart doesn't mention &lt;code&gt;LITELLM_MASTER_KEY&lt;/code&gt;.&lt;/strong&gt; Add the &lt;code&gt;export&lt;/code&gt; line above the start command.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;sk-1234&lt;/code&gt; from older examples is rejected as a known default.&lt;/strong&gt; That's the right call. A note in the master key docs would help people coming from older guides.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The quickstart curl and Python sample send no key.&lt;/strong&gt; Add &lt;code&gt;Authorization: Bearer $LITELLM_MASTER_KEY&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;litellm --test&lt;/code&gt; fails with and without a URL.&lt;/strong&gt; Remove the step until the CLI option is fixed. Also cut the line about &lt;code&gt;gpt-3.5-turbo&lt;/code&gt; routing to starcoder, since that alias is never set up.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;huggingface/bigcode/starcoder&lt;/code&gt; is gone upstream.&lt;/strong&gt; Use a live model on the page. Product: truncate non-JSON error bodies instead of putting a whole HTML page in the error string.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The SSE example has no &lt;code&gt;transport&lt;/code&gt;, so it connects over HTTP and gets a 405.&lt;/strong&gt; Add &lt;code&gt;transport: "sse"&lt;/code&gt;. Product: warn at startup when a URL ends in &lt;code&gt;/sse&lt;/code&gt; and transport is &lt;code&gt;http&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The &lt;code&gt;mcp_aliases&lt;/code&gt; example points at a server name the page never defines, and the error blames the key.&lt;/strong&gt; Make the names match. Product: warn, or refuse to start, when an alias has no target.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A disabled stdio server isn't reported as unhealthy.&lt;/strong&gt; It reports &lt;code&gt;"status": null&lt;/code&gt;, like a working server. Report it as &lt;code&gt;disabled&lt;/code&gt;, as the docs say.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Already fixed:&lt;/strong&gt; on 19 Nov, the REST docs said &lt;code&gt;server_id&lt;/code&gt; was optional with a prefixed tool name, but the endpoint required it. The REST page now lists &lt;code&gt;server_id&lt;/code&gt; as required, so the docs and the endpoint agree.&lt;/p&gt;

&lt;p&gt;Once I got past these, the gateway was solid. Most of the fixes are one line each.&lt;/p&gt;

</description>
      <category>litellm</category>
      <category>mcp</category>
      <category>python</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
