com.offensive360/o360-mcp
Run Offensive360 SAST scans (60+ languages) on local code; findings with file/line and fixes
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
o360-mcpclaude mcp add o360-mcp -e 'O360_URL=https://sast.offensive360.com' -e 'O360_TOKEN=<your o360_token>' -- npx -y o360-mcp@1.0.2
{
"mcpServers": {
"o360-mcp": {
"command": "npx",
"args": [
"-y",
"o360-mcp@1.0.2"
],
"env": {
"O360_URL": "https://sast.offensive360.com",
"O360_TOKEN": "<your o360_token>"
}
}
}
}
متغيرات البيئة
O360_URLOffensive360 instance base URLO360_TOKENإلزامي سري External scan token (free for public repos: https://offensive360.com/free-for-open-source/)
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
Offensive360 MCP Server
Run Offensive360 SAST scans from inside your AI assistant. This Model Context Protocol server gives Claude Code, Claude Desktop, Cursor, and any other MCP client two tools:
| Tool | What it does |
|---|---|
o360_scan_path | Zips a local directory, runs a full SAST scan (60+ languages, taint/data-flow analysis), returns findings with file/line, severity, and fixes |
o360_scan_status | Queue position of a running scan |
Ask your assistant things like "scan this project with Offensive360 and fix the criticals" — it scans, reads the findings, and starts patching.
Setup
You need an Offensive360 External scan token:
- Open-source / public repos: free — request one at offensive360.com/free-for-open-source
- Commercial: any admin of your instance can create one under Settings → Tokens
Claude Code
claude mcp add offensive360 \
-e O360_URL=https://sast.offensive360.com \
-e O360_TOKEN=<your-token> \
-- npx -y o360-mcp
Claude Desktop / Cursor (JSON)
{
"mcpServers": {
"offensive360": {
"command": "npx",
"args": ["-y", "o360-mcp"],
"env": {
"O360_URL": "https://sast.offensive360.com",
"O360_TOKEN": "<your-token>"
}
}
}
}
O360_URL can point at your own on-premise or air-gapped instance — the server
talks only to the instance you configure.
Notes
- Scans are synchronous; typical duration is 1–5 minutes depending on codebase size.
The default client timeout is 900s (
timeout_secondsparameter to override). - Common junk directories (
node_modules,.git,dist, …) are excluded from the upload automatically; add more via theexcludeparameter. - Findings are also visible in your Offensive360 dashboard with full data-flow traces.
- Requires Node 18+.
About Offensive360
One platform for SAST, DAST, MAST, SCA, malware & binary analysis, and license compliance — flat pricing, cloud or fully air-gapped on-premise. offensive360.com · Book a demo
الأسئلة الشائعة
ما هو com.offensive360/o360-mcp؟
Run Offensive360 SAST scans (60+ languages) on local code; findings with file/line and fixes
كيف أثبّت com.offensive360/o360-mcp؟
يعمل على جهازك. في Claude Code: claude mcp add o360-mcp -e 'O360_URL=https://sast.offensive360.com' -e 'O360_TOKEN=<your o360_token>' -- npx -y o360-mcp@1.0.2. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج com.offensive360/o360-mcp إلى مفتاح API؟
نعم. يتطلب O360_TOKEN، وتضبطها في إعداداته.
هل com.offensive360/o360-mcp مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون com.offensive360/o360-mcp؟
ينشره offensive360. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.