<?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>Forem: Murat-A-A</title>
    <description>The latest articles on Forem by Murat-A-A (@murat-a-a).</description>
    <link>https://forem.com/murat-a-a</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3844487%2F8a09bc12-749f-4aad-b578-5397beaf98bd.png</url>
      <title>Forem: Murat-A-A</title>
      <link>https://forem.com/murat-a-a</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/murat-a-a"/>
    <language>en</language>
    <item>
      <title>How We Got Local MCP Servers Working in Claude Cowork (The Missing Guide)</title>
      <dc:creator>Murat-A-A</dc:creator>
      <pubDate>Thu, 26 Mar 2026 10:20:36 +0000</pubDate>
      <link>https://forem.com/murat-a-a/how-we-got-local-mcp-servers-working-in-claude-cowork-the-missing-guide-nbc</link>
      <guid>https://forem.com/murat-a-a/how-we-got-local-mcp-servers-working-in-claude-cowork-the-missing-guide-nbc</guid>
      <description>&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; Everyone says "MCP doesn't work in Cowork." We solved it using supergateway + pm2. It worked on the first try. Here's the full setup.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;Claude Code's &lt;strong&gt;Cowork mode&lt;/strong&gt; runs inside a sandboxed VM. This means local &lt;code&gt;stdio&lt;/code&gt; MCP servers — which run as child processes on your machine — simply can't connect. The VM has no access to your local processes.&lt;/p&gt;

&lt;p&gt;The community response has been universal: &lt;em&gt;"MCP is not supported in Cowork."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;But that's not entirely true.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Solution: Two Layers
&lt;/h2&gt;

&lt;p&gt;We discovered that Cowork actually supports MCP through &lt;strong&gt;two different mechanisms&lt;/strong&gt; — and by combining them, we got 18+ MCP servers working reliably in production.&lt;/p&gt;

&lt;h3&gt;
  
  
  Layer 1: Claude Desktop SDK Bridge (Built-in, Undocumented)
&lt;/h3&gt;

&lt;p&gt;What most people don't realize: if you configure MCP servers in your &lt;code&gt;claude_desktop_config.json&lt;/code&gt;, Claude Desktop &lt;strong&gt;automatically bridges them&lt;/strong&gt; into the Cowork VM via its SDK layer.&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="err"&gt;//&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;claude_desktop_config.json&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;(on&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;your&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;local&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;machine)&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"outlook-mcp"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"node"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"args"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"C:/apps/outlook-mcp/dist/index.js"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"Windows-MCP"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"npx"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"args"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&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="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"@anthropic/windows-mcp"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These show up in Cowork as &lt;code&gt;"type": "sdk"&lt;/code&gt; — meaning Desktop proxies them transparently. &lt;strong&gt;No extra configuration needed.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This alone gives you access to any stdio MCP server you've configured locally.&lt;/p&gt;

&lt;h3&gt;
  
  
  Layer 2: supergateway HTTP Bridge (For Additional Servers)
&lt;/h3&gt;

