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
}社群
證據