<?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: Venkatakrishna S</title>
    <description>The latest articles on DEV Community by Venkatakrishna S (@venkatakrishna_s).</description>
    <link>https://dev.to/venkatakrishna_s</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%2F3910004%2Ff238e2c9-bb76-444f-a46c-87040d39f857.png</url>
      <title>DEV Community: Venkatakrishna S</title>
      <link>https://dev.to/venkatakrishna_s</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/venkatakrishna_s"/>
    <language>en</language>
    <item>
      <title>Caddy-mcp: tunnel private MCP servers through Caddy over QUIC</title>
      <dc:creator>Venkatakrishna S</dc:creator>
      <pubDate>Sun, 03 May 2026 11:20:27 +0000</pubDate>
      <link>https://dev.to/venkatakrishna_s/caddy-mcp-tunnel-private-mcp-servers-through-caddy-over-quic-4iag</link>
      <guid>https://dev.to/venkatakrishna_s/caddy-mcp-tunnel-private-mcp-servers-through-caddy-over-quic-4iag</guid>
      <description>&lt;p&gt;&lt;a href="https://github.com/venkatkrishna07/caddy-mcp" rel="noopener noreferrer"&gt;caddy-mcp&lt;/a&gt; is a Caddy plugin for exposing MCP servers that live on private networks. The private box dials out to Caddy over QUIC, Caddy serves it as a normal HTTPS endpoint. No inbound ports, no third party in the request path.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;          Public Internet
                |
                v
     +--------------------+
     |   Caddy :443       |   TLS, routing, middleware
     |   reverse_proxy    |
     +--------+-----------+
              |
              v
     +--------------------+
     |  caddy-mcp plugin  |   QUIC listener :4443
     |  tunnel registry   |   token store
     |  policy engine     |   MCP-aware ACLs
     |  audit logger      |   structured logging
     +--------+-----------+
              |
              | QUIC connection (TLS 1.3, multiplexed streams)
              v
     +--------------------+
     |   rift client      |   runs on private network
     |   --protocol mcp   |   dials out — no inbound ports
     +--------+-----------+
              |
              v
     +--------------------+
     |   MCP server       |   tools, resources, prompts
     |   localhost:9090   |
     +--------------------+
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;The dial-out side runs &lt;a href="https://github.com/venkatkrishna07/rift" rel="noopener noreferrer"&gt;rift&lt;/a&gt; with &lt;code&gt;--protocol mcp&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Two modes per tunnel:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Transparent&lt;/strong&gt; — Caddy forwards bytes untouched. The MCP server handles its own session and auth.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Aware&lt;/strong&gt; — Caddy parses the JSON-RPC and enforces policy before anything reaches the upstream:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;reverse_proxy mcp-tunnel {
    transport mcp {
        tunnel code-server
        mode aware
        allow_tools read_file list_files search
        deny_tools execute_command shell_exec
        allow_resources "file:///repo/*"
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Denied calls get a JSON-RPC error back. There's per-user ACLs via a policy file (effective permissions are the intersection of tunnel and user ACLs), and a structured audit log of every call — token, user, tool, resource, decision, latency.&lt;/p&gt;

&lt;p&gt;Status: beta, single Caddy instance, no HA. Works for personal and small-team setups.&lt;/p&gt;

&lt;p&gt;Most of the details are in the repo: &lt;a href="https://github.com/venkatkrishna07/caddy-mcp" rel="noopener noreferrer"&gt;github.com/venkatkrishna07/caddy-mcp&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>go</category>
      <category>caddy</category>
      <category>quic</category>
    </item>
  </channel>
</rss>
