Learning on Web Dev Open is free for all.

AI-Native Products > MCP, in both directionsWriting your own server
Phase 08MCP, in both directions413 of 434

Writing your own server

A handful of tools over something you already own, with schemas tight enough that the model uses them correctly first time.

Build50 minAI implements

Build this in your own editor

This one runs on your machine rather than in the browser workbench. Work to the outcomes below, then come back and mark it complete.

You should now be able to

  • Implement an MCP server exposing at least three tools
  • Write descriptions and schemas that prevent wrong calls
  • Return errors a model can recover from
Ask the community

Loading…