MCP, MCP server
Mistraldocai Mcp
An MCP server that converts documents and images to Markdown using Mistral AI's OCR and vision models.
Compatibility: Not stated.
Grade C
One Medium finding. Read the report before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
INSTALL_LIFECYCLE_HOOK
Why this grade
- INSTALL_LIFECYCLE_HOOK Medium
A package install hook (preinstall, install, postinstall or prepare) runs a script.
package.json, line 12
postinstall
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Pass
No shell or command execution found, and no extra permission was declared.
Install and update
Concern
runs a script at install time.
INSTALL_LIFECYCLE_HOOK
package.json, line 12
postinstall
package.json, line 13
prepare
Network
Pass
No network call found.
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
python/docmistral.py, line 287
# Load .env file if it exists
python/docmistral.py, line 290
mistral_api_key = args.mistral_api_key or os.getenv('MISTRAL_API_KEY')
python/mcp_server.py, line 21
# their home directory. A local .env is honoured for development checkouts.
Show more
python/mcp_server.py, line 22
_USER_ENV_FILE = Path.home() / ".mistraldocai-mcp" / ".env"
python/mcp_server.py, line 58
api_key = os.getenv("MISTRAL_API_KEY")
python/mcp_server.py, line 62
f"{Path.home() / '.mistraldocai-mcp' / '.env'} or export it in the environment."
scripts/setup.js, line 5
// It deliberately writes no files. It used to create `python/.env` inside the
scripts/setup.js, line 8
// `~/.mistraldocai-mcp/.env` at run time instead.
scripts/setup.js, line 23
console.log(' ~/.mistraldocai-mcp/.env once the server has run first');
src/python-environment.ts, line 16
/** Seed the user's `.env` from the shipped template when missing. */
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
package-lock.json, line 1
{
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 92fb16d6236c. runs a script at install time. reads a credential or environment file. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: 92fb16d6236cb532c28620ca43ea3c24a67112f5
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.