UpgradeLens

npm/PyPI/Django dependency upgrades: security, runtime compatibility, migration, package ranking.

使うべきか

品質と安全性

A
説明の品質
100%
スキーマの完全性
96%
命名の品質
95%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~4,721トークン数(ツール定義)
~13.7 KB一般的なレスポンスサイズ
注意への影響は大きい(128k コンテキストの 3.69%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "upgradelens": {
      "url": "https://upgradelens.mattpicone.workers.dev/mcp"
    }
  }
}

リモートエンドポイント

https://upgradelens.mattpicone.workers.dev/mcpstreamable-http

できること

ツール一覧

ツール(4)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢review_dependency_upgrade(ecosystem, package, current_version, target_version, runtime, ...)

Use when an agent reviews a Dependabot, Renovate, npm, or PyPI version change before merge. One cited result combines security delta, runtime compatibility, breaking changes, go/no-go risk, and ordered migration actions for exact current and target versions. Do not use for new installs, unknown versions, general documentation, or other ecosystems. Read-only and safe to retry.

入力スキーマ

{
  "type": "object",
  "properties": {
    "ecosystem": {
      "type": "string",
      "enum": [
        "npm",
        "pypi"
      ],
      "description": "Package ecosystem. Only npm and pypi are supported."
    },
    "package": {
      "type": "string",
      "maxLength": 214,
      "description": "Exact registry package name."
    },
    "current_version": {
      "type": "string",
      "maxLength": 64,
      "description": "Exact installed version."
    },
    "target_version": {
      "type": "string",
      "maxLength": 64,
      "description": "Exact candidate version."
    },
    "runtime": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "node": {
          "type": "string"
        },
        "python": {
          "type": "string"
        }
      }
    },
    "detail": {
      "type": "string",
      "enum": [
        "compact",
        "full"
      ],
      "default": "compact",
      "description": "compact is optimized for agent decisions; full includes the complete legacy plan payload."
    }
  },
  "required": [
    "ecosystem",
    "package",
    "current_version",
    "target_version"
  ],
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "next_action": {
      "type": "string"
    },
    "recommended_target": {
      "type": [
        "string",
        "null"
      ]
    },
    "action_allowed": {
      "type": "boolean"
    },
    "billing": {
      "type": "object",
      "required": [
        "mode",
        "units",
        "price_usd",
        "trial_remaining",
        "network",
        "payment_status"
      ],
      "properties": {
        "mode": {
          "type": "string",
          "enum": [
            "validation",
            "testnet",
            "mainnet",
            "paused"
          ]
        },
        "units": {
          "type": "integer",
          "minimum": 1
        },
        "price_usd": {
          "type": "number"
        },
        "trial_remaining": {
          "type": [
            "integer",
            "null"
          ]
        },
        "network": {
          "type": [
            "string",
            "null"
          ]
        },
        "payment_status": {
          "type": "string"
        }
      }
    },
    "ecosystem": {
      "type": "string",
      "enum": [
        "npm",
        "pypi"
      ]
    },
    "package": {
      "type": "string"
    },
    "current_version": {
      "type": "string"
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "coverage": {
      "type": "object"
    },
    "confidence": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "freshness": {
      "type": "string"
    },
    "analysis_version": {
      "type": "string"
    },
    "decision": {
      "type": "string",
      "enum": [
        "proceed",
        "review_required",
        "block",
        "unknown"
      ]
    },
    "risk_score": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100
    },
    "target_version": {
      "type": "string"
    },
    "latest_stable": {
      "type": [
        "string",
        "null"
      ]
    },
    "repository_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "version_facts": {
      "type": "object"
    },
    "security_delta": {
      "type": "object"
    },
    "compatibility": {
      "type": "object"
    },
    "breaking_changes": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "reasons": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "claim_evidence": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "cache_hit": {
      "type": "boolean"
    },
    "migration_actions": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "changelog_urls": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "detail": {
      "type": "string",
      "enum": [
        "compact",
        "full"
      ]
    },
    "headline": {
      "type": "string"
    },
    "citations": {
      "type": "array",
      "items": {
        "type": "object"
      }
    }
  },
  "additionalProperties": true,
  "anyOf": [
    {
      "type": "object",
      "additionalProperties": true,
      "required": [
        "next_action",
        "billing",
        "detail",
        "headline",
        "decision",
        "action_allowed",
        "risk_score",
        "ecosystem",
        "package",
        "current_version",
        "target_version",
        "security_delta",
        "compatibility",
        "breaking_changes",
        "migration_actions",
        "coverage",
        "confidence",
        "freshness",
        "analysis_version"
      ],
      "properties": {
        "next_action": {
          "type": "string"
        },
        "recommended_target": {
          "type": [
            "string",
            "null"
          ]
        },
        "action_allowed": {
          "type": "boolean"
        },
        "billing": {
          "type": "object",
          "required": [
            "mode",
            "units",
            "price_usd",
            "trial_remaining",
            "network",
            "payment_status"
          ],
          "properties": {
            "mode": {
              "type": "string",
              "enum": [
                "validation",
                "testnet",
                "mainnet",
                "paused"
              ]
            },
            "units": {
              "type": "integer",
              "minimum": 1
            },
            "price_usd": {
              "type": "number"
            },
            "trial_remaining": {
              "type": [
                "integer",
                "null"
              ]
            },
            "network": {
              "type": [
                "string",
                "null"
              ]
            },
            "payment_status": {
              "type": "string"
            }
          }
        },
        "ecosystem": {
          "type": "string",
          "enum": [
            "npm",
            "pypi"
          ]
        },
        "package": {
          "type": "string"
        },
        "current_version": {
          "type": "string"
        },
        "evidence": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "coverage": {
          "type": "object"
        },
        "confidence": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "freshness": {
          "type": "string"
        },
        "analysis_version": {
          "type": "string"
        },
        "decision": {
          "type": "string",
          "enum": [
            "proceed",
            "review_required",
            "block",
            "unknown"
          ]
        },
        "risk_score": {
          "type": "integer",
          "minimum": 0,
          "maximum": 100
        },
        "target_version": {
          "type": "string"
        },
        "latest_stable": {
          "type": [
            "string",
            "null"
          ]
        },
        "repository_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "version_facts": {
          "type": "object"
        },
        "security_delta": {
          "type": "object"
        },
        "compatibility": {
          "type": "object"
        },
        "breaking_changes": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "reasons": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "claim_evidence": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "cache_hit": {
          "type": "boolean"
        },
        "migration_actions": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "changelog_urls": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "detail": {
          "type": "string",
          "enum": [
            "compact",
            "full"
          ]
        },
        "headline": {
          "type": "string"
        },
        "citations": {
          "type": "array",
          "items": {
            "type": "object"
          }
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": true,
      "required": [
        "error"
      ],
      "properties": {
        "error": {
          "type": "object",
          "additionalProperties": true,
          "required": [
            "code",
            "message",
            "retryable"
          ],
          "properties": {
            "code": {
              "type": "string"
            },
            "message": {
              "type": "string"
            },
            "retryable": {
              "type": "boolean"
            },
            "field": {
              "type": "string"
            },
            "details": {
              "type": "object"
            }
          }
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": true,
      "required": [
        "x402Version",
        "resource",
        "accepts"
      ],
      "properties": {
        "x402Version": {
          "const": 2
        },
        "error": {
          "type": "string"
        },
        "resource": {
          "type": "object"
        },
        "accepts": {
          "type": "array",
          "minItems": 1,
          "items": {
            "type": "object"
          }
        },
        "extensions": {
          "type": "object"
        }
      }
    }
  ]
}
🟢check_dependency_upgrade(ecosystem, package, current_version, target_version, runtime)

Use when a coding agent needs a cited go/no-go risk decision without steps before changing an existing npm or PyPI dependency between two exact versions. Returns action_allowed, vulnerability delta, compatibility, EOL, and breaking-change evidence. Use plan_dependency_upgrade instead for ordered migration work. Do not use to choose a target, install a new package, search general docs, or analyze another ecosystem. Read-only and safe to retry.

入力スキーマ

{
  "type": "object",
  "properties": {
    "ecosystem": {
      "type": "string",
      "enum": [
        "npm",
        "pypi"
      ],
      "description": "Package ecosystem. Only npm and pypi are supported."
    },
    "package": {
      "type": "string",
      "maxLength": 214,
      "description": "Exact registry package name."
    },
    "current_version": {
      "type": "string",
      "maxLength": 64,
      "description": "Exact installed version."
    },
    "target_version": {
      "type": "string",
      "maxLength": 64,
      "description": "Exact candidate version."
    },
    "runtime": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "node": {
          "type": "string"
        },
        "python": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "ecosystem",
    "package",
    "current_version",
    "target_version"
  ],
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "next_action": {
      "type": "string"
    },
    "recommended_target": {
      "type": [
        "string",
        "null"
      ]
    },
    "action_allowed": {
      "type": "boolean"
    },
    "billing": {
      "type": "object",
      "required": [
        "mode",
        "units",
        "price_usd",
        "trial_remaining",
        "network",
        "payment_status"
      ],
      "properties": {
        "mode": {
          "type": "string",
          "enum": [
            "validation",
            "testnet",
            "mainnet",
            "paused"
          ]
        },
        "units": {
          "type": "integer",
          "minimum": 1
        },
        "price_usd": {
          "type": "number"
        },
        "trial_remaining": {
          "type": [
            "integer",
            "null"
          ]
        },
        "network": {
          "type": [
            "string",
            "null"
          ]
        },
        "payment_status": {
          "type": "string"
        }
      }
    },
    "ecosystem": {
      "type": "string",
      "enum": [
        "npm",
        "pypi"
      ]
    },
    "package": {
      "type": "string"
    },
    "current_version": {
      "type": "string"
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "coverage": {
      "type": "object"
    },
    "confidence": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "freshness": {
      "type": "string"
    },
    "analysis_version": {
      "type": "string"
    },
    "decision": {
      "type": "string",
      "enum": [
        "proceed",
        "review_required",
        "block",
        "unknown"
      ]
    },
    "risk_score": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100
    },
    "target_version": {
      "type": "string"
    },
    "latest_stable": {
      "type": [
        "string",
        "null"
      ]
    },
    "repository_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "version_facts": {
      "type": "object"
    },
    "security_delta": {
      "type": "object"
    },
    "compatibility": {
      "type": "object"
    },
    "breaking_changes": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "reasons": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "claim_evidence": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "cache_hit": {
      "type": "boolean"
    }
  },
  "additionalProperties": true,
  "anyOf": [
    {
      "type": "object",
      "additionalProperties": true,
      "required": [
        "next_action",
        "billing",
        "decision",
        "action_allowed",
        "risk_score",
        "ecosystem",
        "package",
        "current_version",
        "target_version",
        "evidence",
        "coverage",
        "confidence",
        "freshness",
        "analysis_version"
      ],
      "properties": {
        "next_action": {
          "type": "string"
        },
        "recommended_target": {
          "type": [
            "string",
            "null"
          ]
        },
        "action_allowed": {
          "type": "boolean"
        },
        "billing": {
          "type": "object",
          "required": [
            "mode",
            "units",
            "price_usd",
            "trial_remaining",
            "network",
            "payment_status"
          ],
          "properties": {
            "mode": {
              "type": "string",
              "enum": [
                "validation",
                "testnet",
                "mainnet",
                "paused"
              ]
            },
            "units": {
              "type": "integer",
              "minimum": 1
            },
            "price_usd": {
              "type": "number"
            },
            "trial_remaining": {
              "type": [
                "integer",
                "null"
              ]
            },
            "network": {
              "type": [
                "string",
                "null"
              ]
            },
            "payment_status": {
              "type": "string"
            }
          }
        },
        "ecosystem": {
          "type": "string",
          "enum": [
            "npm",
            "pypi"
          ]
        },
        "package": {
          "type": "string"
        },
        "current_version": {
          "type": "string"
        },
        "evidence": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "coverage": {
          "type": "object"
        },
        "confidence": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "freshness": {
          "type": "string"
        },
        "analysis_version": {
          "type": "string"
        },
        "decision": {
          "type": "string",
          "enum": [
            "proceed",
            "review_required",
            "block",
            "unknown"
          ]
        },
        "risk_score": {
          "type": "integer",
          "minimum": 0,
          "maximum": 100
        },
        "target_version": {
          "type": "string"
        },
        "latest_stable": {
          "type": [
            "string",
            "null"
          ]
        },
        "repository_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "version_facts": {
          "type": "object"
        },
        "security_delta": {
          "type": "object"
        },
        "compatibility": {
          "type": "object"
        },
        "breaking_changes": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "reasons": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "claim_evidence": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "cache_hit": {
          "type": "boolean"
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": true,
      "required": [
        "error"
      ],
      "properties": {
        "error": {
          "type": "object",
          "additionalProperties": true,
          "required": [
            "code",
            "message",
            "retryable"
          ],
          "properties": {
            "code": {
              "type": "string"
            },
            "message": {
              "type": "string"
            },
            "retryable": {
              "type": "boolean"
            },
            "field": {
              "type": "string"
            },
            "details": {
              "type": "object"
            }
          }
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": true,
      "required": [
        "x402Version",
        "resource",
        "accepts"
      ],
      "properties": {
        "x402Version": {
          "const": 2
        },
        "error": {
          "type": "string"
        },
        "resource": {
          "type": "object"
        },
        "accepts": {
          "type": "array",
          "minItems": 1,
          "items": {
            "type": "object"
          }
        },
        "extensions": {
          "type": "object"
        }
      }
    }
  ]
}
🟢find_safe_upgrade_target(ecosystem, package, current_version, max_major_jump, allow_prerelease)

Use only when an existing npm or PyPI dependency has an exact current version but no chosen target. Ranks candidates; candidates are not declared safe and require check_dependency_upgrade or plan_dependency_upgrade. Do not use when a target is stated, for a new install, or as authorization to edit files. Read-only and safe to retry.

入力スキーマ

{
  "type": "object",
  "properties": {
    "ecosystem": {
      "type": "string",
      "enum": [
        "npm",
        "pypi"
      ],
      "description": "Package ecosystem. Only npm and pypi are supported."
    },
    "package": {
      "type": "string",
      "maxLength": 214,
      "description": "Exact registry package name."
    },
    "current_version": {
      "type": "string",
      "maxLength": 64,
      "description": "Exact installed version."
    },
    "max_major_jump": {
      "type": "integer",
      "minimum": 0,
      "description": "Optional major-version jump cap. 0 = stay in the same major."
    },
    "allow_prerelease": {
      "type": "boolean"
    }
  },
  "required": [
    "ecosystem",
    "package",
    "current_version"
  ],
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "next_action": {
      "type": "string"
    },
    "recommended_target": {
      "type": [
        "string",
        "null"
      ]
    },
    "action_allowed": {
      "type": "boolean"
    },
    "billing": {
      "type": "object",
      "required": [
        "mode",
        "units",
        "price_usd",
        "trial_remaining",
        "network",
        "payment_status"
      ],
      "properties": {
        "mode": {
          "type": "string",
          "enum": [
            "validation",
            "testnet",
            "mainnet",
            "paused"
          ]
        },
        "units": {
          "type": "integer",
          "minimum": 1
        },
        "price_usd": {
          "type": "number"
        },
        "trial_remaining": {
          "type": [
            "integer",
            "null"
          ]
        },
        "network": {
          "type": [
            "string",
            "null"
          ]
        },
        "payment_status": {
          "type": "string"
        }
      }
    },
    "ecosystem": {
      "type": "string",
      "enum": [
        "npm",
        "pypi"
      ]
    },
    "package": {
      "type": "string"
    },
    "current_version": {
      "type": "string"
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "coverage": {
      "type": "object"
    },
    "confidence": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "freshness": {
      "type": "string"
    },
    "analysis_version": {
      "type": "string"
    },
    "latest_stable": {
      "type": [
        "string",
        "null"
      ]
    },
    "candidates": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "version",
          "decision",
          "requires_full_check",
          "rationale"
        ],
        "properties": {
          "version": {
            "type": "string"
          },
          "decision": {
            "type": "string",
            "enum": [
              "review_required",
              "block",
              "unknown"
            ]
          },
          "requires_full_check": {
            "const": true
          },
          "rationale": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "score": {
            "type": "number",
            "description": "Ranking score, not a safety verdict."
          },
          "fixes_advisories": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "introduces_advisories": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "semver_jump": {
            "type": "string"
          },
          "published_at": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    }
  },
  "additionalProperties": true,
  "anyOf": [
    {
      "type": "object",
      "additionalProperties": true,
      "required": [
        "next_action",
        "recommended_target",
        "billing",
        "ecosystem",
        "package",
        "current_version",
        "action_allowed",
        "candidates",
        "evidence",
        "coverage",
        "confidence",
        "freshness",
        "analysis_version"
      ],
      "properties": {
        "next_action": {
          "type": "string"
        },
        "recommended_target": {
          "type": [
            "string",
            "null"
          ]
        },
        "action_allowed": {
          "type": "boolean"
        },
        "billing": {
          "type": "object",
          "required": [
            "mode",
            "units",
            "price_usd",
            "trial_remaining",
            "network",
            "payment_status"
          ],
          "properties": {
            "mode": {
              "type": "string",
              "enum": [
                "validation",
                "testnet",
                "mainnet",
                "paused"
              ]
            },
            "units": {
              "type": "integer",
              "minimum": 1
            },
            "price_usd": {
              "type": "number"
            },
            "trial_remaining": {
              "type": [
                "integer",
                "null"
              ]
            },
            "network": {
              "type": [
                "string",
                "null"
              ]
            },
            "payment_status": {
              "type": "string"
            }
          }
        },
        "ecosystem": {
          "type": "string",
          "enum": [
            "npm",
            "pypi"
          ]
        },
        "package": {
          "type": "string"
        },
        "current_version": {
          "type": "string"
        },
        "evidence": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "coverage": {
          "type": "object"
        },
        "confidence": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "freshness": {
          "type": "string"
        },
        "analysis_version": {
          "type": "string"
        },
        "latest_stable": {
          "type": [
            "string",
            "null"
          ]
        },
        "candidates": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "version",
              "decision",
              "requires_full_check",
              "rationale"
            ],
            "properties": {
              "version": {
                "type": "string"
              },
              "decision": {
                "type": "string",
                "enum": [
                  "review_required",
                  "block",
                  "unknown"
                ]
              },
              "requires_full_check": {
                "const": true
              },
              "rationale": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "score": {
                "type": "number",
                "description": "Ranking score, not a safety verdict."
              },
              "fixes_advisories": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "introduces_advisories": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "semver_jump": {
                "type": "string"
              },
              "published_at": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          }
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": true,
      "required": [
        "error"
      ],
      "properties": {
        "error": {
          "type": "object",
          "additionalProperties": true,
          "required": [
            "code",
            "message",
            "retryable"
          ],
          "properties": {
            "code": {
              "type": "string"
            },
            "message": {
              "type": "string"
            },
            "retryable": {
              "type": "boolean"
            },
            "field": {
              "type": "string"
            },
            "details": {
              "type": "object"
            }
          }
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": true,
      "required": [
        "x402Version",
        "resource",
        "accepts"
      ],
      "properties": {
        "x402Version": {
          "const": 2
        },
        "error": {
          "type": "string"
        },
        "resource": {
          "type": "object"
        },
        "accepts": {
          "type": "array",
          "minItems": 1,
          "items": {
            "type": "object"
          }
        },
        "extensions": {
          "type": "object"
        }
      }
    }
  ]
}
🟢plan_dependency_upgrade(ecosystem, package, current_version, target_version, runtime)

Use when a coding agent needs a migration checklist, refactor actions, ordered review actions, changelog links, or test steps for exact current and target npm/PyPI versions. Use check_dependency_upgrade instead for a go/no-go without steps. Do not use to choose a target, install a package, or provide a general tutorial. Read-only and safe to retry.

入力スキーマ

{
  "type": "object",
  "properties": {
    "ecosystem": {
      "type": "string",
      "enum": [
        "npm",
        "pypi"
      ],
      "description": "Package ecosystem. Only npm and pypi are supported."
    },
    "package": {
      "type": "string",
      "maxLength": 214,
      "description": "Exact registry package name."
    },
    "current_version": {
      "type": "string",
      "maxLength": 64,
      "description": "Exact installed version."
    },
    "target_version": {
      "type": "string",
      "maxLength": 64,
      "description": "Exact candidate version."
    },
    "runtime": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "node": {
          "type": "string"
        },
        "python": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "ecosystem",
    "package",
    "current_version",
    "target_version"
  ],
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "next_action": {
      "type": "string"
    },
    "recommended_target": {
      "type": [
        "string",
        "null"
      ]
    },
    "action_allowed": {
      "type": "boolean"
    },
    "billing": {
      "type": "object",
      "required": [
        "mode",
        "units",
        "price_usd",
        "trial_remaining",
        "network",
        "payment_status"
      ],
      "properties": {
        "mode": {
          "type": "string",
          "enum": [
            "validation",
            "testnet",
            "mainnet",
            "paused"
          ]
        },
        "units": {
          "type": "integer",
          "minimum": 1
        },
        "price_usd": {
          "type": "number"
        },
        "trial_remaining": {
          "type": [
            "integer",
            "null"
          ]
        },
        "network": {
          "type": [
            "string",
            "null"
          ]
        },
        "payment_status": {
          "type": "string"
        }
      }
    },
    "ecosystem": {
      "type": "string",
      "enum": [
        "npm",
        "pypi"
      ]
    },
    "package": {
      "type": "string"
    },
    "current_version": {
      "type": "string"
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "coverage": {
      "type": "object"
    },
    "confidence": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    },
    "freshness": {
      "type": "string"
    },
    "analysis_version": {
      "type": "string"
    },
    "decision": {
      "type": "string",
      "enum": [
        "proceed",
        "review_required",
        "block",
        "unknown"
      ]
    },
    "risk_score": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100
    },
    "target_version": {
      "type": "string"
    },
    "latest_stable": {
      "type": [
        "string",
        "null"
      ]
    },
    "repository_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "version_facts": {
      "type": "object"
    },
    "security_delta": {
      "type": "object"
    },
    "compatibility": {
      "type": "object"
    },
    "breaking_changes": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "reasons": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "claim_evidence": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "cache_hit": {
      "type": "boolean"
    },
    "migration_actions": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "changelog_urls": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "additionalProperties": true,
  "anyOf": [
    {
      "type": "object",
      "additionalProperties": true,
      "required": [
        "next_action",
        "billing",
        "decision",
        "action_allowed",
        "risk_score",
        "ecosystem",
        "package",
        "current_version",
        "target_version",
        "evidence",
        "coverage",
        "confidence",
        "freshness",
        "analysis_version",
        "migration_actions",
        "changelog_urls"
      ],
      "properties": {
        "next_action": {
          "type": "string"
        },
        "recommended_target": {
          "type": [
            "string",
            "null"
          ]
        },
        "action_allowed": {
          "type": "boolean"
        },
        "billing": {
          "type": "object",
          "required": [
            "mode",
            "units",
            "price_usd",
            "trial_remaining",
            "network",
            "payment_status"
          ],
          "properties": {
            "mode": {
              "type": "string",
              "enum": [
                "validation",
                "testnet",
                "mainnet",
                "paused"
              ]
            },
            "units": {
              "type": "integer",
              "minimum": 1
            },
            "price_usd": {
              "type": "number"
            },
            "trial_remaining": {
              "type": [
                "integer",
                "null"
              ]
            },
            "network": {
              "type": [
                "string",
                "null"
              ]
            },
            "payment_status": {
              "type": "string"
            }
          }
        },
        "ecosystem": {
          "type": "string",
          "enum": [
            "npm",
            "pypi"
          ]
        },
        "package": {
          "type": "string"
        },
        "current_version": {
          "type": "string"
        },
        "evidence": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "coverage": {
          "type": "object"
        },
        "confidence": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "freshness": {
          "type": "string"
        },
        "analysis_version": {
          "type": "string"
        },
        "decision": {
          "type": "string",
          "enum": [
            "proceed",
            "review_required",
            "block",
            "unknown"
          ]
        },
        "risk_score": {
          "type": "integer",
          "minimum": 0,
          "maximum": 100
        },
        "target_version": {
          "type": "string"
        },
        "latest_stable": {
          "type": [
            "string",
            "null"
          ]
        },
        "repository_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "version_facts": {
          "type": "object"
        },
        "security_delta": {
          "type": "object"
        },
        "compatibility": {
          "type": "object"
        },
        "breaking_changes": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "reasons": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "claim_evidence": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "cache_hit": {
          "type": "boolean"
        },
        "migration_actions": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "changelog_urls": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": true,
      "required": [
        "error"
      ],
      "properties": {
        "error": {
          "type": "object",
          "additionalProperties": true,
          "required": [
            "code",
            "message",
            "retryable"
          ],
          "properties": {
            "code": {
              "type": "string"
            },
            "message": {
              "type": "string"
            },
            "retryable": {
              "type": "boolean"
            },
            "field": {
              "type": "string"
            },
            "details": {
              "type": "object"
            }
          }
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": true,
      "required": [
        "x402Version",
        "resource",
        "accepts"
      ],
      "properties": {
        "x402Version": {
          "const": 2
        },
        "error": {
          "type": "string"
        },
        "resource": {
          "type": "object"
        },
        "accepts": {
          "type": "array",
          "minItems": 1,
          "items": {
            "type": "object"
          }
        },
        "extensions": {
          "type": "object"
        }
      }
    }
  ]
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 4 件
検証済みバージョンは記録されていませんツール 4 件