The Model Context Protocol (MCP) takes the world by storm….. in this document both the concepts as well as the practical use are covered.
!!WORK IN PROGRESS!!
The Model Context Protocol (MCP) was introduced by Anthropic only a few months ago (November 2024) as the ‘USB adaptor for AI’. It took the world by storm. It was almost immediately adopted by many vendors. A current search on the term MCP will provide you with thousands of hits. Unfortunately, though, getting to understand MCP within this overload of information is not necessarily straightforward. Many sources either focus on the concepts in very high-level terms (like ‘the USB adaptor for AI’) or drill straight into the details by throwing code at you.
The aim of this document is to combine both points of view. First, I cover the concepts and try to define which problem is solved by MCP. Next to that a MCP server and an MCP Client/Agent are built using TypeScipt.
Want to try it yourself? I created a MCP server and and MCP Client + Agent in TypeScript. Find the step-by-step tutorials here:
More information:
The concepts:
- The official documentation. A bit hard to read, but it does cover the concepts well.
Practical information:
- A good blog on building an MCP server in TypeScript. Also take a look at this video.
- Finding information on building an MCP client is generally hard. One of the few good sources I found is: “building an MCP client” as part of the official documentation.