Install
$ agentstack add skill-exekiel179-mne-mcp-mne-mcp-guard ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
MNE MCP Guard
Use this skill to make MNE MCP execution reliable, especially before expensive steps (ICA, time-frequency, source localization) and on unfamiliar data.
Workflow
- Check capability first —
mne_check_status. If MNE is missing, stop and say so; if
scikit-learn is missing, ICA is unavailable.
- Inspect before processing —
mne_get_info/mne_describe. Never guess channel names,
sampling rate, montage, or event codes.
- Look before parameterizing —
mne_plot_psd(read the PNG) before choosing filter cutoffs;
mne_plot_raw before choosing rejection thresholds.
- Smoke-test heavy steps
- Before ICA: confirm data is high-pass filtered (~1 Hz) and montage is set.
- Before epoching: verify real event codes exist (
mne_find_events/
mne_events_from_annotations) and that the epoch window fits the recording.
- Before TFR: confirm the epoch window is long enough for the lowest frequency.
- Escalate gradually — get a minimal version working (one condition, default params), then add
options. Don't jump to a 60-component ICA or full source pipeline on the first try.
- Read warnings, not just success — dropped epochs, rank deficiency, montage subset warnings,
and annotation notes change the validity of results.
Guardrails
- Units are SI (volts/tesla). A
rejectof100is 100 volts. 100 µV is100e-6. This is the
most common silent error — verify any threshold's order of magnitude.
- Set a montage before topomaps, ICA component plots, or interpolation.
- High-pass before ICA (~1 Hz) or components will be unstable.
- Don't assume a file loads in one call — BrainVision/EEGLAB need sidecar files; point at the header.
- Don't conclude "timeout = broken." ICA/TFR/large files are genuinely slow; raise
MNE_MCP_TIMEOUT and retry, or crop/decimate first.
Decision tree
- "no session object named ..."? →
mne_session_info; load the data or fix the name. - Plot/interpolation error mentioning positions/montage? →
mne_set_montage; check channel
names match the montage.
- ICA error or weird components? → confirm sklearn present, high-pass applied, and
n_components ≤ data rank (lower it or use a 0.99 variance fraction).
- TFR "wavelet longer than signal"? → wider epochs, higher
fmin, or smallern_cyclesvia
mne_run_code.
- All epochs dropped / empty evoked? → loosen
reject_eeg, verify event codes, check the epoch
window against recording length.
- Step times out? → increase
MNE_MCP_TIMEOUT; for large raw usepreload=false+mne_crop.
References
- Read
references/failure-patterns.mdfor concrete error→fix mappings. - Use
mne-analystfor the full workflow and pipeline conventions; this skill is specifically for
failure prevention and recovery.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: Exekiel179
- Source: Exekiel179/MNE-MCP
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.