mcp-server-patterns

Identify MCP server patterns for tools, resources, and prompts via Node/TypeScript SDK.

1|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/TruCol270/salty-pickle --skill mcp-server-patterns-trucol270
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-server-patterns
Source: https://github.com/TruCol270/salty-pickle/tree/main/.claude-skills/mcp-server-patterns
Command: npx skills add https://github.com/TruCol270/salty-pickle --skill mcp-server-patterns-trucol270

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

MCP servers often require consistent tooling patterns to register tools, resources, and prompts across SDK variants and transports. This skill provides a structured approach to building, maintaining, and debugging MCP servers with clear guidelines on stdio and Streamable HTTP transport.

Core Features & Use Cases

  • Standardizes tool and resource registration across MCP SDK variants.
  • Provides patterns for stdio vs streamable HTTP transport and debugging workflows.
  • Use case: Build an internal MCP server to expose a set of tools and resources securely and scalably.

Quick Start

Create a minimal MCP server using the provided patterns and register a sample tool and a sample resource.

Frequently Asked Questions about mcp-server-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I register tools and resources in an MCP server using TypeScript?

To register tools and resources in an MCP server, apply pattern-driven modular construction using the Node/TypeScript SDK to standardize registration across SDK variants and ensure secure exposure.

What is the difference between stdio and Streamable HTTP transports for MCP servers?

MCP server transports differ by connection type; stdio uses standard input/output for local processes, while Streamable HTTP enables scalable network communication. The skill provides patterns to choose between them based on your deployment needs.

How do I validate MCP server tool inputs with Zod?

Validate MCP server tool inputs with Zod by applying SDK conventions outlined in the skill to ensure robust type checking and validation during tool registration and modular server construction.

Can I use Node SDK patterns to debug MCP server transport interoperability?

Yes, you can use Node SDK patterns to debug MCP server transport interoperability; the skill provides debugging workflows specifically addressing stdio and Streamable HTTP transport connections.

Why does my MCP server pattern fail to expose prompts to AI assistants?

MCP server patterns fail to expose prompts when registration deviates from SDK conventions; the skill addresses this by standardizing tool, resource, and prompt registration across variants to ensure AI assistants can call them.