<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Open Source | The .NET Blog</title><link>https://thedotnetblog.com/tags/open-source/</link><description>Articles, tutorials and insights from the .NET community.</description><generator>Hugo</generator><language>en</language><managingEditor>@thedotnetblog (The .NET Blog)</managingEditor><webMaster>@thedotnetblog</webMaster><lastBuildDate>Sun, 24 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://thedotnetblog.com/tags/open-source/index.xml" rel="self" type="application/rss+xml"/><item><title>Cosmos DB Shell Is in Public Preview — And It Has an MCP Server Built In</title><link>https://thedotnetblog.com/news/emiliano-montesdeoca/cosmosdb-shell-public-preview-mcp-server-cli/</link><pubDate>Sun, 24 May 2026 00:00:00 +0000</pubDate><author>Emiliano Montesdeoca</author><guid>https://thedotnetblog.com/news/emiliano-montesdeoca/cosmosdb-shell-public-preview-mcp-server-cli/</guid><description>Azure Cosmos DB Shell is a new open-source CLI that exposes database commands as MCP tools. Your AI agents can navigate containers, run queries, and manage data using the same interface you use.</description><content:encoded>&lt;p&gt;If you&amp;rsquo;ve ever had to bounce between a portal tab, an SDK sample, and a half-finished script just to answer one Cosmos DB question, you already know the friction this project is designed to remove.&lt;/p&gt;
&lt;p&gt;Azure Cosmos DB Shell just entered public preview. It&amp;rsquo;s an open-source CLI with bash-like syntax and — the part that makes this interesting — an integrated MCP server.&lt;/p&gt;
&lt;h2 id="what-makes-this-different-from-other-database-clis"&gt;What Makes This Different From Other Database CLIs&lt;/h2&gt;
&lt;p&gt;The CLI itself is useful: familiar commands, scripting support, CI/CD integration. That part is table stakes for a developer-focused database tool.&lt;/p&gt;
&lt;p&gt;The interesting part is the MCP server integration. Every command the CLI exposes becomes available as an MCP tool that your AI agents can call. There&amp;rsquo;s no custom API layer, no integration code to write. Your agent can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Navigate database hierarchies with &lt;code&gt;cd&lt;/code&gt;, &lt;code&gt;ls&lt;/code&gt;, &lt;code&gt;pwd&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run SQL queries with &lt;code&gt;query&lt;/code&gt; and get structured results back&lt;/li&gt;
&lt;li&gt;Create and modify items with &lt;code&gt;create item&lt;/code&gt;, &lt;code&gt;update&lt;/code&gt;, &lt;code&gt;rm&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Manage databases and containers with &lt;code&gt;mkdb&lt;/code&gt;, &lt;code&gt;mkcon&lt;/code&gt;, &lt;code&gt;rmdb&lt;/code&gt;, &lt;code&gt;rmcon&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Inspect current context with &lt;code&gt;endpoint&lt;/code&gt;, &lt;code&gt;pwd&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The key shift: your agent isn&amp;rsquo;t talking to a Cosmos DB API — it&amp;rsquo;s talking to the same shell interface you use. The commands are deterministic, auditable, and open source so you can inspect exactly what&amp;rsquo;s happening.&lt;/p&gt;
&lt;h2 id="the-open-source-foundation-matters"&gt;The Open-Source Foundation Matters&lt;/h2&gt;
&lt;p&gt;This isn&amp;rsquo;t a black-box managed service. The shell is open source, which means:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Security teams can audit the implementation&lt;/li&gt;
&lt;li&gt;Platform teams can fork and extend it for their specific standards&lt;/li&gt;
&lt;li&gt;Developers can contribute improvements that benefit everyone&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For enterprise teams adopting AI tooling, &amp;ldquo;can we see exactly how it works&amp;rdquo; is increasingly not an optional requirement. Open source here is a meaningful differentiator.&lt;/p&gt;
&lt;h2 id="three-scenarios-that-become-easier"&gt;Three Scenarios That Become Easier&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Intelligent data analysis&lt;/strong&gt; — connect an agent to the shell, ask natural language questions, get structured query results. The agent handles the query construction; the shell handles execution.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Autonomous data management&lt;/strong&gt; — workflows that need to create, update, or remove data in Cosmos DB can do so through the MCP tools without needing a custom integration.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Real-time monitoring and alerts&lt;/strong&gt; — an agent can periodically query containers, compare results, and surface anomalies through whatever notification channel makes sense.&lt;/p&gt;
&lt;p&gt;The MCP interface makes these scenarios composable with any AI platform that speaks MCP — not just Microsoft&amp;rsquo;s tooling.&lt;/p&gt;
&lt;h2 id="getting-started"&gt;Getting Started&lt;/h2&gt;
&lt;p&gt;The shell is in public preview. Install it, configure your Cosmos DB connection, and enable the MCP server. From there, any MCP-compatible agent host can discover and use the tools.&lt;/p&gt;
&lt;p&gt;Original post: &lt;a href="https://devblogs.microsoft.com/cosmosdb/azure-cosmos-db-shell-public-preview-ai-mcp-cli/"&gt;Announcing the Public Preview of Azure Cosmos DB Shell: Open-Source Power Meets AI-Driven Database Automation&lt;/a&gt;&lt;/p&gt;</content:encoded></item></channel></rss>