MCP, MCP server
JMRI MCP
Version française
Compatibility: Not stated.
Grade C
One Medium finding. Read the findings before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit b029e1da29df, unchanged since the check below.
PERMISSION_SHELL_UNDECLARED
Why this grade
- PERMISSION_SHELL_UNDECLARED Medium
Runs shell commands that the manifest or description does not mention.
packages/jmri-mcp/codex/jmri_mcpctl.py, line 96
return subprocess.run(
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
Concern
requests shell access. No manifest field names shell or command execution. can delete files.
PERMISSION_SHELL_UNDECLARED PERMISSION_DELETE_FILES
packages/jmri-mcp/codex/jmri_mcpctl.py, line 96
return subprocess.run(
packages/jmri-mcp/codex/jmri_mcpctl.py, line 243
shutil.rmtree(venv)
packages/jmri-mcp/src/xiaozhi_wrapper/__init__.py, line 129
process = subprocess.Popen(
Show more
packages/jmri-mcp/src/xiaozhi_wrapper/__init__.py, line 162
async def pipe_websocket_to_process(websocket, process: subprocess.Popen, target: str) -> None:
packages/jmri-mcp/src/xiaozhi_wrapper/__init__.py, line 187
async def pipe_process_to_websocket(process: subprocess.Popen, websocket, target: str) -> None:
packages/jmri-mcp/src/xiaozhi_wrapper/__init__.py, line 193
`subprocess.Popen`'s pipes are blocking file objects, not asyncio
packages/jmri-mcp/src/xiaozhi_wrapper/__init__.py, line 210
async def pipe_process_stderr_to_terminal(process: subprocess.Popen, target: str) -> None:
packages/jmri-mcp/src/xiaozhi_wrapper/__init__.py, line 270
`subprocess.Popen` raises its normal FileNotFoundError.
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
packages/jmri-core/src/jmri_core/jmri_client/signal.py, line 41
Mast Decoder mast (curl with `"lit": false` did nothing; `"lit": "false"`
packages/jmri-mcp/codex/jmri_mcpctl.py, line 204
with urllib.request.urlopen(request, timeout=2):
docs/architecture.md, line 554
- **`jmri_ws/`** - a persistent WebSocket (`ws://<jmri>:12080/json/`).
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
packages/jmri-core/src/jmri_core/config/__init__.py, line 42
return os.environ.get("EXHIBITION_PASSWORD") or DEFAULT_EXHIBITION_PASSWORD
packages/jmri-mcp/src/xiaozhi_wrapper/__init__.py, line 74
# Auto-load MCP_ENDPOINT (and anything else) from a .env file next to the
.gitignore, line 7
venv/
Show more
CHANGELOG.md, line 117
- `docker-compose.yml`/`.env.example` at the repo root: unreferenced by any
CHANGELOG.md, line 168
- `docker-compose.yml` + `.env.example`: minimal Portainer/Docker
docs/llm-setup-codex.md, line 98
configuration - `EXHIBITION_PASSWORD` is no longer kept in a separate `.env`
docs/llm-setup-xiaozhi.md, line 19
`.env` file):
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
uv.lock, line 1
version = 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 b029e1da29df. requests shell access. No manifest field names shell or command execution. can delete files. can reach a host that is not written as a fixed address. 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: b029e1da29dfe54bd26176f17396e56f38f86270
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.