Agents

MCP Server Scaffold

Generate a starter MCP server with tools, resources, and error handling.

The prompt

Build an MCP (Model Context Protocol) server in TypeScript that provides these tools: [LIST TOOLS]. For each tool: define the input schema with zod validation, implement the handler with proper error handling, return structured results. Include: server setup with stdio transport, a resources endpoint that lists available data, and proper logging. Use the @modelcontextprotocol/sdk package. Make it production-ready with timeout handling and graceful shutdown.

Replace the parts in [BRACKETS] with your own details before running it. Works with ChatGPT, Claude, Gemini, or any capable model.

← All 17 prompts

Search Data Science After Dark

Search across prompts, models, papers, guides, and library topics.