
Inkog
io.github.inkog-io由 GitHub 帳號 inkog-io 發布v1.0.20更新於 Oct 24, 2026
Security co-pilot for AI agents. Scan for vulnerabilities, audit MCP servers, verify governance.
概覽
Inkog 是可在本機執行的資安副駕駛 MCP 伺服器,讓助理掃描 AI 代理程式碼漏洞、核對治理宣告並稽核 MCP 伺服器。
- 可以做什麼
- 掃描代理程式碼與目錄,找出邏輯缺陷與資安風險,可選分析策略與包含 SARIF 的輸出格式。核對 AGENTS.md 治理宣告與實際程式碼行為是否一致。產生對應 EU AI Act、NIST AI RMF、ISO 42001 與 OWASP LLM Top 10 的合規報告。說明發現的問題並提供修補建議。稽核登錄檔或 GitHub 儲存庫中的 MCP 伺服器,並稽核多代理系統中的代理間委派。產生 CycloneDX、SPDX 或 JSON 格式的機器學習物料清單。
- 適用情境
- 適合在 Claude、Cursor 等用戶端開發或審查 AI 代理程式碼時使用,希望在同一段對話中取得資安發現與修補建議。也適合發布前的治理核對、合規報告,以及在採用前審查 MCP 伺服器或多代理交接。
- 執行需求
- 透過 npx 或全域 npm 安裝後在本機執行,需要 Node.js。需要 Inkog 帳號與 API 金鑰,透過環境變數 INKOG_API_KEY 提供,說明中提到有免費方案。需要連線至 Inkog API 的網路,可選設定 INKOG_API_URL、INKOG_API_VERSION、INKOG_API_TIMEOUT、INKOG_LOG_LEVEL 與 INKOG_LOG_FORMAT。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Inkog,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Inkog MCP Server
Security companion for AI agent development in Claude, Cursor, and Claude Code.
Ask your AI pair-programmer to build an agent. Inkog checks it as you code — scanning for vulnerabilities, explaining findings in plain English, verifying AGENTS.md governance, and auditing agent-to-agent delegation. All inside the same conversation, no context switch.
Available in Claude Desktop, Cursor, Claude Code, ChatGPT, and any MCP-compatible client.
[npm version] [License] [MCP Compatible]
The Dev-Flow Loop
Inkog is designed to live inside the conversation where you build the agent — not as a post-hoc gate:
- Ask Claude to build a piece of agent logic.
- Ask Claude to scan it with Inkog —
"Scan this with Inkog and show me any CRITICAL or HIGH findings." - Ask Claude to explain each finding in plain English —
"Explain the top finding. What's the risk, and how do I fix it?" - Ask Claude to apply the fixes. Review the diff, approve, re-scan.
- Before shipping, verify governance —
"Verify my AGENTS.md against the code"and"Audit the agent-to-agent delegation".
Read the full walkthrough: Building Secure AI Agents with Claude Code and the Inkog MCP.
Recommended prompts
- "Scan the current directory with Inkog and show me any CRITICAL or HIGH findings."
- "Explain the top finding in plain English. What's the risk, and how do I fix it?"
- "Verify my AGENTS.md against the code."
- "Audit the agent-to-agent delegation in this crew."
- "Run a compliance report and map the findings to EU AI Act Articles 12, 14, and 15."
- "Audit the MCP servers I'm integrating with."
When to Use Inkog
- Building an AI agent — Scan during development to catch infinite loops, prompt injection, and missing guardrails before they ship
- Adding security to CI/CD — Add
inkog-io/inkog@v1to GitHub Actions for automated security gates on every PR - Preparing for EU AI Act — Generate compliance reports mapping your agent to Article 14, NIST AI RMF, OWASP LLM Top 10
- Reviewing agent code — Use from Claude Code, Cursor, or any MCP client to get security analysis while you code
- Auditing MCP servers — Check any MCP server for tool poisoning, privilege escalation, or data exfiltration before installing
- Verifying AGENTS.md — Validate that governance declarations match actual code behavior
- Building multi-agent systems — Detect delegation loops, privilege escalation, and unauthorized handoffs between agents
What Inkog Does
- Logic Flaw Detection: Find infinite loops, recursion risks, and missing exit conditions
- Security Analysis: Detect prompt injection paths, unconstrained tools, and data leakage risks
- AGENTS.md Governance: Validate that code behavior matches governance declarations
- Compliance Reporting: Generate reports for EU AI Act, NIST AI RMF, OWASP LLM Top 10
- MCP Server Auditing: Audit any MCP server before installation
- Multi-Agent Analysis: Audit Agent-to-Agent communications for logic and security issues
Installation
Claude Desktop
Add to your claude_desktop_config.json:
Cursor
Add to your Cursor MCP settings:
Global Installation
Getting Your API Key
- Sign up for free at app.inkog.io
- Copy your API key from the dashboard
- Set it as
INKOG_API_KEYenvironment variable
Available Tools
P0 - Core Analysis (Essential)
P1 - Enterprise Features
P2 - Multi-Agent Analysis
Tool Details
inkog_scan
Static analysis for AI agent code - finds logic flaws and security risks.
Example: "Scan my LangChain agent for logic flaws"
inkog_verify_governance
Validate that AGENTS.md declarations match actual code behavior. This is Inkog's unique differentiator - no other tool does governance verification.
Example: "Verify my agent's governance declarations"
inkog_compliance_report
Generate compliance reports for regulatory frameworks.
Example: "Generate an EU AI Act compliance report for my agent"
inkog_explain_finding
Get detailed explanation and remediation guidance for a security finding.
Example: "Explain how to fix prompt injection vulnerabilities"
inkog_audit_mcp_server
Security audit any MCP server from the registry or GitHub.
Example: "Audit the GitHub MCP server for security issues"
inkog_generate_mlbom
Generate a Machine Learning Bill of Materials listing all AI components.
Example: "Generate an MLBOM for my AI project"
inkog_audit_a2a
Audit Agent-to-Agent communications for security risks.
Example: "Audit my CrewAI multi-agent system for security risks"
Supported Frameworks
Inkog works with all major AI agent frameworks:
- LangChain / LangGraph
- CrewAI
- AutoGen
- n8n
- Flowise
- Dify
- Microsoft Copilot Studio
- Custom implementations
Configuration
All configuration is done via environment variables:
Development
Why Inkog?
Security in the Dev-Flow, Not After It
Most AI agent security tools run after the code is written. Inkog lives inside the conversation where you build the agent — so findings get fixed before they land in a PR, not three weeks later.
The Only Tool with AGENTS.md Verification
Inkog is the only tool that can validate your agent's governance declarations against its actual code behavior. This is essential for:
- EU AI Act Article 14 compliance (human oversight)
- Enterprise governance requirements
- Preventing governance drift as code evolves
Purpose-Built for AI Agents
Unlike traditional code scanners (Snyk, Semgrep, SonarQube), Inkog understands AI-specific issues:
- Infinite loops and recursion risks
- Prompt injection paths
- Unconstrained tool access
- Missing exit conditions
- Cross-tenant data leakage
Multi-Framework Support
Inkog's Universal IR (Intermediate Representation) works with any agent framework. Add one integration, get analysis for all frameworks.
License
Apache-2.0 - see LICENSE
Links
Built with security by Inkog.io
來源:README.md,提交 88ab34e
工具
0版本歷史
1- v1.0.20最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分