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'