A lightweight ML pipeline that detects prompt injection and tool poisoning attacks in MCP servers. It screens tool descriptions before they reach an LLM agent, with sub-30ms latency and per-decision explainability via TreeSHAP.
**MCP Detector** is a lightweight, production-ready machine learning pipeline for detecting prompt injection and tool description poisoning attacks in Model Context Protocol (MCP) servers. It intercepts at the **tool registration boundary** — screening every MCP tool description before it reaches a language model agent — with sub-30 ms latency and full per-decision explainability via TreeSHAP.