Master the Model Context Protocol (MCP) by building robust servers in TypeScript. This course covers setting up MCP servers with different transports, managing stateful sessions, and creating tools, resources, and prompts that AI agents can discover and interact with seamlessly.
Overview
Syllabus
- Unit 1: Getting Started with MCP
- Creating Your First MCP Server
- Connecting Your Server to Transport
- Fixing Client Server File References
- Configuring Client Transport for Server Communication
- Implementing Complete Client Interaction
- Unit 2: Remote MCP Server Connectivity
- Building a Basic Express HTTP Server
- Creating MCP Server and Transport Instances
- Connecting MCP Server and Transport Components
- Adding Robust Error Handling Logic
- Unit 3: Managing Stateful MCP Server Sessions
- Making Your MCP Server Stateful
- Adding Robust Error Handling Protection
- Testing Multiple Concurrent Client Sessions
- Unit 4: Exploring MCP Primitives
- Building Your First MCP Tool
- Exposing a Static Poem Resource
- Creating Your First MCP Prompt
- Organizing MCP Server Code Structure
- Unit 5: Developing MCP Service Tools
- Implementing the Add Tool
- Completing Your Shopping List Tools
- Building a Tool to Retrieve Items
- Adding Filters to Get Tool
- Testing Your Complete MCP Workflow