Skip to main content
Glama
0nsec
by 0nsec

Sashiko MCP

MCP server that lets an AI agent query Sashiko — an AI kernel-patch review service — and hunt for critical/high severity vulnerabilities in the reviewed patches (LPE, UAF, OOB, refcount, race conditions, etc.), including AI reviews that may have gone unnoticed.

Install / config

cd ~/MCP/Sashiko && npm install

Register in opencode (~/.config/opencode/opencode.jsonc). Use the absolute path to your copy of the repo on that machine (replace <PATH-TO-SASHIKO> with the actual location):

"sashiko": {
  "type": "local",
  "command": ["node", "<PATH-TO-Sashiko>/src/index.js"],
  "enabled": true
}

Optional env: SASHIKO_BASE_URL (default http://34.149.213.196), SASHIKO_TIMEOUT_MS (default 30000).

Related MCP server: patchwork-mcp-server

Tools

Tool

Purpose

sashiko_config / sashiko_lists / sashiko_stats

service metadata

sashiko_stats_reviews / sashiko_stats_tools

review + tool usage stats

sashiko_patchsets / sashiko_messages

paged lists with q / mailing_list filters

sashiko_patchset

full patchset detail + AI reviews with parsed findings

sashiko_message

raw message + diff

sashiko_review

AI review + model transcript/logs

sashiko_find_critical

find critical/high findings across patchsets (pre-filtered scan)

sashiko_find

general severity/class scan (e.g. class_keyword="lpe", severity="high")

sashiko_endpoints

enumerate the whole API surface

Example queries

  • "Find LPE-type vulnerability reviews in applied patches" → sashiko_find with class_keyword="lpe", severity="high"

  • "Show me critical findings no one noticed" → sashiko_find_critical severity="critical", then compare against patchset status

  • "What AI reviews mention use-after-free?" → sashiko_find with keywords="use-after-free"

Notes

  • Reviews are public by design; findings are parsed from review.output.

  • The findings_critical/findings_high counts on the patchset list serve as a cheap pre-filter before fetching detail per patchset.

  • See docs/api-map.md for the full API and finding schema.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    An AppSec-focused MCP server that performs static analysis scans on C/C++ source code for memory-safety vulnerabilities and parses compiled PE/ELF binary headers locally to audit active defensive compiler mitigations (ASLR, DEP/NX, PIE).
    4
    1
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    An MCP server that gives AI assistants the ability to check open-source packages for vulnerabilities, enrich findings with real-world exploit intelligence, and statically analyse whether vulnerable code is actually reachable in your project.
    3
    1
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    MCP server for checking packages against an AI-aware vulnerability database, including CVEs, slopsquatting, CISA KEV, and MCP-server trust profiles.
    10
    537 PyPI
    Elastic 2.0