Footgun
Dated, verified fixes for how APIs and AI coding tools break, served to your agent before it codes.
使うべきか
品質と安全性
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"footgun": {
"url": "https://getfootgun.com/api/mcp"
}
}
}リモートエンドポイント
https://getfootgun.com/api/mcpstreamable-httpできること
ツール一覧
ツール(4)
🟢lookup_traps(provider, surface, context, include_stale)
Call before writing code against a third-party API, platform, or AI tool. Returns verified, dated failure modes with fixes.
入力スキーマ
{
"type": "object",
"properties": {
"provider": {
"type": "string"
},
"surface": {
"type": "string"
},
"context": {
"type": "string"
},
"include_stale": {
"type": "boolean"
}
},
"required": [
"provider"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢search_traps(error_text, provider, include_stale)
Call when a call to a third-party service fails. Paste the error text. Returns the closest verified traps with fixes.
入力スキーマ
{
"type": "object",
"properties": {
"error_text": {
"type": "string",
"minLength": 4,
"maxLength": 4000
},
"provider": {
"type": "string"
},
"include_stale": {
"type": "boolean"
}
},
"required": [
"error_text"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡file_trap(provider, surface_type, surface_name, title, symptoms, ...)
Draft a trap after a failure was fixed. Private by default with a Pro or Team key; public filings enter the review queue. A public trap is reviewed by a person before it is published; citing the provider's official documentation or changelog in sources helps. Needs an API key. Set visibility to public to submit to the public registry.
入力スキーマ
{
"type": "object",
"properties": {
"provider": {
"type": "string",
"maxLength": 64
},
"surface_type": {
"type": "string",
"enum": [
"api",
"sdk",
"ui",
"billing",
"infra",
"tool"
]
},
"surface_name": {
"type": "string",
"maxLength": 200
},
"title": {
"type": "string",
"minLength": 10,
"maxLength": 140
},
"symptoms": {
"minItems": 1,
"maxItems": 6,
"type": "array",
"items": {
"type": "string",
"maxLength": 300
}
},
"cause": {
"type": "string",
"maxLength": 1000
},
"fix": {
"type": "string",
"maxLength": 2000
},
"apply": {
"type": "string",
"maxLength": 4000
},
"affected": {
"type": "string",
"maxLength": 300
},
"sources": {
"default": [],
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"maxLength": 500
}
},
"tags": {
"maxItems": 6,
"type": "array",
"items": {
"type": "string",
"maxLength": 40
}
},
"visibility": {
"type": "string",
"enum": [
"private",
"public"
]
}
},
"required": [
"provider",
"surface_type",
"surface_name",
"title",
"symptoms",
"cause",
"fix",
"apply",
"affected"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪confirm_trap(trap_id, still_true, hours_lost, version_seen)
Record that a trap is still true (or not), with optional hours lost and version seen. Needs an API key.
入力スキーマ
{
"type": "object",
"properties": {
"trap_id": {
"type": "string"
},
"still_true": {
"type": "boolean"
},
"hours_lost": {
"type": "number"
},
"version_seen": {
"type": "string"
}
},
"required": [
"trap_id",
"still_true"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}コミュニティ
エビデンス