WTHek MCP Server

v1.0.2
io.github.Skillnter/wthek-mcp Checked 4 days ago Published 11 days ago

MCP 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.

ParameterTypeDescription
query *stringHTTP 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.

ParameterTypeDescription
framework *stringWeb framework name: express, fastify, hono, koa, nestjs, restify
validatorstringValidation 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.

ParameterTypeDescription
code *stringSource code snippet to audit for HTTP error anti-patterns