mcp-server
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";
More from waniwani-ai/sdk
waniwani-sdk
Integrate the @waniwani/sdk package into MCP servers for event tracking, multi-step conversational flows, widget creation, knowledge base search, and chat components. Use when building or integrating WaniWani analytics, creating MCP tools with UI widgets, building multi-turn flows, or adding chat to a website.
9oai-submission
Generate OpenAI/ChatGPT App submission documents (Tool Justification + Test Cases) in Notion by analyzing the MCP server's tools, flows, and widgets
2copy
Copy text to the user's clipboard. Use when the user wants to copy generated content, summaries, or any text to their clipboard.
1translations
Add or update translations for pages and components in the WaniWani app. Use when the user wants to add translations, create translation files, internationalize a page, make text translatable, or update existing translations. Also use proactively when creating new pages or components with user-facing text.
1knowledge-base
Set up a knowledge base with search for an MCP project. Creates FAQ tool and ingestion script using the WaniWani KB API via @waniwani/sdk.
1frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
1