Regulane compliance check
Check code against secure-coding rules mapped to ISO 27001 and the DPDP Act. Free, no account.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"compliance": {
"url": "https://regulane.com/api/mcp"
}
}
}远程端点
https://regulane.com/api/mcpstreamable-http它能做什么
工具清单
工具(2)
🟢get_compliance_rules(areas)
Returns the workspace's secure-coding rules: what to look for, how to fix it, and the ISO 27001 Annex A controls and DPDP Act sections each rule evidences. Call this before reviewing a change, then report with report_compliance_check.
输入模式
{
"type": "object",
"properties": {
"areas": {
"type": "array",
"items": {
"type": "string",
"enum": [
"secrets_and_auth",
"injection",
"cryptography",
"personal_data",
"logging",
"supply_chain",
"infrastructure",
"change_safety"
]
},
"description": "Only the rules in these areas. Omit for all rules (recommended)."
}
},
"additionalProperties": false
}🟢report_compliance_check(repository, branch, commit, agent, scope, ...)
Turns the check you ran against the rules from get_compliance_rules into a scorecard: findings by severity, the ISO 27001 controls and DPDP Act sections affected, and the fix for each. Report a clean check too. Regulane does not store it. Send no source code, secrets or personal data.
输入模式
{
"type": "object",
"properties": {
"repository": {
"type": "string",
"description": "The git remote URL, or the project folder name when there is no remote."
},
"branch": {
"type": "string",
"description": "Current branch, if known."
},
"commit": {
"type": "string",
"description": "Commit SHA the check ran against, if known."
},
"agent": {
"type": "string",
"description": "Which coding agent you are, such as \"Claude Code\", \"Cursor\", \"GitHub Copilot\", \"Codex\"."
},
"scope": {
"type": "string",
"description": "One line on what was examined, such as \"staged changes, 6 files\" or \"src/payments\"."
},
"rules_checked": {
"type": "array",
"items": {
"type": "string"
},
"description": "Every rule id you checked, including those with no finding."
},
"findings": {
"type": "array",
"maxItems": 200,
"description": "One entry per problem found. Empty when the check is clean.",
"items": {
"type": "object",
"properties": {
"rule_id": {
"type": "string",
"description": "The rule broken, such as RG-SC-004."
},
"file": {
"type": "string",
"description": "Path relative to the repository root."
},
"line": {
"type": "integer",
"minimum": 1,
"description": "Line number, if there is one."
},
"summary": {
"type": "string",
"description": "One sentence on the problem. No code, secrets or personal data."
}
},
"required": [
"rule_id",
"file",
"summary"
],
"additionalProperties": false
}
}
},
"required": [
"repository",
"scope",
"rules_checked",
"findings"
],
"additionalProperties": false
}社区
证据