typescript-mcp-server-generator Skill: Build a TypeScript MCP Server
Makes your assistant generate a complete TypeScript MCP server project using the MCP TypeScript SDK v2.
- Installs
- 12.1K
- on skills.sh
- Stars
- 40.7K
- on GitHub
- Updated
- Oct 2026
- last repo commit
typescript-mcp-server-generator makes your assistant scaffold an MCP server in TypeScript with the v2 packages (@modelcontextprotocol/server, zod 4.2 or newer). You choose an HTTP or stdio server. It adds at least one tool with schema validation, optional resources and prompts, error handling, a .gitignore and run and test instructions. It also covers migrating a v1 server.
It bundles no scripts. It tells the assistant to run npm commands to set up the project, and for migration to run the official codemod with npx. Node.js 20 or newer is the minimum the skill states for v2.
Good for
- Developers who want to build their own MCP server in TypeScript
- Teams moving an existing MCP server from the v1 SDK to v2
- GitHub Copilot CLI users who install from the Awesome Copilot marketplace
Install typescript-mcp-server-generator
Claude Code
- 1
Copy this prompt.
Install the typescript-mcp-server-generator skill in Claude Code. Run this command: npx skills add github/awesome-copilot --skill typescript-mcp-server-generator Then check that it loaded and tell me how to use it.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js.
Built from the package data we hold. Not yet tested by us. Source.
What's in the skill
When it loads
Generate a complete MCP server project in TypeScript using the MCP TypeScript SDK v2 (@modelcontextprotocol/server) with tools, resources, and proper configuration
Sections in SKILL.md
- Requirements
- Implementation Details
- Project Setup
- Server Configuration
- Tool Implementation
- Resource/Prompt Setup (Optional)
- Code Quality
- Example Tool Types to Consider
- Configuration Options
- Migrating an Existing v1 Server
- Testing Guidance
- Additional Features to Consider
Key facts
- License
- MIT (plugin manifest)
- Installs on skills.sh
- 12,070 (Nov 2, 2026)
- GitHub stars
- 40,666 (repo, Nov 2, 2026)
- Last commit
- Oct 30, 2026 (repo)
What it includes
Runs npm init, installs the v2 packages and configures ES modules.
Installs @modelcontextprotocol/server, zod 4.2+ and a transport package, adds tsx or ts-node for development and creates a .gitignore.
Runs code ·
Project setupBuilds with McpServer and an HTTP or stdio transport.
HTTP uses the Node or a framework adapter such as express, hono or fastify. SSE and WebSocket are not generated because v2 removed them.
Write ·
Server and transportRegisters tools with registerTool() and Zod object schemas.
At least one tool with a title and description, returning both content and structuredContent.
Write ·
ToolsOptionally adds resources and prompts with registerResource and registerPrompt.
Resources can use ResourceTemplate for dynamic URIs.
Write ·
Resources and promptsRuns the official codemod, then fixes the marked spots by hand.
Runs npx @modelcontextprotocol/codemod@latest v1-to-v2 . and then searches for @mcp-codemod-error markers.
Runs code ·
Migrate a v1 serverExplains how to run the server and open the MCP Inspector.
Mentions npm start or npx tsx server.ts, and npx @modelcontextprotocol/inspector.
Runs code ·
Testing guidance
From the official docs
Permissions
Medium risk
It creates a project and installs npm packages, and for migration it runs a codemod that rewrites your source files. Run it in a fresh folder or on a clean git branch.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
The migration codemod rewrites your code
Migration runs npx @modelcontextprotocol/codemod@latest v1-to-v2 on the project. It is third-party code fetched at run time, so commit first and review the diff. github.com
It installs npm packages
Setup installs the MCP server packages, zod and dev tools with npm. Check the package list before you run the result. github.com
The README warns about third-party content
The awesome-copilot README says its customizations come from third-party developers and should be inspected before installing. github.com
Technical details
| Scopes |
|
|---|
Questions
What does typescript-mcp-server-generator do?
It makes your assistant create a full MCP server project in TypeScript. That includes the setup, a server with at least one tool, error handling and instructions to run and test it.
How do I install typescript-mcp-server-generator?
Use the install box above. On Copilot CLI the README route is a plugin that bundles this skill and one agent. On Claude Code and Codex, the skills CLI command installs only the skill.
Which MCP SDK does it use?
Version 2 of the MCP TypeScript SDK. SKILL.md says the v1 @modelcontextprotocol/sdk package is retired and tells the assistant to use @modelcontextprotocol/server and related packages.
Can it migrate a v1 server?
Yes. SKILL.md has the assistant run the official codemod, then look for @mcp-codemod-error markers and fix those parts by hand. Commit first so you can review the diff.
Does it need an API key?
SKILL.md names none. It bundles no scripts and asks for Node.js 20 or newer.
Is it safe to run?
It installs npm packages and, for migration, runs a codemod fetched with npx that rewrites your files. Use a fresh folder or a clean git branch and review what it changes.
Information
updated Nov 2, 2026
- Repository
- github/awesome-copilot
- Folder
skills/typescript-mcp-server-generator
Sources
Docs, issue trackers and discussions this page is built from.
Show all 6Hide
- awesome-copilot README · github.com
- typescript-mcp-development README · github.com
- typescript-mcp-development plugin.json · github.com
- typescript-mcp-server-generator SKILL.md · github.com
- typescript-mcp-server-generator on skills.sh · skills.sh
- github/awesome-copilot · github.com