<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vikas Sharma on Medium]]></title>
        <description><![CDATA[Stories by Vikas Sharma on Medium]]></description>
        <link>https://medium.com/@vik-sharma?source=rss-98340968c60e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*MgYAp3f_qX3aIIeDqQHBog.jpeg</url>
            <title>Stories by Vikas Sharma on Medium</title>
            <link>https://medium.com/@vik-sharma?source=rss-98340968c60e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 14:26:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vik-sharma/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Goodbye Stateful MCP: Understanding the New Stateless Architecture]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://vik-sharma.medium.com/goodbye-stateful-mcp-understanding-the-new-stateless-architecture-b22f970dd6bf?source=rss-98340968c60e------2"><img src="https://cdn-images-1.medium.com/max/793/1*XUoKUNQv88APfCsoOfsvxg.png" width="793"></a></p><p class="medium-feed-snippet">Model Context Protocol, or MCP, is quickly becoming an important standard for connecting AI applications to tools, APIs, databases, and&#x2026;</p><p class="medium-feed-link"><a href="https://vik-sharma.medium.com/goodbye-stateful-mcp-understanding-the-new-stateless-architecture-b22f970dd6bf?source=rss-98340968c60e------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://vik-sharma.medium.com/goodbye-stateful-mcp-understanding-the-new-stateless-architecture-b22f970dd6bf?source=rss-98340968c60e------2</link>
            <guid isPermaLink="false">https://medium.com/p/b22f970dd6bf</guid>
            <category><![CDATA[state-management]]></category>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[session-management]]></category>
            <category><![CDATA[stateless]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Vikas Sharma]]></dc:creator>
            <pubDate>Thu, 13 Aug 2026 04:42:55 GMT</pubDate>
            <atom:updated>2026-08-13T04:42:55.649Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Stop Reaching for a Separate Vector DB: Build RAG in .NET with SQL Server 2025]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">How I built a practical RAG agent in C# using SQL Server 2025 native vectors, EF Core 10, Microsoft Agent Framework, and Google Gemini</p><p class="medium-feed-link"><a href="https://vik-sharma.medium.com/stop-reaching-for-a-separate-vector-db-build-rag-in-net-with-sql-server-2025-9e7858db7030?source=rss-98340968c60e------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://vik-sharma.medium.com/stop-reaching-for-a-separate-vector-db-build-rag-in-net-with-sql-server-2025-9e7858db7030?source=rss-98340968c60e------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e7858db7030</guid>
            <category><![CDATA[microsoft-agent-framework]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[sql-server]]></category>
            <category><![CDATA[retrieval-augmented-gen]]></category>
            <category><![CDATA[vector-database]]></category>
            <dc:creator><![CDATA[Vikas Sharma]]></dc:creator>
            <pubDate>Fri, 08 May 2026 04:30:24 GMT</pubDate>
            <atom:updated>2026-05-08T04:31:17.583Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How I Built an AI Video Generator with Microsoft Agent Framework Workflows in .NET]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://vik-sharma.medium.com/how-i-built-an-ai-video-generator-with-microsoft-agent-framework-workflows-in-net-87e3da6f1395?source=rss-98340968c60e------2"><img src="https://cdn-images-1.medium.com/max/1886/1*8yhd1uKGChESwTQklOq4zQ.png" width="1886"></a></p><p class="medium-feed-snippet">Introduction</p><p class="medium-feed-link"><a href="https://vik-sharma.medium.com/how-i-built-an-ai-video-generator-with-microsoft-agent-framework-workflows-in-net-87e3da6f1395?source=rss-98340968c60e------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://vik-sharma.medium.com/how-i-built-an-ai-video-generator-with-microsoft-agent-framework-workflows-in-net-87e3da6f1395?source=rss-98340968c60e------2</link>
            <guid isPermaLink="false">https://medium.com/p/87e3da6f1395</guid>
            <category><![CDATA[agentic-workflow]]></category>
            <category><![CDATA[microsoft-agent-framework]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[dotnet]]></category>
            <category><![CDATA[ai-video-generator]]></category>
            <dc:creator><![CDATA[Vikas Sharma]]></dc:creator>
            <pubDate>Wed, 18 Mar 2026 12:43:23 GMT</pubDate>
            <atom:updated>2026-03-18T12:43:23.429Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Publishing My First MCP Server to NuGet Took Fewer Steps Than You Think]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://vik-sharma.medium.com/publishing-my-first-mcp-server-to-nuget-took-fewer-steps-than-you-think-64da023bb45a?source=rss-98340968c60e------2"><img src="https://cdn-images-1.medium.com/max/880/1*VF_I5bL1adi58ZQZxs3YfA.png" width="880"></a></p><p class="medium-feed-snippet">A practical guide to building, packaging, and publishing your MCP server using .NET and NuGet.</p><p class="medium-feed-link"><a href="https://vik-sharma.medium.com/publishing-my-first-mcp-server-to-nuget-took-fewer-steps-than-you-think-64da023bb45a?source=rss-98340968c60e------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://vik-sharma.medium.com/publishing-my-first-mcp-server-to-nuget-took-fewer-steps-than-you-think-64da023bb45a?source=rss-98340968c60e------2</link>
            <guid isPermaLink="false">https://medium.com/p/64da023bb45a</guid>
            <category><![CDATA[nuget]]></category>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[dotnet]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[mcp-server]]></category>
            <dc:creator><![CDATA[Vikas Sharma]]></dc:creator>
            <pubDate>Mon, 16 Feb 2026 06:07:36 GMT</pubDate>
            <atom:updated>2026-02-16T06:34:01.748Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How I Built an Alexa-Like Voice Assistant Using C# and Google Gemini Live API]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://vik-sharma.medium.com/how-i-built-an-alexa-like-voice-assistant-using-c-and-google-gemini-live-api-de4f29f9f9d5?source=rss-98340968c60e------2"><img src="https://cdn-images-1.medium.com/max/1006/1*t5vOpqdth5g4IPT3Mu9YRg.png" width="1006"></a></p><p class="medium-feed-snippet">Voice assistants like Alexa and Google Assistant feel incredibly complex to build.</p><p class="medium-feed-link"><a href="https://vik-sharma.medium.com/how-i-built-an-alexa-like-voice-assistant-using-c-and-google-gemini-live-api-de4f29f9f9d5?source=rss-98340968c60e------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://vik-sharma.medium.com/how-i-built-an-alexa-like-voice-assistant-using-c-and-google-gemini-live-api-de4f29f9f9d5?source=rss-98340968c60e------2</link>
            <guid isPermaLink="false">https://medium.com/p/de4f29f9f9d5</guid>
            <category><![CDATA[c-sharp-programming]]></category>
            <category><![CDATA[gemini]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[voice-assistant]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <dc:creator><![CDATA[Vikas Sharma]]></dc:creator>
            <pubDate>Wed, 04 Feb 2026 04:17:42 GMT</pubDate>
            <atom:updated>2026-02-10T05:33:31.763Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Senior Developer Mindset vs Junior Developer Mindset]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://vik-sharma.medium.com/senior-developer-mindset-vs-junior-developer-mindset-7c81d0359670?source=rss-98340968c60e------2"><img src="https://cdn-images-1.medium.com/max/1536/1*a3Rcn8_7ftpLIMW8C06BAg.png" width="1536"></a></p><p class="medium-feed-snippet">Seen Through Everyday Production Code</p><p class="medium-feed-link"><a href="https://vik-sharma.medium.com/senior-developer-mindset-vs-junior-developer-mindset-7c81d0359670?source=rss-98340968c60e------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://vik-sharma.medium.com/senior-developer-mindset-vs-junior-developer-mindset-7c81d0359670?source=rss-98340968c60e------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c81d0359670</guid>
            <category><![CDATA[junior-developer]]></category>
            <category><![CDATA[aspnetcore]]></category>
            <category><![CDATA[senior-developer]]></category>
            <category><![CDATA[design-patterns]]></category>
            <category><![CDATA[dotnet]]></category>
            <dc:creator><![CDATA[Vikas Sharma]]></dc:creator>
            <pubDate>Tue, 27 Jan 2026 05:44:24 GMT</pubDate>
            <atom:updated>2026-01-27T06:08:30.416Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[AI Is Expensive. Here’s a Free Stack That Actually Works.]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">AI demos are cheap.
