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
Python Automation Script Builder
Generate clean, production-ready Python automation scripts with error handling, logging, and documentation — for web scraping, file processing, API integration, and scheduled tasks.
RAG Knowledge Base Query Optimizer
Optimize queries for retrieval-augmented generation systems
Self-Consistency Verification Prompt
Generate prompts that verify AI responses for internal consistency across multiple reasoning paths.
Security Threat Model Generator
Generates a structured security threat model for an application or system using the STRIDE framework, identifying attack surfaces, threats, and mitigations.