Ripedeps

Deterministic package.json upgrade plans: age gate, aligned peers, reasons per change. No AI.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
90%
命名质量
80%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~1,409token 数(工具定义)
~13.1 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 1.10%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "ripedeps": {
      "url": "https://mcp.ripedeps.com/mcp"
    }
  }
}

远程端点

https://mcp.ripedeps.com/mcpstreamable-http

它能做什么

工具清单

工具(1)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢plan_upgrade(packageJson, packageJsonUrl, focus, minAgeDays, maxBump, ...)

Recommends version upgrades for a package.json: the newest versions that are old enough and within the allowed step size, kept aligned with each other (peer dependencies and the first-level dependencies of the packages). Deterministic, no AI. Returns the new package.json, a unified diff (apply with `patch -p1`) and a per-package table with the reasons. Every package has an `explanation` sentence and `notes` lists other changes to the file (the `ripedeps` entry): relay them to the user as the rationale for each change. Send the file as `packageJson` (text) or as `packageJsonUrl` (https URL of a raw file), exactly one of them. Recommended: minAgeDays 7 (versions younger than 7 days are not proposed). The default is 0, or the `ripedeps` entry of the file. maxBump defaults to minor. Use `focus` to restrict the upgrade to some packages (and their direct neighbours). Try more than one level: a plan only suggests and writes nothing, so calling again is cheap. Start with minor; if a package is held with a `level-limit` reason (a newer major exists), call again with maxBump "major" (optionally with `focus`) and compare. A `held` result is a reasoned decision for that one package, not a ban on the level: its reason names what blocks it (a peer or dependency constraint). Apply a larger step only when the user approves it. Privacy: We do not keep your package.json: every upload is processed from scratch and discarded, nothing about its content or your IP address is remembered. Only anonymous statistics (file size, number of dependencies, number of changes) are counted.

输入模式

{
  "type": "object",
  "properties": {
    "packageJson": {
      "description": "The full text of package.json (formatting is preserved in the diff)",
      "type": "string"
    },
    "packageJsonUrl": {
      "description": "https URL of a package.json that the service downloads (use the raw file URL)",
      "type": "string"
    },
    "focus": {
      "description": "Exact names or * globs; a bare name like \"trpc\" also matches @trpc/*. Empty means global",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "minAgeDays": {
      "description": "Minimum age of a version since its release (default 0, or the ripedeps entry of the file)",
      "type": "integer",
      "minimum": 0,
      "maximum": 365
    },
    "maxBump": {
      "description": "Default minor, or the ripedeps entry of the file",
      "type": "string",
      "enum": [
        "patch",
        "minor",
        "major"
      ]
    },
    "skipAdoptConfig": {
      "description": "Do not write the effective settings into the output package.json",
      "type": "boolean"
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

输出模式

{
  "type": "object",
  "properties": {
    "diff": {
      "type": "string",
      "description": "Unified diff (a/package.json, b/package.json) that `patch -p1` applies"
    },
    "updatedPackageJson": {
      "type": "string"
    },
    "packages": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "section": {
            "type": "string",
            "enum": [
              "dependencies",
              "devDependencies",
              "optionalDependencies"
            ]
          },
          "oldRange": {
            "type": "string"
          },
          "newRange": {
            "type": "string"
          },
          "oldVersion": {
            "type": [
              "string",
              "null"
            ]
          },
          "newVersion": {
            "type": [
              "string",
              "null"
            ]
          },
          "step": {
            "type": "string",
            "enum": [
              "none",
              "patch",
              "minor",
              "major"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "upgrade",
              "held",
              "current",
              "outside-focus",
              "skipped"
            ]
          },
          "publishedAt": {
            "description": "Release time of the new version (ISO 8601)",
            "type": [
              "string",
              "null"
            ]
          },
          "bestVersion": {
            "description": "The highest candidate version",
            "type": [
              "string",
              "null"
            ]
          },
          "skipReason": {
            "type": "string",
            "enum": [
              "non-semver-specifier",
              "open-ended",
              "complex-range",
              "unsupported-range",
              "prerelease",
              "invalid-value",
              "unknown-package",
              "lookup-failed"
            ]
          },
          "reasons": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "enum": [
                    "age-gate",
                    "engines",
                    "level-limit",
                    "peer",
                    "dependency",
                    "pulled-in"
                  ]
                },
                "message": {
                  "type": "string"
                },
                "version": {
                  "type": "string"
                },
                "ageDays": {
                  "type": "number"
                }
              },
              "required": [
                "kind",
                "message"
              ],
              "additionalProperties": false
            }
          },
          "explanation": {
            "type": "string",
            "description": "One sentence saying what happened to this package and why"
          }
        },
        "required": [
          "name",
          "section",
          "oldRange",
          "newRange",
          "oldVersion",
          "newVersion",
          "step",
          "status",
          "publishedAt",
          "bestVersion",
          "reasons",
          "explanation"
        ],
        "additionalProperties": false
      }
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "package": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "message"
        ],
        "additionalProperties": false
      }
    },
    "notes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Changes to the output file that are not package upgrades (e.g. the ripedeps entry)"
    },
    "meta": {
      "type": "object",
      "properties": {
        "settings": {
          "type": "object",
          "properties": {
            "minAgeDays": {
              "type": "object",
              "properties": {
                "value": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "source": {
                  "type": "string",
                  "enum": [
                    "request",
                    "file",
                    "default"
                  ]
                }
              },
              "required": [
                "value",
                "source"
              ],
              "additionalProperties": false
            },
            "maxBump": {
              "type": "object",
              "properties": {
                "value": {
                  "type": "string",
                  "enum": [
                    "patch",
                    "minor",
                    "major"
                  ],
                  "description": "Highest allowed step relative to the version in package.json"
                },
                "source": {
                  "type": "string",
                  "enum": [
                    "request",
                    "file",
                    "default"
                  ]
                }
              },
              "required": [
                "value",
                "source"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "minAgeDays",
            "maxBump"
          ],
          "additionalProperties": false
        },
        "input": {
          "type": "object",
          "properties": {
            "source": {
              "type": "string",
              "enum": [
                "inline",
                "url"
              ]
            },
            "url": {
              "description": "Without query string and fragment",
              "type": "string"
            },
            "bytes": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            }
          },
          "required": [
            "source",
            "bytes"
          ],
          "additionalProperties": false
        },
        "exact": {
          "type": "boolean",
          "description": "false when the solver budget was exhausted and the best solution found is returned"
        },
        "components": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "stale": {
          "type": "boolean",
          "description": "true when expired package metadata was served because revalidation failed"
        }
      },
      "required": [
        "settings",
        "input",
        "exact",
        "components",
        "stale"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "diff",
    "updatedPackageJson",
    "packages",
    "warnings",
    "notes",
    "meta"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

社区

评价此服务器

证据

最近观测

已验证未记录版本1 个工具