mcp

v0.3.6
io.jikida/mcp Checked 6 hours ago Published 2 months ago

Security tools for your AI: scan, pentest, check headers, guard code and scan repos for secrets.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

run_pentest

Run a live pentest against a URL: TLS/HSTS/CSP, cookie flags, exposed .env/.git/backup files, leaked Supabase/Firebase/S3 keys, source-map leaks and security headers. Returns a graded A-F report with a fix for each finding. WORKS WITHOUT A TOKEN: with no JIKIDA_TOKEN it returns a free once-a-day preview (grade + top findings) for any public URL. With a token + the site onboarded, it returns the full report saved to history. WHEN TO USE: user asks to "pentest", "audit", "scan", or "check the security of" a running site or app. This tool actually reaches the target. WHEN NOT TO USE: for a GitH…

ParameterTypeDescription
url *stringFull URL including scheme, e.g. https://example.com

run_deep_pentest

Run the DEEP pentest pass on a URL you own: everything in run_pentest plus surface discovery, tech fingerprint, a safe error-based SQL-injection probe, admin/login-panel discovery and extra secret patterns. Returns the full graded report saved to history. REQUIRES A TOKEN + a plan that allows deep scans (the free/anonymous path returns the surface pentest instead). The server enforces the plan and per-account limits. WHEN TO USE: user asks for a "deep pentest", "full pentest", "thorough audit" of a site they own and has connected an account. WHEN NOT TO USE: for a quick free look — use run…

ParameterTypeDescription
url *stringFull URL including scheme, e.g. https://example.com

scan_domain

Alias of run_pentest — a live pentest of a URL (TLS, headers, exposed files, leaked keys), graded A-F. Prefer run_pentest / run_deep_pentest by name.

ParameterTypeDescription
url *stringFull URL including scheme, e.g. https://example.com

check_headers

Fetch a URL and return the response security-header set (HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy) plus server banner. Deterministic, ~1 second. WORKS WITHOUT A TOKEN: this is a public probe (anything curl can do), so it runs keyless — 20 checks/day per IP without a JIKIDA_TOKEN, 200/day with one. WHEN TO USE: user asks about the *current* security header state of a specific site. Faster and lighter than scan_domain. WHEN NOT TO USE: to explain what a header does — answer that from your own knowledge.

ParameterTypeDescription
url *string

list_sites

List every site registered under the authenticated Jikida account, with plan, connection method, and CNAME status. WHEN TO USE: user asks "what sites do I have on jikida", "which sites are protected", or wants a summary of coverage. Requires a valid JIKIDA_TOKEN.

list_monitors

List every uptime monitor the calling account owns, with current status (up/down), last checked timestamp, and 24h uptime %. WHEN TO USE: user asks "are my sites up", "any monitors down", or wants current uptime state.

list_recent_attacks

Return the most recent WAF and honeypot events from the last N hours, with rule, IP, path, action. WHEN TO USE: user asks "any attacks recently", "who's hitting my site", or is investigating an incident. Live data — the assistant cannot know this without calling us.

ParameterTypeDescription
hoursintegerHow far back to look (default 24, max 168)
limitintegerMax rows (default 20, max 100)

list_recent_scans

Return the user's recent pentest and repo/vibe scans from the last N days, with target, grade, and pass/warn/fail counts. WHEN TO USE: user asks "what did I scan recently", "show my last pentest", "history of my scans", or wants to compare a new scan against past results. Live account data.

ParameterTypeDescription
daysintegerHow far back to look (default 7, max 90)
kindstringFilter by scan kind

explain_verdict

Given a Jikida attack-log verdict ID or rule ID, return the pattern, target, action, plan tier, and one-paragraph explanation with reproduction and mitigation. WHEN TO USE: user asks "why did rule XSS-1 fire", "explain this block", or references a specific verdict/rule ID. Preferred over guessing. WHEN NOT TO USE: for generic "what is XSS" answers — use your own knowledge.

