typescript-mcp-server
CommunityBuild MCP servers with TypeScript
AuthorpingqLIN
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides comprehensive instructions and best practices for developing Model Context Protocol (MCP) servers using the TypeScript SDK, simplifying the creation of robust and efficient AI services.
Core Features & Use Cases
- Server Implementation: Guides on using
McpServerandServerclasses for both high-level and low-level control. - Schema Validation: Emphasizes the use of
zodfor validating input and output schemas. - Tool, Resource, and Prompt Registration: Details on how to register various components with examples.
- Transport Handling: Covers both HTTP (
StreamableHTTPServerTransport) and stdio (StdioServerTransport) communication. - Use Case: Develop a TypeScript-based server that exposes tools for natural language processing, such as text summarization or sentiment analysis, accessible via an MCP-compatible client.
Quick Start
Install the MCP SDK for TypeScript by running npm install @modelcontextprotocol/sdk.
Dependency Matrix
Required Modules
@modelcontextprotocol/sdkzodexpress
Components
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: typescript-mcp-server Download link: https://github.com/pingqLIN/skill-0/archive/main.zip#typescript-mcp-server Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.