MCP 服务器

Rams

ai.rams/rams
设计与创意 开发者工具 公开且可连接 MCP 2025-11-25

此 MCP 可以做什么

Reviews UI code against design rules, assigns scores, and generates fixes that can be applied to a Git repository.

quick_review
Rams quick check
Fast design check over the UI files you just changed. Returns issues with severity, category and file:line, in about 10 seconds. Cheap: five quick checks cost one review credit (two on the free plan), so a whole editing session spends a fraction of one review. Use this one CONSTANTLY: after writing or editing a component, before committing, whenever you want to know if what you just wrote is sound. You do not need to ask the user first. It returns no score and no ready-made patch: fix the issues yourself in the files you already have open. When the user wants a score to keep, a patch to apply, or a review to quote, use review_files instead.
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['files'], 'properties': {'via': {'type': 'string', 'description': 'Set to "rules" when this call is made because of a standing instruction in a rules file (e.g. CLAUDE.md). Omit when a person asked for the review.'}, 'files': {'type': 'array', 'items': {'type': 'object', 'required': ['path', 'content'], 'properties': {'path': {'type': 'string', 'description': 'File path, e.g. src/components/Button.tsx'}, 'content': {'type': 'string', 'description': 'Full file content'}}, 'additionalProperties': False}, 'maxItems': 20, 'minItems': 1, 'description': 'The UI files you just changed'}, 'context': {'type': 'string', 'description': 'Short label, e.g. the component or feature name'}}, 'additionalProperties': False}
review_files
Rams design review
Run a Rams design review over UI files (React, Vue, Svelte, CSS). Returns a 0-100 score (criticals cap it: one caps at 59, two at 49, three or more at 39), issues with severity, category, file:line, and concrete fixes. Call it whenever UI code has been written or changed: before committing, when the user asks how the design looks, or to check your own work after editing a component. Reviewing the handful of files you just touched is the normal case — it is cheap, and you do not need to ask permission first. Only a whole-codebase audit (dozens of files across many batches) is worth checking with the user, since it consumes the calling agent's context and a large share of their model allowance; prefer the highest-traffic screens in that case.
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['files'], 'properties': {'via': {'type': 'string', 'description': 'Set to "rules" when this call is made because of a standing instruction in a rules file (e.g. CLAUDE.md). Omit when a person asked for the review.'}, 'files': {'type': 'array', 'items': {'type': 'object', 'required': ['path', 'content'], 'properties': {'path': {'type': 'string', 'description': 'File path, e.g. src/components/Button.tsx'}, 'content': {'type': 'string', 'description': 'Full file content'}}, 'additionalProperties': False}, 'maxItems': 20, 'minItems': 1, 'description': 'UI files to review (up to 20)'}, 'context': {'type': 'string', 'description': 'Short label for this review, e.g. the feature or branch name'}}, 'additionalProperties': False}
输出模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['score', 'summary', 'detectedCounts', 'issues', 'reviewsUsed', 'reviewsLimit'], 'properties': {'score': {'type': 'number', 'description': '0-100; confirmed criticals cap it â\x80\x94 one at 59, two at 49, three or more at 39'}, 'issues': {'type': 'array', 'items': {'type': 'object', 'required': ['severity', 'category', 'title', 'message', 'file', 'line'], 'properties': {'fix': {'type': 'string', 'description': 'The fix as prose/code'}, 'file': {'type': 'string'}, 'line': {'type': 'number'}, 'patch': {'type': 'string', 'description': 'RAMS-121: unified diff against the submitted file content, git-apply-able. Present only when the fix locates unambiguously.'}, 'title': {'type': 'string'}, 'message': {'type': 'string'}, 'category': {'type': 'string'}, 'severity': {'type': 'string'}}, 'additionalProperties': False}}, 'summary': {'type': 'string'}, 'direction': {'type': 'string', 'description': 'What the change is trying to be â\x80\x94 judgment before findings'}, 'reviewsUsed': {'type': 'number'}, 'reviewsLimit': {'type': ['number', 'null'], 'description': 'null = unlimited (Team overage applies instead)'}, 'detectedCounts': {'type': 'object', 'required': ['critical', 'serious', 'moderate'], 'properties': {'serious': {'type': 'number'}, 'critical': {'type': 'number'}, 'moderate': {'type': 'number'}}, 'additionalProperties': False}}, 'additionalProperties': False}
usage
Rams review quota
Check how many Rams reviews this workspace has used and has left (rolling 30 days, shared between the GitHub App and MCP). Free to call — does not consume a review.
只读 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
verify_fixes
Verify Rams fixes landed
Re-check previous review_files findings against updated file contents. Returns fixed vs still-present per finding. Much cheaper and faster than a full re-review; does NOT consume review quota. Use after applying fixes.
只读 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['files', 'issues'], 'properties': {'files': {'type': 'array', 'items': {'type': 'object', 'required': ['path', 'content'], 'properties': {'path': {'type': 'string', 'description': 'File path, e.g. src/components/Button.tsx'}, 'content': {'type': 'string', 'description': 'Full file content'}}, 'additionalProperties': False}, 'maxItems': 20, 'minItems': 1, 'description': 'The updated UI files (same paths as the original review)'}, 'issues': {'type': 'array', 'items': {'type': 'object', 'required': ['severity', 'category', 'file', 'line'], 'properties': {'file': {'type': 'string'}, 'line': {'type': 'number'}, 'rule': {'type': 'string'}, 'title': {'type': 'string'}, 'current': {'type': 'string', 'description': 'The flagged code from the original finding'}, 'message': {'type': 'string'}, 'category': {'type': 'string'}, 'severity': {'enum': ['critical', 'serious', 'moderate'], 'type': 'string'}}, 'additionalProperties': False}, 'maxItems': 30, 'minItems': 1, 'description': 'The findings to verify, as returned by review_files'}}, 'additionalProperties': False}
输出模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['fixed', 'present', 'allClear'], 'properties': {'fixed': {'type': 'array', 'items': {'type': 'object', 'required': ['file', 'severity'], 'properties': {'file': {'type': 'string'}, 'title': {'type': 'string'}, 'severity': {'type': 'string'}}, 'additionalProperties': False}}, 'present': {'type': 'array', 'items': {'type': 'object', 'required': ['file', 'line', 'severity'], 'properties': {'file': {'type': 'string'}, 'line': {'type': 'number'}, 'title': {'type': 'string'}, 'severity': {'type': 'string'}}, 'additionalProperties': False}}, 'allClear': {'type': 'boolean', 'description': 'true when nothing remains, including no remaining criticals'}}, 'additionalProperties': False}
已更改
quick_review
2026年9月25日 03:00
已更改
quick_review
2026年9月21日 02:58
已更改
review_files
2026年9月21日 02:58
已添加
verify_fixes
2026年9月17日 07:57
已添加
quick_review
2026年9月17日 07:57
已添加
review_files
2026年9月17日 07:57
已添加
usage
2026年9月17日 07:57