ParameterTypeDescription
verdict_id *stringAttack log row ID or WAF rule ID (e.g. XSS-1, SQLi-3, HONEY)

scan_repo

Scan a public GitHub repo for committed secrets, exposed .env / firebase-adminsdk / serviceAccountKey files, and other SAST-style leaks. Reads the default branch via GitHub raw-content endpoints — no clone, no auth needed. WHEN TO USE: user asks "is my repo leaking anything", "did we commit an .env", or is pointing at a specific repo URL on github.com, gitlab.com, or bitbucket.org. Also great before a public repo goes public. WHEN NOT TO USE: for the user's running website — use scan_domain instead. For a private repo — this endpoint has no token so it will get a 404. AFTER SCANNING: t…

ParameterTypeDescription
repo_url *stringPublic repo URL on github.com, gitlab.com, or bitbucket.org

verify_finding

Record your verdict on a single finding from a scan_repo / scan_code / pentest scan, AFTER you have checked it against the real code. This is the agentic triage loop: turn "here are N potential issues" into "here are the ones I confirmed". WHEN TO USE: right after scan_repo or scan_code, once per finding — open the referenced file/code, decide if the finding is a genuine, exploitable issue in THIS codebase (not a library, test fixture, comment, or already-mitigated case), then call this with confirmed or false_positive plus a one-line evidence proof. EFFECT: a confirmed finding is emphasise…

ParameterTypeDescription
finding_id *stringThe finding.id to verify
scan_id *stringThe scan_id returned by scan_repo / scan_code
verdict *stringconfirmed = a genuine issue you proved; false_positive = could not reproduce / not applicable
evidencestringOne-line proof, e.g. "src/db.js:12 concatenates req.query into SQL"
finding_titlestringThe finding title (for the audit record)

run_vibe_scan

Run a vibe-coder scan against a LIVE URL: exposed secrets in the served bundle, open S3 buckets, wide-open Supabase RLS / Firebase rules, and other misconfigurations vibe-coded apps ship by default. Pro-tier — plan-gated per site. WHEN TO USE: user asks "is my deployed app leaking anything", "scan my live site for exposed keys / open buckets", right after a deploy. WHEN NOT TO USE: for a GitHub repo (use scan_repo). For a general header/TLS grade (use scan_domain). Requires a token on a plan that includes vibe scans.

