get_directives
Get enriched policy directives and living standards for one or more policy packs. Returns rules with governance context (CWE, MITRE, regulatory references) for inference time enforcement.
packId
io.github.Korext由 GitHub 账号 Korext 发布v3.0.1更新于 Oct 24, 2026
Governance copilot for AI-assisted coding. 72 packs, 532 rules, proof bundles.
Korext 依据合规策略包检查 AI 生成的代码,报告带治理背景的违规项,并生成签名证明包。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.Korext%2Fgovernance/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"korext-ai-code-governance": {
"type": "http",
"url": "https://app.korext.com/api/mcp"
}
}
}Enforce compliance policies on AI generated code in your GitHub workflows.
72 policy packs. 532 rules. 13 languages. Violations appear as GitHub Code Scanning annotations on pull requests.
Add this to .github/workflows/korext.yml:
Korext scans your code on every push and PR using the default web policy pack.
korext enforce against your codebase with the selected policy packViolations appear as annotations directly on the PR diff, powered by GitHub Code Scanning.
For full access to all policy packs and signed proof bundles, create an API token in your KOREXT dashboard and add it as a GitHub secret:
KOREXT_API_TOKEN in your repo's Settings > Secrets and variables > ActionsWithout a token, the action runs in anonymous mode (20 requests per hour, limited packs).
Proprietary. See Terms of Service.
来源:README.md,提交 94d49ae
Get enriched policy directives and living standards for one or more policy packs. Returns rules with governance context (CWE, MITRE, regulatory references) for inference time enforcement.
packIdCheck a code snippet against one or more policy packs. Returns violations with severity, governance context (CWE, MITRE, regulatory), and line numbers.
code必填packIdList available policy packs with industry and region tags.
regionindustryScan code against policy packs and generate a cryptographically signed proof bundle. Returns the bundle ID, decision (PASS/BLOCK), violation count, and verification URL.
code必填packIdfileNamelanguageRetrieve an existing proof bundle by ID. Returns the decision, violations, packs, and verification status.
bundleId必填已满足适用检查项的 100%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
name: Korext Enforcementon: [push, pull_request]
permissions: contents: read security-events: write
jobs: enforce: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: Korext/enforce-action@v3 with: api-token: ${{ secrets.KOREXT_API_TOKEN }}- uses: Korext/enforce-action@v3 with: pack: web,pci-dss-v1,owasp-v1 api-token: ${{ secrets.KOREXT_API_TOKEN }}- uses: Korext/enforce-action@v3 with: pack: gdpr-v1 region: eu api-token: ${{ secrets.KOREXT_API_TOKEN }}- uses: Korext/enforce-action@v3 with: directory: src/ pack: hipaa-v1 api-token: ${{ secrets.KOREXT_API_TOKEN }}- uses: Korext/enforce-action@v3 with: pack: web fail-on-violations: 'false'