mcp-advanced-patterns
Installation
SKILL.md
MCP Advanced Patterns
Advanced Model Context Protocol patterns for production-grade MCP implementations.
FastMCP 2.14.x (Jan 2026): Enterprise auth, OpenAPI/FastAPI generation, server composition, proxying. Python 3.10-3.13.
Overview
- Composing multiple tools into orchestrated workflows
- Managing resource lifecycle and caching efficiently
- Scaling MCP servers horizontally with load balancing
- Building custom MCP servers with middleware and transports
- Implementing auto-enable thresholds for context management
Tool Composition Pattern
from dataclasses import dataclass
from typing import Any, Callable, Awaitable