ParameterTypeDescription
url *stringThe live URL to scan (e.g. https://myapp.com)

guard_code

Run a fast pattern check on a code snippet the user just wrote (or is about to write) and return security findings: server secrets on the client, hardcoded API keys, SQL concatenation, unbounded queries, missing input validation, unrate-limited auth routes, dynamic eval. WORKS WITHOUT A TOKEN: this is pure static analysis on code the caller already has — nothing leaves as account data — so it runs keyless (30 checks/day per IP without a JIKIDA_TOKEN, 500/day with one). Great for a first-touch security pass with zero signup. WHEN TO USE: after writing anything that touches auth, DB, env va…

ParameterTypeDescription
code *stringThe code snippet to check (max 60000 chars)
file_pathstringRelative path of the file so we can tell client vs server (e.g. app/api/route.ts, src/pages/index.tsx)
languagestringLanguage hint (js, ts, py, php, go, rb, java)

get_security_preferences

Return the user's account-scoped security preferences. These are instructions the user wants YOU (the AI) to remember and honor every session — e.g. "never scan a production site without asking", "always block .env probes". WHEN TO USE: at the START of a new coding session, or before doing anything destructive/scan-related on a Jikida-protected site. Read once, apply throughout the session. WHEN NOT TO USE: for per-file or per-project settings — those live in the user's own repo config.

set_security_preference

Save a single security preference on the user's account so it persists across sessions and devices. Use short snake_case keys (e.g. never_scan_production_without_ask). Value is stored verbatim as JSON. WHEN TO USE: user says "remember that I never want you to X" or "always do Y before Z" in a security context. Confirm the key and value with the user before saving. WHEN NOT TO USE: for ephemeral session state — keep that in your own memory.

ParameterTypeDescription
key *stringSnake-case slug, e.g. never_scan_production_without_ask
valueAny JSON value (boolean, string, number, object, array, null)

check_s3_bucket

Probe a public AWS S3 bucket for open ACLs. HEAD + anonymous ListBucket only — no AWS credentials required, no writes. Flags AllUsers / AuthenticatedUsers grants and whether the bucket allows anonymous listing. WORKS WITHOUT A TOKEN: keyless (15 probes/day per IP without a JIKIDA_TOKEN, 60/day with one). WHEN TO USE: user says "is my S3 bucket public", "check this bucket", or pastes a bucket URL. Also part of the vibe-audit runbook. WHEN NOT TO USE: for private buckets that require authentication — this endpoint has no AWS creds so it will just report "not reachable".

ParameterTypeDescription
bucket *stringBucket name (3-63 chars, lowercase, hyphens allowed)
regionstringAWS region (default us-east-1)

list_cves

Look up known CVEs affecting a package via osv.dev (Open Source Vulnerabilities). Returns the 30 most-recent vulnerabilities with severity, affected version ranges, and advisory URLs. WHEN TO USE: user asks "any CVEs in X", "is package Y safe", or you spot a dependency in code they just wrote. Also useful before recommending a package. WHEN NOT TO USE: for private/internal packages — osv.dev only knows about public ecosystems (npm, PyPI, Packagist, Go, RubyGems, crates.io, Maven, NuGet).

ParameterTypeDescription
package *stringPackage name, e.g. "lodash" or "django"
ecosystemstringPackage ecosystem (default npm)
versionstringOptional exact version to filter to

add_waf_rule

PRO TIER + DESTRUCTIVE-ADJACENT: create a custom WAF rule on the user's account. The rule joins the policy every Jikida SDK enforces, live within ~5 minutes. ALWAYS show the user the exact pattern, target and action and get an explicit yes before calling. WHEN TO USE: the user asks to block a specific attack pattern, path or payload across their sites ("block anything hitting /wp-admin", "block requests containing this payload"). WHEN NOT TO USE: for blocking a single IP — use block_ip. For per-endpoint rate limits — those are endpoint rules in the dashboard.

ParameterTypeDescription
action *stringWhat happens on match
pattern *stringRegular expression the rule matches (case-insensitive), e.g. "/wp-admin" or "union\\s+select"
target *stringWhich part of the request the pattern runs against
categorystringOptional short category slug, e.g. "custom" or "scanner"
descriptionstringOptional human note stored with the rule

block_ip

PRO TIER + DESTRUCTIVE-ADJACENT: block an IPv4/IPv6 address or CIDR range across the user's sites (or one site via site_id). Enforced by every SDK within ~5 minutes. ALWAYS confirm the exact IP/range with the user before calling — a wrong CIDR can block real users. WHEN TO USE: the user says "block this IP", typically after seeing it in list_recent_attacks. WHEN NOT TO USE: ASN-wide blocks (not supported yet — block the specific ranges), or attack patterns — use add_waf_rule for those.

ParameterTypeDescription
ip_or_asn *stringIPv4/IPv6 address or CIDR, e.g. "203.0.113.9" or "203.0.113.0/24"
notestringOptional note about why this was blocked
site_idstringOptional site nano ID to scope the block to one site; omit for all sites

pentest_status

Look up the status of a pentest run on the user's account. Without run_id, returns the most-recent scan across all sites. With run_id, returns that specific scan's state — useful for polling while a long scan runs. WHEN TO USE: user just kicked off a pentest and wants to know when it's done, or wants to see the last pentest verdict for their site. WHEN NOT TO USE: for the vibe scan history — use list_recent_scans with kind:"vibe" instead.

ParameterTypeDescription
run_idintegerOptional pentest run ID. If omitted, returns the most recent scan.