AI Native Course
Prompt library

MCP code scaffold

From MCPs: Build Your Own - free, no signup needed.

Prompt template
Generate a minimal TypeScript MCP server using @modelcontextprotocol/sdk.
Single tool: [name, description, inputs].
Use stdio transport. Include package.json deps and a 1-line run instruction.
Keep it under 60 lines.

How to use it well

  1. Replace every [BRACKETED] placeholder - vague inputs produce vague outputs.
  2. Add your role and constraints at the top if your assistant does not already know them.
  3. Critique the first answer explicitly (“too generic because…”) and ask for a second pass.
  4. Save the version that worked into a project or system prompt so you never retype it.

More prompts from this module