FixVibe

// docs / mcp

MCP server

เสียบ FixVibe เข้ากับ Claude Desktop, Cursor หรือ client ใดก็ได้ที่พูด Model Context Protocol AI agent ของคุณจะเข้าถึง scans, findings และ fix prompts ตามแม่แบบเดียวกับที่ขับเคลื่อนปุ่ม Copy fix prompt ใน dashboard แบบมี type

01

สร้าง API token

ไปที่ /account/api-tokens แล้วสร้าง token ชื่อ เช่น claude-desktop คัดลอกค่า plaintext — แสดงเพียงครั้งเดียว

Tokens เป็น bearer credentials: ใครก็ตามที่มี string นี้อ่าน scans ของคุณและเริ่ม scans ใหม่ได้ เก็บเหมือนรหัสผ่าน

02

ชี้ MCP client ของคุณไปที่ /api/mcp

Claude Desktop / Cursor / Continue / Zed:

{
  "mcpServers": {
    "fixvibe": {
      "transport": "streamable-http",
      "url": "https://fixvibe.app/api/mcp",
      "headers": {
        "Authorization": "Bearer fxv_YOUR_TOKEN_HERE"
      }
    }
  }
}

Restart client ควรเห็น server fixvibe ในรายชื่อ MCP server ของ client

03

ลองใช้งาน

ถาม agent ของคุณด้วยประโยคอย่าง:

  • “แสดง FixVibe scans ล่าสุด 10 รายการของฉัน”
  • “แสดง critical findings ใน scan ล่าสุด”
  • “เริ่ม passive scan กับ https://staging.example.com
  • “สำหรับแต่ละ high-severity finding ใน scan X ให้เขียน fix”
  • “มี live-threat alerts ที่ยังเปิดอยู่บน domains ของฉันหรือไม่?”
  • พิมพ์ /fixvibe-fix พร้อม finding id เพื่อวาง templated remediation prompt เข้า chat โดยตรง

เครื่องมือ

list_scansอ่าน
คืน scans ล่าสุดสูงสุด 100 รายการพร้อม status + finding counts Args: limit?: 1..100
get_scanอ่าน
Scan envelope + per-category severity summary โดยค่าเริ่มต้น ตั้ง include_findings=true เพื่อรับรายงานเต็ม (ใหญ่สำหรับ scans ที่มี noise มาก — ควรใช้ list_findings + filters) Args: scan_id (uuid), include_findings?: boolean
list_findingsอ่าน
Findings แบบแบ่งหน้าข้าม scans ทั้งหมดของคุณ Args: severity?: list, check_id?, since? (ISO 8601), limit?: 1..200
start_scanเขียน
Enqueues a scan and returns an id with status queued; poll get_scan to await completion. Passive mode is always available through MCP. Active mode requires a paid plan plus verified-domain authorization from the dashboard. Args: target (URL or hostname), mode? (passive|active).
list_alertsอ่าน
การแจ้งเตือนภัยคุกคามแบบเรียลไทม์ (ความต่างของ CT log, การเปลี่ยนแปลง DNS, รายการ threat intel) ใช้งานได้เฉพาะแพ็กเกจ Unlimited; แพ็กเกจ Hobby และ Pro จะคืนค่าเป็นรายการว่าง Args: domain_id?, active_only?, limit?: 1..200.
get_alertอ่าน
Single alert with the relevant domain, severity, type, and event details. Args: alert_id (uuid).
dismiss_alertเขียน · idempotent
ทำเครื่องหมาย alert เป็น dismissed Idempotent — dismiss ซ้ำไม่มีผล Args: alert_id (uuid)

ทรัพยากร

Resources ให้ client แนบข้อมูล FixVibe เข้า conversation โดยตรง แทนที่ agent จะ re-fetch ทุก turn ใน Claude Desktop คลิกเมนู @ → fixvibe

fixvibe://scan/{scan_id}/reportjson
รายงาน FixVibe scan เต็ม รวมทุก check และทุก finding
fixvibe://finding/{finding_id}json
Finding เดี่ยว (severity, title, description, evidence, remediation, CWE)

คำสั่ง slash

/fixvibe-fixprompt
Renders a server-side remediation prompt for a finding, using scan context when available and falling back to generic guidance otherwise. Args: finding_id (uuid). No third-party LLM API call is made by FixVibe.

→ Quotas, RLS และ severity gating ใช้เหมือนกันทุกอย่างกับ MCP และ REST calls

MCP server — Docs · FixVibe