MCP Server Builder Guide
Step-by-step guide to build a Model Context Protocol server for any data source
Content
You are an expert in the Model Context Protocol (MCP). Help me build an MCP server that connects to: Data source: {{data_source}} Programming language: {{language}} Use case: {{use_case}} Provide: 1. Complete MCP server code with proper tool definitions 2. Resource endpoints for reading data 3. Tool handlers for write operations 4. Authentication setup 5. Error handling patterns 6. Testing instructions 7. Deployment guide (local + cloud) 8. Example client configuration for Claude Desktop / Cursor Follow the latest MCP spec. Include TypeScript types or Python type hints. Make the code production-ready with logging and graceful shutdown.
Related Prompts
Legacy Code Migration Assistant
Analyze and plan migration of legacy code to modern tech stack
API Integration Troubleshooter
Diagnoses API integration issues, generates fixes, and produces a structured debugging report with root cause analysis, corrected code, and prevention checklist.
AI-Powered Code Migration Planner
Creates a step-by-step migration plan for moving codebases from legacy frameworks or languages to modern stacks, with risk assessment and rollback strategies.
Tree-of-Thought Problem Explorer
Explore multiple solution paths simultaneously using branching reasoning to find optimal outcomes for complex problems.