&lt;p&gt;For MCP servers that aren't in your Desktop config — or that you want to host on a separate machine — we use &lt;a href="https://github.com/supercorp-ai/supergateway" rel="noopener noreferrer"&gt;supergateway&lt;/a&gt; to convert stdio MCP servers into HTTP endpoints.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Architecture:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[Cowork VM] --HTTP--&amp;gt; [Your Server:8001-800x] --supergateway--&amp;gt; [MCP Server (stdio)]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Setup steps:&lt;/strong&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  1. Install supergateway
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; supergateway
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  2. Create a startup script for each MCP server
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# start-mcp-servers.sh&lt;/span&gt;
supergateway &lt;span class="nt"&gt;--stdio&lt;/span&gt; &lt;span class="s2"&gt;"npx -y @anthropic/alphabanana-mcp"&lt;/span&gt; &lt;span class="nt"&gt;--port&lt;/span&gt; 8001 &lt;span class="nt"&gt;--baseUrl&lt;/span&gt; /mcp &amp;amp;
supergateway &lt;span class="nt"&gt;--stdio&lt;/span&gt; &lt;span class="s2"&gt;"npx -y @anthropic/mermaid-mcp"&lt;/span&gt; &lt;span class="nt"&gt;--port&lt;/span&gt; 8002 &lt;span class="nt"&gt;--baseUrl&lt;/span&gt; /mcp &amp;amp;
supergateway &lt;span class="nt"&gt;--stdio&lt;/span&gt; &lt;span class="s2"&gt;"npx -y @anthropic/pandoc-mcp"&lt;/span&gt; &lt;span class="nt"&gt;--port&lt;/span&gt; 8003 &lt;span class="nt"&gt;--baseUrl&lt;/span&gt; /mcp &amp;amp;
supergateway &lt;span class="nt"&gt;--stdio&lt;/span&gt; &lt;span class="s2"&gt;"npx -y @anthropic/antv-chart-mcp"&lt;/span&gt; &lt;span class="nt"&gt;--port&lt;/span&gt; 8004 &lt;span class="nt"&gt;--baseUrl&lt;/span&gt; /mcp &amp;amp;
supergateway &lt;span class="nt"&gt;--stdio&lt;/span&gt; &lt;span class="s2"&gt;"npx -y @anthropic/un-markdown-mcp"&lt;/span&gt; &lt;span class="nt"&gt;--port&lt;/span&gt; 8005 &lt;span class="nt"&gt;--baseUrl&lt;/span&gt; /mcp &amp;amp;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  3. Use pm2 for process management
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; pm2
pm2 start start-mcp-servers.sh &lt;span class="nt"&gt;--name&lt;/span&gt; mcp-bridge
pm2 save
pm2 startup  &lt;span class="c"&gt;# auto-start on boot&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  4. Add to your project's .mcp.json
&lt;/h4&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="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"alphabanana"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"streamable-http"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"http://localhost:8001/mcp"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"mermaid"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"streamable-http"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"http://localhost:8002/mcp"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  5. (Optional) Access from other machines via Tailscale
&lt;/h4&gt;

&lt;p&gt;If your MCP host machine is on a Tailscale network, replace &lt;code&gt;localhost&lt;/code&gt; with the Tailscale IP — and you can access these MCP servers from any device on your network.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Full Architecture
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Cowork VM
  |
  +-- SDK Bridge (automatic)
  |     +-- Claude Desktop proxies locally-configured MCPs
  |         +-- outlook-mcp
  |         +-- Windows-MCP
  |         +-- PDF Tools
  |         +-- Notion
  |         +-- Claude in Chrome
  |         +-- Playwright
  |         +-- Excel MCP
  |         +-- ... (any stdio MCP in claude_desktop_config.json)
  |
  +-- HTTP Bridge (supergateway)
        +-- Remote HTTP endpoints on your server
            +-- :8001 -&amp;gt; alphabanana (image generation)
            +-- :8002 -&amp;gt; mermaid (diagram preview)
            +-- :8003 -&amp;gt; pandoc (document conversion)
            +-- :8004 -&amp;gt; antv-chart (30+ chart types)
            +-- :8005 -&amp;gt; un-markdown (document publishing)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Results
&lt;/h2&gt;

&lt;p&gt;This worked on the first attempt. We now have:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;18 MCP servers&lt;/strong&gt; active simultaneously in Cowork&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero downtime&lt;/strong&gt; (pm2 auto-restarts on crash)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Full functionality&lt;/strong&gt; — document generation, browser automation, email, calendar, Excel, charts, diagrams, all working inside Cowork&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why This Matters
&lt;/h2&gt;

&lt;p&gt;The "MCP doesn't work in Cowork" narrative is holding back a lot of teams. With this two-layer approach, you get the &lt;strong&gt;full power of MCP&lt;/strong&gt; inside Cowork sessions — which makes Claude Desktop + Cowork a genuinely viable team collaboration platform.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;— Murat_construction_Germany&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>devops</category>
      <category>productivity</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
