Inspectez les métadonnées, les signaux de sécurité et la structure des documents PDF, Office et iWork sans avoir à les afficher.
Aussi connu sous deckflow/deckprobe-mcp-server, deckprobe-mcp-server, @deckflow/deckprobe-mcp
- Étoiles
- 0
- Outils
- 4
- Téléchargements, 30 jours
- 165
- Dernière version
- 0.1.1
- Dernier commit
- 22 août 2026
- Licence
- MIT
Qu'est-ce que deckprobe MCP ?
deckprobe est un serveur MCP. Inspectez les métadonnées, les signaux de sécurité et la structure des documents PDF, Office et iWork sans avoir à les afficher. Il expose 4 outils, comme probe, probe_batch, list_formats.
Résumé généré à partir du README du projet
À propos du MCP server deckprobe
L'inspection du contenu des fichiers PDF, Office et iWork sans les ouvrir ou les afficher réellement est ce que deckprobe permet aux développeurs utilisant des agents IA. Ce MCP server agit comme un inspecteur de documents qui fournit des données JSON déterministes concernant les métadonnées, les signaux de sécurité et la structure interne. Il est conçu pour être sûr avec des fichiers non fiables car il évite l'exécution de macros, le suivi de références externes ou l'établissement de connexions réseau.
Les utilisateurs peuvent intégrer ce serveur dans Claude Desktop, Cursor, VS Code ou Zed en l'ajoutant à leur configuration mcpServers via npx. Le serveur propose quatre outils spécifiques : probe pour les fichiers individuels, probe_batch pour inventorier plusieurs documents à la fois, list_formats pour voir les types de fichiers pris en charge, et list_targets pour découvrir les points de données disponibles comme le nombre de diapositives ou le statut du chiffrement. Il fonctionne localement sur macOS, Linux et Windows, en utilisant des binaires natifs ou un fallback WebAssembly pour garantir la compatibilité entre les différents environnements.
Ce que vous pouvez faire avec
- 1Triage de la sécurité des documentsUn agent IA peut scanner une collection de fichiers pour identifier ceux qui contiennent des macros ou un chiffrement.
- 2Extraction de métadonnées de documentsVous pouvez récupérer des détails spécifiques comme le nombre de diapositives ou les informations sur l'auteur sans afficher le contenu visuel.
Extrait du README du projet. Chaque cas d'utilisation est vérifié par rapport à une citation du document.
Comment installer deckprobe MCP
Formats vérifiés le 10 nov. 2026Ajouter à CursorAjouter à GooseInstaller deckprobe MCP dans Claude Code
$ claude mcp add deckprobe-mcp-server -- npx -y @deckflow/deckprobe-mcpInstaller deckprobe MCP dans Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"deckprobe-mcp-server": {
"command": "npx",
"args": [
"-y",
"@deckflow/deckprobe-mcp"
]
}
}
}Installer deckprobe MCP dans VS Code
.vscode/mcp.json
{
"servers": {
"deckprobe-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@deckflow/deckprobe-mcp"
]
}
}
}Installer deckprobe MCP dans VS Code CLI
$ code --add-mcp '{"name":"deckprobe-mcp-server","type":"stdio","command":"npx","args":["-y","@deckflow/deckprobe-mcp"]}'Installer deckprobe MCP dans Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"deckprobe-mcp-server": {
"command": "npx",
"args": [
"-y",
"@deckflow/deckprobe-mcp"
]
}
}
}Installer deckprobe MCP dans Codex
$ codex mcp add deckprobe-mcp-server -- npx -y @deckflow/deckprobe-mcpInstaller deckprobe MCP dans Codex config.toml
~/.codex/config.toml
[mcp_servers.deckprobe-mcp-server] command = "npx" args = ["-y", "@deckflow/deckprobe-mcp"]
Installer deckprobe MCP dans Gemini CLI
$ gemini mcp add -s user deckprobe-mcp-server npx -- -y @deckflow/deckprobe-mcpInstaller deckprobe MCP dans Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"deckprobe-mcp-server": {
"command": "npx",
"args": [
"-y",
"@deckflow/deckprobe-mcp"
]
}
}
}Outils MCP deckprobe 4
Détectés depuis le READMEprobeprobe_batchlist_formatslist_targets
| probe | — | |
| probe_batch | — | |
| list_formats | — | |
| list_targets | — |
Configuration
DECKPROBE_MCP_BINPath to a DeckProbe binary to use instead of the bundled one.
DECKPROBE_MCP_MAX_BATCHMaximum paths accepted by one probe_batch call. Defaults to 64.
DECKPROBE_MCP_MAX_CONCURRENCYMaximum engine processes running at once. Defaults to 4.
DECKPROBE_MCP_ROOTSDirectories the server is allowed to read, separated like PATH. Unrestricted when unset.
DECKPROBE_MCP_TIMEOUT_MSHard per-call deadline on an engine process, in milliseconds. Defaults to 30000.
| Nom | Description | Type |
|---|---|---|
| DECKPROBE_MCP_BIN | Path to a DeckProbe binary to use instead of the bundled one. | |
| DECKPROBE_MCP_MAX_BATCH | Maximum paths accepted by one probe_batch call. Defaults to 64. | |
| DECKPROBE_MCP_MAX_CONCURRENCY | Maximum engine processes running at once. Defaults to 4. | |
| DECKPROBE_MCP_ROOTS | Directories the server is allowed to read, separated like PATH. Unrestricted when unset. | |
| DECKPROBE_MCP_TIMEOUT_MS | Hard per-call deadline on an engine process, in milliseconds. Defaults to 30000. |
Vérifications automatisées
Exécuté le 14 nov. 2026Rapport complet →A passé nos vérifications automatisées. Il ne s'agit pas d'un audit de sécurité : lisez le code et donnez au serveur l'accès le plus restreint dont il a besoin. Fonctionnement des vérifications
- Dépôt source lié et accessibledeckflow/deckprobe-mcp-server is public and reachablegithub.com/deckflow/deckprobe-mcp-server ↗Réussi
- Le nom du package correspond au dépôt source@deckflow/deckprobe-mcp names deckflow/deckprobe-mcp-server as sourcenpmjs.com/package/@deckflow/deckprobe-mcp ↗Réussi
- Provenance du build (attestation Sigstore)Sigstore attestation for @deckflow/deckprobe-mcpnpmjs.com/package/@deckflow/deckprobe-mcp/v/0.1.1#provenance ↗Réussi
- Licence open source (OSI)MITspdx.org/licenses/MIT.html ↗Réussi
- Commit ou version publiée au cours de l'année écouléeLast commit or release 2026-08-22github.com/deckflow/deckprobe-mcp-server ↗Réussi
- OpenSSF ScorecardNon vérifié
- Nom du package non proche d'un package populaireNo popular package one edit away from @deckflow/deckprobe-mcpRéussi
- Aucun avis critique dans le package ou ses dépendances12 resolved dependencies checked; no critical advisoryosv.dev ↗Réussi
- Aucune instruction cachée destinée au modèle4 tool descriptions and the README read; no override phrases, credential paths or hidden charactersRéussi
- Les outils destructifs sont étiquetésNo tool named like delete, drop or execRéussi
- Le point de terminaison distant répond à la poignée de main MCPNon vérifié
README
Voir sur GitHubDeckProbe MCP Server
Let an agent ask what's inside a PDF, Office, or iWork file — without opening it.
Install · Tools · Configuration · Security · How it works · DeckProbe
An MCP server that exposes
DeckProbe — ffprobe for documents — as
four typed tools. Ask for page counts, slide counts, metadata, encryption and
macro signals, structure, or integrity, and get back bounded, deterministic JSON
with confidence, evidence, and measured I/O cost.
Nothing is rendered, no macro runs, no external reference is followed, and no network connection is opened. It is safe to point at untrusted files.
// probe { "path": "deck.pptx", "targets": ["slide_count"], "view": "values" }
{
"schema_version": 2,
"status": "ok",
"driver": { "id": "powerpoint", "profile": "pptx" },
"values": { "powerpoint.slide_count": 31 },
"view": "values"
}
Install
Nothing to install ahead of time — npx fetches the server and the engine
together.
Claude Code
claude mcp add deckprobe -- npx -y @deckflow/deckprobe-mcp
Claude Desktop, Cursor, VS Code, Zed, and anything else reading mcpServers
{
"mcpServers": {
"deckprobe": {
"command": "npx",
"args": ["-y", "@deckflow/deckprobe-mcp"]
}
}
}
For a pinned install, npm install -g @deckflow/deckprobe-mcp and use
deckprobe-mcp as the command.
Requires Node.js 20 or newer. The engine binary arrives as a per-platform
optional dependency for macOS, Linux (glibc and musl), and Windows on x86-64 and
ARM64; anywhere else the server falls back to the same engine compiled to
WebAssembly, so npx works wherever Node does.
Tools
| Tool | Use it for |
|---|---|
probe |
Everything about one document |
probe_batch |
Inventory or triage many documents in one call |
list_formats |
Which formats are supported, and where support stops |
list_targets |
The exact target names a format offers |
There is also one resource, deckprobe://schema, carrying the report JSON
Schema bundled with the running engine.
probe
{
"path": "reports/q3.pptx",
"targets": ["@summary", "@security"], // presets, short names, or canonical names
"level": "metadata", // header | metadata | deep
"min_confidence": "high", // low | medium | high | exact
"target_confidence": { "slide_count": "exact" },
"view": "report", // report | values
"budget": { "max_physical_bytes": 8388608, "timeout_ms": 1000 }
}
targets accepts short names (slide_count), canonical names
(powerpoint.slide_count), and presets:
| Preset | Expands to |
|---|---|
@header |
Container identity only — format, size, extension match, encryption flag |
@summary |
Identity, common metadata, and primary structure |
@security |
Encryption, macros, signatures, external references, active content |
@structure |
Format-owned counts, names, and dimensions |
@assets |
Images, media, previews, fonts, embedded objects |
@quality |
Integrity, repair, extension match, conformance |
@format |
Every format-specific target at the active level |
@all |
Everything available at the active level |
@summary deliberately omits statistics that need a full-file read. A PDF's
page_count is the notable case — ask for it explicitly.
probe_batch
{ "paths": ["a.pdf", "b.pptx", "c.xlsx"], "targets": ["@security"] }
One engine process handles the whole batch. Results come back in input order,
each with its own report or its own error, so one bad file never spoils the run.
Defaults to the compact values view. Literal paths only — expand globs
yourself.
list_formats and list_targets
list_targets takes a format (pdf, docx, xlsx, pptx, doc, xls,
ppt, key, numbers, pages) and returns each target's aliases,
description, value type, minimum level, cost class, and selector membership.
Pass detail: "full" for the engine's complete report, including per-target
JSON Schema fragments and expanded selector lists.
Both are cached for the lifetime of the server process.
Reading a report
The tool result is the engine's own schema-v2 envelope, unmodified. Two things are worth knowing before consuming it:
status: "partial"is not a failure. It means at least one requested target could not be resolved at the requested confidence. It is named inexecution.unresolved_targets, and every other result still stands.confidence_scoreis a fixed constant per label (0.4,0.7,0.95,1.0), not a calibrated probability.0.95does not mean the value is right 95% of the time.
Only results with status resolved or estimated carry a value. unknown is
common and usually means the document simply does not record that fact.
A failing call returns isError with the engine's error envelope plus one line
saying what to do about it. Failures the server itself raises before the engine
runs — a missing path, a directory, a path outside the allow-list, an exceeded
deadline — use the same envelope shape with an MCP_-prefixed code and
origin: "mcp-server".
Configuration
Every setting is an environment variable, set in your client's MCP config. All are optional.
| Variable | Default | Meaning |
|---|---|---|
DECKPROBE_MCP_BIN |
– | Engine binary to use instead of the bundled one |
DECKPROBE_MCP_ROOTS |
unrestricted | Allowed directories, separated like PATH |
DECKPROBE_MCP_TIMEOUT_MS |
30000 |
Hard per-call deadline on an engine process |
DECKPROBE_MCP_MAX_CONCURRENCY |
4 |
Concurrent engine processes |
DECKPROBE_MCP_MAX_BATCH |
64 |
Paths accepted by one probe_batch call |
{
"deckprobe": {
"command": "npx",
"args": ["-y", "@deckflow/deckprobe-mcp"],
"env": { "DECKPROBE_MCP_ROOTS": "/Users/me/Documents:/Users/me/Downloads" }
}
}
Security
DeckProbe is built for untrusted input: bounded parsing, no renderer, no macro interpreter, no external-reference resolution, and no network access. This server adds two things on top.
- Process isolation and a hard deadline. Each probe runs in its own
short-lived process, killed if it outruns
DECKPROBE_MCP_TIMEOUT_MS. - An optional read allow-list.
DECKPROBE_MCP_ROOTSpins the reachable tree; paths are symlink-resolved before the check, so a link cannot step around it. The default is unrestricted, matching the CLI the user could run themselves — set it for shared or automated deployments.
Reports describe a document (metadata, counts, signals) rather than reproducing its contents. Note that report values such as a document title are still attacker-controlled strings: the server passes them through as JSON data and never interpolates them into instructions, and a consumer should treat them the same way.
Report a vulnerability privately as described in SECURITY.md.
How it works
MCP client
│ JSON-RPC over stdio
▼
deckprobe-mcp ── validates arguments, resolves the path, maps the result
│ argv + stdout (one process per probe, or one --jsonl process per batch)
▼
DeckProbe engine ── plans the cheapest paths that answer the request
The server spawns the native DeckProbe CLI rather than calling the WebAssembly build. The CLI reads only the byte ranges a probe plan needs, where the WebAssembly path holds the whole file in memory, and a separate OS process both isolates untrusted parsing and can be killed outright. The engine is chosen in this order:
DECKPROBE_MCP_BIN- the binary that ships with this package's
@deckflow/deckprobedependency deckprobeonPATH- the bundled WebAssembly engine
The resolved engine is logged to stderr at startup. stdout belongs to the MCP transport and carries nothing else.
MCP server or agent skill?
DeckProbe also ships an Agent Skill that teaches a shell-capable agent to use the CLI directly. Both teach the same vocabulary. Use the skill when the agent has a shell and you want the CLI's full surface; use this server when it does not, or when you want typed arguments validated before the engine ever runs.
Development
npm install
npm test # typecheck, lint, build, and the full suite
npm run test:watch
Contributions are welcome — see CONTRIBUTING.md. The design rationale, including the alternatives that were rejected, is in docs/rfc.md.
License
MIT. See LICENSE.
Questions sur deckprobe MCP
Comment ajouter deckprobe MCP à Claude Code ?
Exécutez claude mcp add deckprobe-mcp-server -- npx -y @deckflow/deckprobe-mcp dans votre terminal. Ajoutez --scope user pour le rendre disponible dans tous les projets.
Comment ajouter deckprobe MCP à Cursor ?
Ouvrez ~/.cursor/mcp.json et ajoutez le serveur sous mcpServers, avec la configuration Cursor indiquée dans la section d'installation ci-dessus.
Quels outils deckprobe MCP fournit-il ?
Il expose 4 outils, dont probe, probe_batch, list_formats, list_targets.
Est-il sûr de l'utiliser avec des fichiers non fiables ?
Oui, il est conçu pour les entrées non fiables car il utilise un parsing limité, sans moteur de rendu, sans interpréteur de macros, sans résolution de références externes et sans accès au réseau.
Puis-je inspecter plusieurs documents à la fois ?
Oui, l'outil probe_batch vous permet d'inventorier ou de trier de nombreux documents en un seul appel.
Le serveur nécessite-t-il un logiciel préinstallé ?
Non, npx récupère à la fois le serveur et le moteur lors de l'installation.