👋 Hi, this is Gergely with a subscriber-only issue of the Pragmatic Engineer Newsletter. In every issue, I cover challenges at Big Tech and startups through the lens of engineering managers and senior engineers. If you’ve been forwarded this email, you can subscribe here. Building MCP servers in the real worldHow engineers and teams use MCP servers: from debugging to working with legacy systems, & giving non-devs more access. Details from 40+ devs – with some surprisesThe Model Context Protocol (MCP) was released almost exactly a year ago by Anthropic, and today, MCP is enjoying quite a moment, with strong growth in the numbers of devs building MCP servers. That might be related to MCP servers being a great way to give agents like Claude Code, Cursor Agent, and other LLMs new capabilities to use services, query documentation, and be more efficient. Adoption is widespread and diverse, across cutting-edge startups and regulated industries like aerospace alike. One year on, how are engineering teams using this technology, and what does that teach us? To find out, we collected input from 46 software engineers who build and use MCP servers at work, and talked with Jeremiah Lowin, CEO of Prefect and creator of FastMCP, the leading MCP framework for Python, and Den Delimarsky, core MCP maintainer and Principal Engineer at Microsoft. Thanks to everyone who shared their experience of building with MCP. Today, we cover:
Our look into MCP usage suggests that using, building, and maintaining MCP servers are on the way to becoming part of the software engineering toolset; perhaps they already are. Meantime, best practices are still taking shape. Let’s get into it: The bottom of this article could be cut off in some email clients. Read the full article uninterrupted, online. 1. MCP fundamentalsThe MCP protocol was released in November 2024 and was developed by two software engineers at Anthropic, David Soria Parra, and Justin Spahr-Summers, who started work on it that July. The protocol aims to be the “USB-C” layer for AI applications. It’s a standardized protocol to connect Clients (chatbots, IDEs, AI applications) to Servers (data, files, and tools). Here’s how the protocol works, at a high level: With MCP, you can do handy things like:
For devs, a very practical use case is to add MCP servers for preferred agents, then instruct the agent to do more complicated workflows involving one of the added tools. Thanks to having access to tools via MCP – boom! – the agent becomes a lot more capable! We cover the origin of MCP and how it works in depth, in the deepdive MCP Protocol: a new AI dev tools building block. 2. Usage realitiesWhen it comes to MCP adoption, there’s a view that there are many times more MCP servers than users, as per a popular meme in the space: |