Running AI in production is not.</p><p class="medium-feed-link"><a href="https://medium.com/null-exception/ai-is-expensive-heres-a-free-stack-that-actually-works-84569454051d?source=rss-98340968c60e------2">Continue reading on Null Exception »</a></p></div>]]></description>
            <link>https://medium.com/null-exception/ai-is-expensive-heres-a-free-stack-that-actually-works-84569454051d?source=rss-98340968c60e------2</link>
            <guid isPermaLink="false">https://medium.com/p/84569454051d</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[free-ai-tools]]></category>
            <category><![CDATA[ollama]]></category>
            <category><![CDATA[dotnet]]></category>
            <category><![CDATA[microsoft-agent-framework]]></category>
            <dc:creator><![CDATA[Vikas Sharma]]></dc:creator>
            <pubDate>Sat, 24 Jan 2026 16:40:13 GMT</pubDate>
            <atom:updated>2026-01-24T16:40:13.268Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Creating an A2A Agent is easier than you think with Microsoft Agent Framework]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://vik-sharma.medium.com/creating-an-a2a-agent-is-easier-than-you-think-with-microsoft-agent-framework-7bf0cf2c1425?source=rss-98340968c60e------2"><img src="https://cdn-images-1.medium.com/max/1536/1*72UUqdqiRicWKv4o8ZBrtQ.png" width="1536"></a></p><p class="medium-feed-snippet">Microsoft Agent Framework (MAF) is an open-source development kit designed to help developers build intelligent AI agents and multi-agent&#x2026;</p><p class="medium-feed-link"><a href="https://vik-sharma.medium.com/creating-an-a2a-agent-is-easier-than-you-think-with-microsoft-agent-framework-7bf0cf2c1425?source=rss-98340968c60e------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://vik-sharma.medium.com/creating-an-a2a-agent-is-easier-than-you-think-with-microsoft-agent-framework-7bf0cf2c1425?source=rss-98340968c60e------2</link>
            <guid isPermaLink="false">https://medium.com/p/7bf0cf2c1425</guid>
            <category><![CDATA[c-sharp-programming]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ollama]]></category>
            <category><![CDATA[a2a-protocol]]></category>
            <category><![CDATA[microsoft-agent-framework]]></category>
            <dc:creator><![CDATA[Vikas Sharma]]></dc:creator>
            <pubDate>Thu, 22 Jan 2026 05:53:43 GMT</pubDate>
            <atom:updated>2026-01-22T05:55:49.889Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Securing AI Agents in A2A protocol]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/null-exception/securing-ai-agents-in-a2a-protocol-bf912c7826f4?source=rss-98340968c60e------2"><img src="https://cdn-images-1.medium.com/max/1024/1*2LNh9CnR5luDLYo1K3_DOQ.png" width="1024"></a></p><p class="medium-feed-snippet">When it comes to building AI systems for the enterprise, security and trust are non-negotiable.</p><p class="medium-feed-link"><a href="https://medium.com/null-exception/securing-ai-agents-in-a2a-protocol-bf912c7826f4?source=rss-98340968c60e------2">Continue reading on Null Exception »</a></p></div>]]></description>
            <link>https://medium.com/null-exception/securing-ai-agents-in-a2a-protocol-bf912c7826f4?source=rss-98340968c60e------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf912c7826f4</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[a2a-protocol]]></category>
            <category><![CDATA[authentication]]></category>
            <category><![CDATA[dotnet]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Vikas Sharma]]></dc:creator>
            <pubDate>Tue, 26 Aug 2025 04:18:33 GMT</pubDate>
            <atom:updated>2025-08-26T11:49:08.803Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Building an MCP Server with .NET Core: Creating Gmail MCP Server]]></title>
            <link>https://medium.com/null-exception/building-an-mcp-server-with-net-core-creating-gmail-mcp-server-e502e6366845?source=rss-98340968c60e------2</link>
            <guid isPermaLink="false">https://medium.com/p/e502e6366845</guid>
            <category><![CDATA[gmail]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[mcp-tool]]></category>
            <category><![CDATA[dotnet-core]]></category>
            <category><![CDATA[mcp-server]]></category>
            <dc:creator><![CDATA[Vikas Sharma]]></dc:creator>
            <pubDate>Fri, 04 Jul 2025 10:00:09 GMT</pubDate>
            <atom:updated>2025-08-23T12:30:59.306Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building an MCP Server with .NET Core: Creating Gmail MCP Server</h3><h3>Introduction</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/0*3f7rUksuLZU5fGp4" /></figure><p>MCP is an open protocol that standardizes how applications provide context to LLMs. In this guide, we’ll show you how to build an MCP server using .NET Core, step by step, and integrate it with Gmail for practical, real-world use.</p><p>We will create an Gmail MCP server that will expose tools to read the latest email, draft an email and send an email.</p><h3>Prerequisites</h3><ul><li>.Net 8 SDK</li><li>Google Cloud project with Gmail API enabled</li><li>OAuth 2.0 Credentials (credentials.json)</li></ul><h3>Nugets Used</h3><p>We basically need only four main nugets, two for Google Apis and two for MCP.</p><pre>dotnet add package Google.Apis.Gmail.v1<br>dotnet add package Google.Apis.Auth<br>dotnet add package ModelContextProtocol --version 0.3.0-preview.2<br>dotnet add package ModelContextProtocol.AspNetCore --version 0.3.0-preview.2</pre><h3>Setting up MCP server</h3><p>Thanks to the MCP nugets, setting up the MCP server is a piece of cake. We will create a streamable http MCP server.</p><pre>// Program.cs<br><br>var builder = WebApplication.CreateBuilder(args);<br>//Add MCP server services to the DI<br>builder.Services.AddMcpServer(o =&gt;<br>{<br>    o.ServerInfo = new Implementation { Name = &quot;Gmail MCP Server&quot;, Version = &quot;1.0.0&quot;, Title = &quot;GmailMCP&quot; };<br>})<br>.WithHttpTransport()<br>.WithToolsFromAssembly();<br><br>var app = builder.Build();<br>app.MapMcp();<br>await app.RunAsync();</pre><p>It creates a server and look for all the MCP tools available in the assembly.</p><p>Since we will be using GmailService in our MCP tools, lets configure it also in our services dependencies.</p><pre>// Program.cs<br><br>var builder = WebApplication.CreateBuilder(args);<br>//Add MCP server services to the DI<br>builder.Services.AddMcpServer(o =&gt;<br>{<br>    o.ServerInfo = new Implementation { Name = &quot;Gmail MCP Server&quot;, Version = &quot;1.0.0&quot;, Title = &quot;GmailMCP&quot; };<br>})<br>.WithHttpTransport()<br>.WithToolsFromAssembly();<br><br>// Gmail Sevices<br><br>builder.Services.AddSingleton(sp =&gt;<br>{<br><br>    UserCredential credential;<br>    string[] Scopes = { GmailService.Scope.GmailModify };<br>    // Load client secrets.<br>    using (var stream =<br>           new FileStream(&quot;credentials.json&quot;, FileMode.Open, FileAccess.Read))<br>    {<br>        /* The file token.json stores the user&#39;s access and refresh tokens, and is created<br>         automatically when the authorization flow completes for the first time. */<br>        string credPath = &quot;token.json&quot;;<br>        credential = GoogleWebAuthorizationBroker.AuthorizeAsync(<br>            GoogleClientSecrets.FromStream(stream).Secrets,<br>            Scopes,<br>            &quot;user&quot;,<br>            CancellationToken.None,<br>            new FileDataStore(credPath, true)).Result;<br>        Console.WriteLine(&quot;Credential file saved to: &quot; + credPath);<br>    }<br><br>    return new GmailService(new Google.Apis.Services.BaseClientService.Initializer<br>    {<br>        HttpClientInitializer = credential,<br>        ApplicationName = &quot;Gmail MCP Application&quot;,<br>    });<br>});<br><br>var app = builder.Build();<br>app.MapMcp();<br>await app.RunAsync();<br></pre><h3>Creating MCP Tools</h3><p>Now, lets create our MCP tools using the GmailService.</p><pre>[McpServerToolType]<br>public class GmailTool(GmailService _gmail)<br>{<br>    [McpServerTool, Description(&quot;Read latest email&quot;)]<br>    public async Task&lt;string&gt; ReadLatestEmail()<br>    {<br>        var request = _gmail.Users.Messages.List(&quot;me&quot;);<br>        request.MaxResults = 1; // Limit to the latest<br>        var response = await request.ExecuteAsync();<br>        var messageId = response.Messages[0].Id;<br>        var messageRequest = _gmail.Users.Messages.Get(&quot;me&quot;, messageId);<br>        var message = await messageRequest.ExecuteAsync();<br>        var subjectHeader = message.Payload.Headers.FirstOrDefault(h =&gt; h.Name == &quot;Subject&quot;)?.Value ?? &quot;No Subject&quot;;<br>        var fromHeader = message.Payload.Headers.FirstOrDefault(h =&gt; h.Name == &quot;From&quot;)?.Value ?? &quot;No Sender&quot;;<br>        var body = message.Payload.Parts?.FirstOrDefault(p =&gt; p.MimeType == &quot;text/plain&quot;)?.Body?.Data ?? message.Payload.Body.Data;<br>        return $&quot;From: {fromHeader}\nSubject: {subjectHeader}\n\n{DecodeBase64Url(body)}&quot;;<br>    }<br><br>    [McpServerTool, Description(&quot;Send an email using Gmail API&quot;)]<br>    public async Task&lt;string&gt; SendEmail(string to, string subject, string body)<br>    {<br>        var message = new Google.Apis.Gmail.v1.Data.Message<br>        {<br>            Raw = Convert.ToBase64String(Encoding.UTF8.GetBytes($&quot;To: {to}\r\nSubject: {subject}\r\n\r\n{body}&quot;))<br>        };<br>        try<br>        {<br>            var result = await _gmail.Users.Messages.Send(message, &quot;me&quot;).ExecuteAsync();<br>            return $&quot;Email sent successfully! Message ID: {result.Id}&quot;;<br>        }<br>        catch (Exception ex)<br>        {<br>            return $&quot;Failed to send email: {ex.Message}&quot;;<br>        }<br>    }<br><br>    [McpServerTool, Description(&quot;Draft an email using Gmail API&quot;)]<br>    public async Task&lt;string&gt; DraftEmail(string to, string subject, string body)<br>    {<br>        var message = new Google.Apis.Gmail.v1.Data.Message<br>        {<br>            Raw = CreateRawEmail(to, subject, body)<br>        };<br><br>        var draft = new Draft { Message = message, Id = Guid.NewGuid().ToString() };<br><br>        try<br>        {<br>            var result = await _gmail.Users.Drafts.Create(draft, &quot;me&quot;).ExecuteAsync();<br>            return $&quot;Draft created successfully! Draft ID: {result.Id}&quot;;<br>        }<br>        catch (Exception ex)<br>        {<br>            return $&quot;Failed to create draft: {ex.Message}&quot;;<br>        }<br>    }<br><br>    private static string CreateRawEmail(string to, string subject, string body)<br>    {<br>        var raw = $&quot;To: {to}\r\nSubject: {subject}\r\nContent-Type: text/plain; charset=utf-8\r\n\r\n{body}&quot;;<br>        var bytes = System.Text.Encoding.UTF8.GetBytes(raw);<br>        return System.Convert.ToBase64String(bytes)<br>            .Replace(&#39;+&#39;, &#39;-&#39;)<br>            .Replace(&#39;/&#39;, &#39;_&#39;)<br>            .Replace(&quot;=&quot;, &quot;&quot;);<br>    }<br><br>    private static string DecodeBase64Url(string base64Url)<br>    {<br>        base64Url = base64Url.Replace(&#39;-&#39;, &#39;+&#39;).Replace(&#39;_&#39;, &#39;/&#39;);<br>        switch (base64Url.Length % 4)<br>        {<br>            case 2: base64Url += &quot;==&quot;; break;<br>            case 3: base64Url += &quot;=&quot;; break;<br>        }<br>        return System.Text.Encoding.UTF8.GetString(Convert.FromBase64String(base64Url));<br>    }</pre><p>It’s really that simple to create MCP tools — all you do is decorate your class and methods with the right attributes and write the logic you want to expose as tools.</p><h3>Use MCP Client</h3><p>You can use the server in the VS Code or refer my <a href="https://medium.com/@vik-sharma/implementing-a2a-protocol-and-mcp-in-net-core-460fcfea0e80">previous article</a> to connect to an MCP server.</p><p>For VS Code:</p><pre>&quot;mcp&quot;: {<br>        &quot;servers&quot;: {<br>            <br>            &quot;GmailMCP&quot;: {<br>                &quot;url&quot;: &quot;http://localhost:5000&quot;<br>            }<br>        },<br>        &quot;inputs&quot;: []<br>    }</pre><h3>Conclusion</h3><p>With just a few lines of code and the right NuGet packages, you can build a powerful MCP server in .NET Core and connect it to Gmail. This setup allows you to expose essential email operations — reading, drafting, and sending emails — through the standardized MCP protocol, making your application smarter and more interactive.</p><p>You can find the complete code at my GitHub repository (<a href="https://github.com/vikas0sharma/GmailMCP">https://github.com/vikas0sharma/GmailMCP</a>)</p><h3>Reference</h3><p>For more on MCP, visit the official MCP documentation (<a href="https://modelcontextprotocol.io/introduction">https://modelcontextprotocol.io/introduction</a>)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e502e6366845" width="1" height="1" alt=""><hr><p><a href="https://medium.com/null-exception/building-an-mcp-server-with-net-core-creating-gmail-mcp-server-e502e6366845">Building an MCP Server with .NET Core: Creating Gmail MCP Server</a> was originally published in <a href="https://medium.com/null-exception">Null Exception</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>