Sub-ms PreToolUse firewall, feedback memory, and single-use permits for AI coding agents.
Looks up detailed metadata, headers, RFC links, and code snippets for an HTTP status code.
A call is made on an account: it counts against an allowance and the publisher sees it, which is why this one asks who you are first.
What it does
@wthek/mcp gives your AI coding agent deterministic, spec-accurate HTTP error handling for Node.js and TypeScript backends—eliminating hallucinated status codes, inconsistent error payloads, and leaky stack traces.
Built around RFC 9457 (Problem Details for HTTP APIs) and http-error-kit, it equips agents in Cursor, Claude, Windsurf, and ChatGPT with three zero-config tools:
- * Error-Handling Code Auditor: Scans TypeScript and JavaScript snippets for common backend anti-patterns—such as raw 500 responses, exposed internal error messages, missing error boundaries, and inconsistent JSON shapes—and flags actionable fixes without executing your code.
- * RFC HTTP Status Lookup: Retrieves authoritative RFC metadata, caching and retry semantics, required response headers (such as Retry-After or Allow), and ready-to-import http-error-kit error classes for any HTTP status code.
- * Framework & Validator Recipes: Generates production-ready global error-handling middleware and validation error formatters tailored to Express, Fastify, Hono, Koa, NestJS, and Restify, with native support for Zod, TypeBox, and Valibot.
Ideal for: Backend engineers, API architects, and teams standardizing error responses across microservices or migrating legacy try/catch handlers to RFC 9457 Problem Details.
Quickstart
# 1 — sign in once: npx mcprush@latest login
# it asks for a key from mcprush.com/dashboard#access
# 2 — install
npx mcprush@latest add skillnter/wthek-mcp
# 3 — the plan is chosen at checkout, in the browser
# 4 — ask your agent for something these tools do
# lookup_http_status, get_framework_recipe, audit_error_handling
Windows PowerShell says 'running scripts is disabled on this system'? Run Set-ExecutionPolicy -Scope CurrentUser RemoteSigned once, or type npx.cmd instead of npx (codex.cmd, gemini.cmd, grok.cmd likewise). PowerShell 7 needs neither.
You are on the Free tier: 500 calls a month, and call 501 returns a normal MCP error rather than an invoice.
Where are you running it?
Every route below installs the same thing and ends at the same approval screen. Nothing here runs on your machine — this server runs on infrastructure we host behind our gateway, and what you install is the connection to it.
Claude Code has its own MCP command, and the key rides on it as a header — the gateway refuses a call that carries none. Claude Code reads MCPRUSH_KEY each time it connects, so the key stays out of its config: export your key from Access in your shell profile (macOS, Linux), or run setx MCPRUSH_KEY <your key> and open a new terminal (Windows). Or let npx mcprush@latest add skillnter/wthek-mcp write the entry with the key for you; --scope user makes it available in every project. The first connection after a quiet spell starts the server, which takes up to a minute: if your client says it failed to connect, reconnect after that (/mcp in Claude Code).
claude mcp add --transport http --scope user wthek-mcp https://mcprush.com/gw/wthek-mcp/mcp --header 'Authorization: Bearer ${MCPRUSH_KEY}'Reconnect, or start a new session, and the tools appear in the model’s tool list.
One config entry pointing at the gateway. The server itself runs on infrastructure we host, so nothing from this listing executes on your machine.
3 tools, with what each one reads, writes and reaches shown before you agree — the same list on every route above. Read the tool surface.
Tool surface
What the model actually sees. Descriptions are diffed on every release — see version history.
Looks up detailed metadata, headers, RFC links, and code snippets for an HTTP status code.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| query | string | yes | HTTP status code (e.g. '404') or status name (e.g. 'NOT_FOUND', 'not found') |
Retrieves a verified, production-ready @wthek setup recipe for a specified framework and validator.
| Parameter | Type | Required | Notes |
|---|---|---|---|
| framework | string | yes | Web framework name: express, fastify, hono, koa, nestjs, restify |
| validator | string | no | Validation library: zod, valibot, typebox |
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 | Required | Notes |
|---|---|---|---|
| code | string | yes | Source code snippet to audit for HTTP error anti-patterns |
- 500 calls a month, included
- No rate limit
- Every tool the listing has
- No card needed — call 501 returns a limit error rather than a bill
- Upgrade at any point, prorated to the day
- 5,000 calls a month, included
- No rate limit
- Every tool the listing has
- Cancel any time — the unused days are credited
- Runs behind the gateway, so cancelling stops it
- 20,000 calls a month, included
- No rate limit
- Every tool the listing has
- Cancel any time — the unused days are credited
- Runs behind the gateway, so cancelling stops it
What counts against the 500 calls a month on Free
| Tool | Unit | Calls used | Out of the monthly allowance |
|---|---|---|---|
| lookup_http_status | call | 1 | 0.2000% |
| get_framework_recipe | call | 1 | 0.2000% |
| audit_error_handling | call | 1 | 0.2000% |
Failed calls, timeouts and anything the gateway rejects never count. When the allowance runs out the gateway returns an error naming the plan limit — nothing is billed beyond the subscription, ever.
Two independent axes, because powerful and malicious are different questions. The grade is threat only. The capability level is blast radius, and it is never a penalty on the grade — it is priced as one subtract-only term in the score, where you can see it.
| Term | Level | What it prices | Points |
|---|---|---|---|
| capability-exposure | minimal | capability blast radius (minimal) — client exposure if the model is manipulated | −0 |
| verification-discount | repo | publisher verification (public source) — no provenance, but the source is public and inspectable | −1 |
| coverage-honesty | source | inspection depth (source) — how much of the target the scan could see | −0 |
What the scan could actually read
A grade is only as meaningful as its coverage, so the scanner publishes its own depth before it publishes its result.
Tools were statically extracted from the published source (3 recovered), not enumerated from a running server. Tool-poisoning, Unicode-smuggling, capability and toxic-flow analysis ran on this inferred surface, but a mis-parsed registration could be missed or mis-attributed, so tool-derived findings are capped below “confirmed”. To grade the real runtime surface, scan the running server: --command "npx -y <package>".
Capability — what it could do if the model were manipulated
Tags derived from each tool’s schema and the implementation, not from what the tool calls itself. minimal is the level these add up to.
| Tool | Capability tags | Why the tag was assigned |
|---|---|---|
| lookup_http_status | no tags | |
| get_framework_recipe | no tags | |
| audit_error_handling | no tags |
Toxic-flow graph
The lethal trifecta, checked as a graph rather than as a checklist: untrusted input, a sensitive source and an external sink have to meet before there is a path worth worrying about.
The public result for this release does not print the flow graph, so there is nothing to show here. That is not the same as "no paths were found": what the scan did read is above, under coverage.
Supply chain and provenance
This is the first scan of this surface here, so there is nothing yet to compare it against.
Every result on this tab comes from one deterministic pass over the published package — offline, rule by rule, and auditable line by line above. Same methodology version, same bytes, same score.
Release history
The gateway serves every install the publisher’s current release, so a release cannot be pinned or rolled back to here yet. The history below is for reading; the current release on file is 1.1.0.
- Add edge runtime and protocol recipe support
One review per account, from a signed-in account that does not publish this listing. Nothing else is asked — you can say what you think before you install it. Publishers can reply once per review, and a review can be edited or deleted by whoever wrote it.
Any signed-in account that does not publish WTHek can review it, once — before installing it or after. A review from an account that has installed it is marked as one.
Nobody has reviewed this listing. The rating on the card is the mean of the reviews written here and nothing else, so there is no rating until somebody writes the first — which takes a signed-in account that does not publish it, and nothing else.