B

Courses & Learning

Build with MCP

Flavio Copes' free 26-lesson course on building a TypeScript MCP server with tools, resources, and prompts, moving it to remote HTTP with authorization and security boundaries, and deploying and reviewing it.


Curriculum

4 modules · 26 lessons
  1. 1

    Build a local TypeScript server

    Create a typed stdio server with useful tools, errors, and logs.

    1. 01 Set up the TypeScript project
    2. 02 Create the notes data
    3. 03 Create the server factory
    4. 04 Add the search_notes tool
    5. 05 Add the get_note tool
    6. 06 Keep errors useful
    7. 07 Log without breaking stdio
    8. 08 Serve and inspect the local server
    9. 09 Check your understanding: build a stdio server
  2. 2

    Add resources and prompts

    Expose readable context and reusable prompt workflows deliberately.

    1. 10 Add a notes resource
    2. 11 Add a project review prompt
    3. 12 Design useful capability boundaries
    4. 13 Check your understanding: resources and prompts
  3. 3

    Move to remote HTTP safely

    Use the stateless protocol, authorization, and defensive boundaries.

    1. 14 Turn the factory into an HTTP handler
    2. 15 Understand stateless MCP
    3. 16 Authenticate and authorize requests
    4. 17 Protect secrets and limit access
    5. 18 Treat returned text as untrusted
    6. 19 Write a threat checklist
    7. 20 Check your understanding: remote HTTP and security
  4. 4

    Deploy and review

    Deploy the server, document both transports, and complete a security review.

    1. 21 Deploy to a web-standard runtime
    2. 22 Document local and remote setup
    3. 23 Run the final test matrix
    4. 24 Review the security boundary
    5. 25 Complete the project-notes server
    6. 26 Final check: deploy and review

Pricing

Full Course $0
4 modules and 26 lessons, readable online with no signup, or offline as a PDF or EPUB via the free newsletter.