mcp-server
Installation
SKILL.md
MCP Server Development Guide
Guide for creating MCP servers using the @modelcontextprotocol/sdk TypeScript SDK.
Package Information
- Package:
@modelcontextprotocol/sdk - Documentation: https://modelcontextprotocol.io/
- GitHub: https://github.com/modelcontextprotocol/typescript-sdk
Tool Registration API
IMPORTANT: Use server.registerTool() for the full-featured API with title, description, and output schemas.
Modern API: registerTool() (Recommended)
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { z } from "zod";