traplens MCP Server
Dated, verified API breakages for coding agents: look up traps by provider or by error text.
traplens scores 66 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 4 tools. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 59 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
86/100 for listing completeness. Lost points: short summary, no docs link.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "cloudcorprecords-traplens": { "command": "npx", "args": [ "-y", "@reneturcios/traplens@0.1.0" ] } }}
Environment variables
This server does not declare environment variables.
Tools4Tool docs quality grade C
All capabilitiesconfirm_traptoolrecord whether a trap is still true.
file_traptooldraft a trap after a failure was fixed.
lookup_trapstooltraps for a provider. Required:
search_trapstooltraps matching error text. Required:
About
traplens
traplens gives a coding agent a memory for other people's API breakages. Before writing code against a third-party service, look up that provider and get back up to ten verified, dated failure modes, each with its symptoms, its cause, a fix, a code example, and the date it was last checked. When a call fails instead, paste the error text and search for traps whose symptoms match it. After a failure has been fixed, file a new trap so the next agent does not lose the same hours, and after hitting or avoiding a known trap, confirm whether it is still true.
The bridge keeps no trap data of its own. It serves the upstream Footgun server's tool list locally, exactly as captured from the live endpoint, and forwards each tool call upstream, returning the result untouched.
Tools
lookup_traps— traps for a provider. Required:provider(slug or common name, e.g."stripe"). Optional:surface(part of the service, ranks matches first only),context(one-line task description), andinclude_stale.search_traps— traps matching error text. Required:error_text(4 to 4000 characters; known key and secret formats are redacted before matching). Optional:providerandinclude_stale.file_trap— draft a trap after a failure was fixed. Required:provider,surface_type(one ofapi,sdk,ui,billing,infra,tool),surface_name,title,symptoms,cause,fix,apply, andaffected. Optional:sources,tags, andvisibility(privateby default,publicto submit to the shared registry).confirm_trap— record whether a trap is still true. Required:trap_idandstill_true. Optional:hours_lostandversion_seen.
Configuration
FOOTGUN_MCP_URL(optional) — override the upstream endpoint. Defaults tohttps://getfootgun.com/api/mcp. (The override hook is this rebuild's own labelled reconstruction.)FOOTGUN_API_KEY(optional) — when set, every upstream request carries anAuthorization: Bearer <key>header. When it is not set, no key header is sent. (The header name is pinned by the registry record; the Bearer scheme and this forwarding are labelled reconstructions — the original surface was captured keyless.)
Forwarding mechanics
On the first tool call the client opens a streamable
HTTP session with the upstream: a JSON-RPC initialize
request (protocolVersion 2025-03-26, clientInfo name
traplens), then a notifications/initialized
notification, then the tools/call request carrying
the caller's arguments unchanged. When the upstream
answers initialize with an Mcp-Session-Id header,
that value rides on every later request of the session,
which is reused for the life of the process. Replies
may arrive as plain JSON or as server-sent events;
both are read.
Successful upstream results pass through verbatim,
including any isError flag the upstream sets.
Failures — a JSON-RPC error, a non-2xx status, an
unreadable response, or a request that cannot be
completed — come back as an isError result whose
text starts with traplens error: (this rendering is
this rebuild's own labelled reconstruction).
CLI
Each tool is also a subcommand taking one JSON argument string:
npx @reneturcios/traplens lookup_traps '{"provider":"stripe"}'
npx @reneturcios/traplens search_traps '{"error_text":"No such payment_method"}'
npx @reneturcios/traplens confirm_trap '{"trap_id":"fg-0158","still_true":true}'
npx @reneturcios/traplens --version
Exit codes: 0 on success, 1 on an isError
result, 2 on a usage error.
MCP server
npx -y @reneturcios/traplens mcp
MCP client config:
{
"mcpServers": {
"traplens": {
"command": "npx",
"args": ["-y", "@reneturcios/traplens", "mcp"]
}
}
}
Docker
docker run -i ghcr.io/cloudcorprecords/traplens
docker run --rm ghcr.io/cloudcorprecords/traplens --version
The container's default command is mcp, so the first
form is a stdio MCP server; any other arguments reach
the CLI normally.
Development
npm install
npm run build
npm test
npm run dev
The test suite runs entirely against a stubbed JSON-RPC upstream — no live network calls.
License
MIT — see LICENSE.
Frequently asked questions
What is traplens MCP Server?
Dated, verified API breakages for coding agents: look up traps by provider or by error text.
How do I install traplens MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. traplens MCP Server runs locally from the npm package @reneturcios/traplens with the command npx -y @reneturcios/traplens@0.1.0.
Is traplens MCP Server free and open source?
Yes. traplens MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does traplens MCP Server support remote (HTTP) connections?
No remote endpoint is listed for traplens MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does traplens MCP Server provide?
traplens MCP Server provides 4 tools: confirm_trap, file_trap, lookup_traps, and search_traps. See the full tool list for descriptions and parameters.
How is traplens MCP Server's trust score calculated?
traplens MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.