Core Features
Explore all topics and documentation guides under Core Features.
Defining Tools & Input Schemas
Complete guide to registering tools, shorthand schemas, Zod validation, return types, and execution contexts in mcponce.
Dynamic Resource URI Templates
Parametric resources matching dynamic RFC 6570 URI patterns with parameter extraction, autocompletion callbacks, and automatic return normalization.
Enterprise Security, Authentication & Rate Limiting
Comprehensive security hardening for MCP servers including Bearer token authentication, custom identity validators, tool-level permission scopes, sliding-window rate limiting, and CORS headers.
Images & Media Content
Native image and binary data support with automatic MIME detection, base64 encoding, and mixed content blocks.
In-Memory Caching
High-throughput LRU response caching with automatic serialization, custom keys, and instant eviction.
Inter-Tool Calling (Tools Calling Tools)
How to compose tools hierarchically with automatic cycle detection, depth protection, and telemetry tracking in mcponce.
Interactive Web Inspector & MCP Autocomplete
Test tools, inspect schemas, browse resources, and debug MCP autocompletion in a zero-dependency dark-mode developer playground.
MCP Sampling & Workspace Roots
Request LLM completions (sampling/createMessage) and discover workspace directories (roots/list) from connected AI clients.
Middleware & Interceptors
Composable Onion-style middleware pipeline for authentication, argument mutation, logging, and error interception.
OpenAPI & Swagger Auto-Generation
Automatically transform any REST API into type-safe MCP tools from an OpenAPI v3 or Swagger v2 specification with app.fromOpenApi.
Progress Reporting
Real-time progress updates with MCP notifications/progress, SSE streaming, and CLI terminal status bars.
Resource Subscriptions & Authentication
Real-time resource update notifications with client subscriptions (notifications/resources/updated) and HTTP Bearer Token / API Key protection.
Smart Input Coercion & Schema Defaults
How mcponce prevents tool execution errors by intelligently coercing stringified numbers, booleans, and JSON arguments.