Backend
312 installs
typescript-mcp-server-generator
by github/awesome-copilot
Generate a complete MCP server project in TypeScript with tools, resources, and proper configuration
Skill content
Complete TypeScript MCP server project generator with tools, resources, and transport configuration. - Scaffolds a full Node.js/TypeScript project with @modelcontextprotocol/sdk, zod validation, and choice of HTTP (Express) or stdio transport - Generates at least one production-ready tool with schema validation, error handling, and structured content responses - Includes tsconfig.json with ES modules, proper package.json setup, and dev tooling (tsx/ts-node) - Optionally adds resources with dynamic URI templates and prompts with argument schemas for extensibility - Provides testing guidance via MCP Inspector, example tool invocations, and troubleshooting for common deployment issues Generate TypeScript MCP Server Create a complete Model Context Protocol (MCP) server in TypeScript with the following specifications: Requirements - Project Structure: Create a new TypeScript/Node.js project with proper directory structure - NPM Packages: Include @modelcontextprotocol/sdk, zod@3, and either express (for HTTP) or stdio support - TypeScript Configuration: Proper tsconfig.json with ES modules support - Server Type: Choose between HTTP (with Streamable HTTP transport) or stdio-based server - Tools: Create at least one useful tool with proper schema validation - Error Handling: Include comprehensive error handling and validation Implementation Details