Ripedeps
Deterministic package.json upgrade plans: age gate, aligned peers, reasons per change. No AI.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 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
}社群
證據