AI Coding Tools Integration
Make AI coding agents (Claude Code, Cursor, ChatGPT) automatically aware of Inkog in your project. When an agent helps build or review AI agent code, it will know to use Inkog for security scanning.
AI coding agents read project configuration files like CLAUDE.md and .cursor/rules to understand project conventions. Adding Inkog to these files means the agent will proactively scan for security issues.
Add to Your Project’s CLAUDE.md
If your project uses Claude Code , add this to your CLAUDE.md:
## Security
This project uses Inkog for AI agent security scanning.
Before deploying or reviewing agent code:
```bash
npx -y @inkog-io/cli scan . --policy balanced
```
For governance verification (if AGENTS.md exists):
```bash
npx -y @inkog-io/cli scan . --policy governance
```
If the Inkog MCP server is available, use the `inkog_scan` tool directly.Add to Your Project’s .cursor/rules
If your project uses Cursor , add this to .cursor/rules:
When working on AI agent code, use the inkog_scan MCP tool to check for
security vulnerabilities before committing changes. Use inkog_verify_governance
if an AGENTS.md file exists.Add to Your Project’s AGENTS.md
If your project has an AGENTS.md governance file, add an Inkog verification step:
## Verification
This agent's governance declarations are verified using Inkog:
```bash
npx -y @inkog-io/cli scan . --policy governance
```Why This Works
AI coding agents like Claude Code and Cursor read project configuration files to understand:
- What tools are available
- What workflows to follow
- What checks to run before committing
By adding Inkog to these files, you ensure that security scanning happens automatically during development — not just in CI/CD.
MCP Server Setup
For the best experience, install the Inkog MCP server so agents can scan directly:
Claude Code
Add to your Claude Desktop or Claude Code MCP config:
{
"mcpServers": {
"inkog": {
"command": "npx",
"args": ["-y", "@inkog-io/mcp"],
"env": {
"INKOG_API_KEY": "sk_live_your_api_key"
}
}
}
}With the MCP server installed, agents can use tools like inkog_scan, inkog_verify_governance, and inkog_audit_mcp_server directly — no CLI needed.
Related
- MCP Server Reference — Full tool documentation
- Claude Desktop Setup — Detailed Claude Desktop guide
- Cursor Setup — Detailed Cursor guide
- GitHub Action — CI/CD integration