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
API Design & Documentation Generator
Design RESTful or GraphQL APIs with OpenAPI specs, error handling, and developer documentation
Red Team Security Tester
Act as a red team attacker to identify vulnerabilities in systems, code, or proposals
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.
Automated Code Review Critic
Perform comprehensive automated code review with security, performance, and best practices analysis