Magika Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Magika Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
MCP server for Google Magika — AI-powered file type detection.
Magika uses a deep learning model to identify file types from their content, not just extensions. This MCP server makes Magika's capabilities available to any MCP client (Claude Code, Claude Desktop, etc.).
Add to your MCP client config:
{
"mcpServers": {
"magika": {
"command": "npx",
"args": ["-y", "magika-mcp"]
}
}
}For Claude Code, add it with:
claude mcp add magika -- npx -y magika-mcpidentify_fileIdentify a single file's content type.
Input: path (string) — file path Output: Enriched result with label, MIME type, group, description, extensions, confidence score, is_text flag.
identify_filesBatch-identify multiple files.
Input: paths (string[]) — array of file paths Output: Array of enriched results.
identify_contentIdentify content from raw base64-encoded bytes.
Input: content (string) — base64-encoded file content Output: Enriched result.
identify_directoryRecursively scan a directory and identify all files.
Input:
path (string) — directory pathrecursive (boolean, default: true) — scan recursivelylimit (number, default: 1000) — max files to processOutput: Array of enriched results with file paths.
get_content_type_infoLook up metadata for a known content type label (no file analysis).
Input: label (string) — content type label (e.g., "python", "pdf", "jpeg") Output: MIME type, group, description, extensions, is_text.
list_supported_typesList all content types Magika can detect.
Input: group (string, optional) — filter by group (e.g., "code", "image", "document", "archive") Output: Array of content types with metadata.
{
"path": "/path/to/file.py",
"label": "python",
"mime_type": "text/x-python",
"group": "code",
"description": "Python source",
"extensions": ["py", "pyi"],
"is_text": true,
"score": 0.997,
"overwrite_reason": "none"
}MagikaNode from the magika npm package (TensorFlow.js) for classificationMIT
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.