CustomAgent.app
Skill
mcp
✓ Verified
⭐ Featured
NEW
Free

TypeScript MCP Server Generator

Scaffold a complete Model Context Protocol server in TypeScript with tools, resources, and prompts.

4.9(64 reviews)
22,400 installs
by Anthropic

About

Generates a production-ready MCP server in TypeScript: project structure, package.json, tsconfig, tools/resources/prompts handlers, error handling, and a working example. Compatible with Claude Desktop, Cursor, and any MCP-compatible client.

Tags

mcptypescriptmodel-context-protocolscaffold

Skill Instructions Preview

# TypeScript MCP Server Generator

Scaffold a Model Context Protocol server in TypeScript.

## Generated Files
- package.json with @modelcontextprotocol/sdk
- tsconfig.json (strict, ES2022)
- src/index.ts — server bootstrap
- src/tools/ — one file per tool
- src/resources/ — resource handlers
- src/prompts/ — prompt templates
- README with claude_desktop_config.json snippet

## Server Capabilities
- Tools: actions the model can call
- Resources: data the model can read
- Prompts: reusable prompt templates

## Best Practices
- Type all tool parameters with JSON Schema
- Validate inputs before execution
- Return structured errors, not exceptions
- Use stdio transport for desktop clients

Related Skills

SkillNEW
mcp
FREE

Python MCP Server Generator

Scaffold a Python MCP server using the official mcp SDK with async tools and resources.

mcppythonasync
A
Anthropic
4.8(51)
19k
1.3k
SkillNEW
mcp
FREE

C# MCP Server Generator

Scaffold a .NET MCP server with dependency injection and structured tool registration.

mcpcsharpdotnet
M
Microsoft
4.7(28)
11k
720
Install
# Add as Claude Code slash command:
curl -fsSL "https://raw.githubusercontent.com/github/awesome-copilot/main/skills/typescript-mcp-server-generator/SKILL.md" \
  -o ~/.claude/commands/typescript-mcp-server-generator.md
View source on GitHub →

Compatible with

claude code

Trigger phrase

/mcp-ts
A

Anthropic

@modelcontextprotocol

View on GitHub