Skip to main content

Master the Model Context Protocol

A comprehensive course with hands-on examples to build MCP servers and clients in TypeScript, Python, and Go. Learn how to extend LLMs with custom tools, resources, and prompts.

Quick Start

Get your first MCP server running in minutes with our step-by-step guide

1

Clone the repository

Clone the MCP Course repository to get access to all examples and implementations.
git clone https://github.com/alexyslozada/mcp-course.git
cd mcp-course
2

Choose your language

The course includes implementations in three languages. Pick the one you’re most comfortable with:
  • TypeScript: Modern Node.js server with the official MCP SDK
  • Python: FastMCP server with simple decorator syntax
  • Go: Native Go implementation with the mark3labs SDK
Navigate to the appropriate directory:
# TypeScript
cd servers/basic

# Python
cd servers/calculator-py

# Go
cd servers/edteam-go
3

Install dependencies and run

Install the required dependencies and start your first MCP server:
npm install
npm run build
npm start
Your MCP server is now running! It communicates via stdio and can be connected to by any MCP-compatible client.
4

Test with a client

Use one of the included client examples to interact with your server:
# TypeScript client
cd clients/basic-ts
npm install && npm start

# Python client
cd clients/basic-py
python main.py
You’ll see your server’s tools, resources, and prompts in action!

Explore by Topic

Dive deep into MCP concepts and implementations

MCP Protocol

Understand the core protocol, message types, and communication patterns

Build Servers

Learn how to create MCP servers that expose tools and resources

Create Clients

Connect to MCP servers and invoke tools from your applications

Tools & Resources

Expose functionality through tools and data through resources

TypeScript Examples

Full-featured server with Game of Thrones quotes and math operations

Python Examples

Simple calculator server using FastMCP

Go Examples

Production API integration with EDteam courses

Ollama Integration

Connect MCP to Ollama for local LLM function calling

Ready to Build with MCP?

Start with our quickstart guide and have your first MCP server running in less than 5 minutes.

Get Started Now

Build docs developers (and LLMs) love