WTHek MCP Server
v1.0.2MCP server for RFC 7807/9457 HTTP Problem Details, status codes, and API error auditing.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
lookup_http_status
Looks up detailed metadata, headers, RFC links, and code snippets for an HTTP status code.
| Parameter | Type | Description |
|---|---|---|
query * | string | HTTP status code (e.g. '404') or status name (e.g. 'NOT_FOUND', 'not found') |
get_framework_recipe
Retrieves a verified, production-ready @wthek setup recipe for a specified framework and validator.
| Parameter | Type | Description |
|---|---|---|
framework * | string | Web framework name: express, fastify, hono, koa, nestjs, restify |
validator | string | Validation library: zod, valibot, typebox |
audit_error_handling
Performs a lightweight heuristic audit of a code snippet for common HTTP error handling anti-patterns (such as manual status/json mutations, unhandled raw errors, and missing headersSent guards). Note: This is a fast pattern-based diagnostic check, not a full AST compiler or AI replacement.
| Parameter | Type | Description |
|---|---|---|
code * | string | Source code snippet to audit for HTTP error anti-patterns |