<?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: Sandeep Suddala</title>
    <description>The latest articles on DEV Community by Sandeep Suddala (@sundeep_suddala).</description>
    <link>https://dev.to/sundeep_suddala</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%2F3998868%2F2293d706-5892-47a1-ba3f-3412d0faad3a.png</url>
      <title>DEV Community: Sandeep Suddala</title>
      <link>https://dev.to/sundeep_suddala</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sundeep_suddala"/>
    <language>en</language>
    <item>
      <title>I built an open-source MCP server that gives AI agents access to ALL your local Git repos at once.</title>
      <dc:creator>Sandeep Suddala</dc:creator>
      <pubDate>Tue, 23 Jun 2026 13:33:00 +0000</pubDate>
      <link>https://dev.to/sundeep_suddala/i-built-an-open-source-mcp-server-that-gives-ai-agents-access-to-all-your-local-git-repos-at-once-18jh</link>
      <guid>https://dev.to/sundeep_suddala/i-built-an-open-source-mcp-server-that-gives-ai-agents-access-to-all-your-local-git-repos-at-once-18jh</guid>
      <description>&lt;p&gt;I asked my AI agent "which microservice owns the payment logic?"&lt;/p&gt;

&lt;p&gt;It had no idea. I was pointing it at the wrong repo.&lt;/p&gt;

&lt;p&gt;So I fixed that by building repobridge - an MCP server that gives any AI agent access to ALL your local Git repos at once.&lt;/p&gt;

&lt;p&gt;The problem&lt;br&gt;
I work across dozens of Java microservices every day. Every time I asked Claude Code or GitHub Copilot to help me, I had to manually navigate to the right repo first. Questions like "where is this config key set?" or "which service calls this endpoint?" took 10 minutes of grepping. I wanted to just ask and get an answer.&lt;/p&gt;

&lt;p&gt;What repobridge does&lt;br&gt;
Search code across all your repos in one query&lt;br&gt;
Read files, check git status / diff / log - without leaving your AI conversation&lt;br&gt;
Find which repo contains a specific class, method, or config key&lt;br&gt;
Trigger builds (Gradle / Maven / npm) directly from chat&lt;br&gt;
Works with Claude Code, GitHub Copilot, Gemini, Cursor, Windsurf - anything MCP-compatible&lt;/p&gt;

&lt;p&gt;What I learned about MCP&lt;br&gt;
The Model Context Protocol is Anthropic's open standard for connecting AI agents to external tools. Think of it like a USB-C port - one protocol, any device.&lt;/p&gt;

&lt;p&gt;Building with the Python MCP SDK (specifically FastMCP) was surprisingly simple. You define a tool with a decorator and a docstring, and the protocol handles everything else:&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="nd"&gt;@mcp.tool&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;search_code&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;repo_name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;pattern&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;file_glob&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;**/*&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="sh"&gt;"""&lt;/span&gt;&lt;span class="s"&gt;Search for a regex pattern across files in a repository.&lt;/span&gt;&lt;span class="sh"&gt;"""&lt;/span&gt;
    &lt;span class="c1"&gt;# ... implementation 
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it. The SDK generates the JSON schema, handles transport, and exposes your tool to any connected AI agent.&lt;/p&gt;

&lt;p&gt;What I learned about Python (as a Java developer)&lt;br&gt;
Coming from Spring Boot, Python felt both liberating and disorienting:&lt;/p&gt;

&lt;p&gt;FastMCP is the equivalent of Spring's @RestController - but 10x less ceremony&lt;br&gt;
pathlib.Path is genuinely better than Java's File&lt;br&gt;
Threading primitives look familiar but the GIL changes everything&lt;br&gt;
pyproject.toml is the pom.xml I always wished I had&lt;/p&gt;

&lt;p&gt;The hardest part was unlearning verbosity. Python rewards conciseness in a way Java doesn't.&lt;/p&gt;

&lt;p&gt;The result&lt;br&gt;
A single-file server with thread-safe caching, optional auth tokens, ripgrep support for fast search, and multi-transport support (stdio for local, SSE / HTTP for remote agents).&lt;/p&gt;

&lt;p&gt;It took about a week to build - mostly because I was learning Python and the MCP SDK at the same time.&lt;/p&gt;

&lt;p&gt;Open source on GitHub: &lt;a href="https://github.com/sundeepsuddala/repobridge" rel="noopener noreferrer"&gt;https://github.com/sundeepsuddala/repobridge&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you're a Java / Spring developer curious about MCP or Python, a small MCP server is the best learning project I've found. The feedback loop is immediate - your AI agent tells you when something is broken.&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>claude</category>
      <category>python</category>
    </item>
  </channel>
</rss>
