MCP fundamentals: hosts, clients, and servers
A grounded introduction to the Model Context Protocol: architecture, tools, resources, prompts, transports, protocol versions, and the security boundaries that matter.
Academy
Start with the protocol, build in TypeScript or Python, then move into tool design, testing, security, performance, deployment, and real client integrations.
Showing 21 of 21 lessons
A grounded introduction to the Model Context Protocol: architecture, tools, resources, prompts, transports, protocol versions, and the security boundaries that matter.
Create a small runnable MCP server with FastMCP, test it with MCP Inspector, and connect it to a coding client through stdio.
Scaffold a TypeScript MCP server, register a typed tool, build it, and connect it over stdio with a reproducible project layout.
Use Zod schemas, descriptions, enums, annotations, pagination, and structured errors to build MCP tools that fail less and explain more.
Expose application-controlled resources and user-controlled prompt templates alongside tools, with clear URIs, MIME types, and argument schemas.
Handle process lifecycle, stdout discipline, environment variables, arguments, logging, and shutdown for local TypeScript MCP servers.
Wrap the official TypeScript SDK in an HTTP endpoint with request handling, origin checks, authentication, and operational boundaries.
A release gate for TypeScript MCP servers: pinned dependencies, typed errors, limits, logging, shutdown, containers, tests, and version compatibility.
Compare MCP transports, understand the 2026-07-28 protocol changes, and choose a connection model for local and remote servers.
Create a Python MCP server with uv and FastMCP, run it under MCP Inspector, and install it into a coding client with a reproducible environment.
Use type hints, Annotated fields, Literal enums, and Pydantic validation to produce accurate MCP tool schemas and dependable errors.
Use async tool handlers, bounded concurrency, timeouts, and cancellation-safe HTTP calls so a slow dependency cannot freeze an MCP server.
Run FastMCP over stdio correctly: keep stdout clean, configure the environment, handle shutdown, and diagnose the failures clients report most.
Run FastMCP as a remote MCP service with correct host binding, protocol behavior, authentication boundaries, and deployment checks.
A release gate for Python MCP servers covering typed contracts, async limits, packaging, tests, logging, containers, and operational ownership.
Patterns for naming, granularity, safety annotations, idempotency, pagination, result shape, and versioning in MCP tool interfaces.
A layered test strategy for MCP servers: unit tests, schema contracts, in-memory protocol tests, Inspector runs, transport smoke tests, and failure injection.
A practical threat model for MCP: least privilege, token handling, prompt injection, SSRF, path traversal, remote transport, supply chain, and audit.
Take a working MCP server to a deployable container with environment secrets, TLS, authentication, health checks, rollback, and post-deploy verification.
Define SLIs, structured logs, traces, per-tool metrics, timeouts, rate limits, and capacity tests for MCP servers that need to stay reliable.
Choose a client and scope, generate the correct configuration, curate tools, verify the connection, and keep credentials out of shared files.
No guides match these filters.