[MCP] Add EEGPrep agent server - #233
Conversation
|
Claude finished @suraj-ranganath's task in 3m 30s —— View job Code review
BlockingNone. ImportantNone. Nits
Test gaps
EEGLAB parity notesNone — this PR is an agent/CLI integration layer with no EEG data-structure or numerical behavior. It correctly reuses the existing CLI contract ( What I checked and liked
|
|
🤖 Specification Problem: EEGPrep already has a strong CLI for agents, but MCP clients had no first-class, version-matched way to inspect EEG datasets, discover EEGPrep command contracts, retrieve agent guidance, or run safe JSON commands without scraping terminal help or shelling out manually. Approach: Added an optional Key code: Tests: Added |
|
🤖 Re-audited at |
|
🤖 Closing without merging for now. Since this PR was opened, Claude Desktop's Code tab (local environment) and Cowork can run shell commands, install packages, and read/write connected local files directly, with built-in per-command permission prompts. For Claude users that covers what this server offers: the existing agent CLI ( The remaining audience for an MCP server is the Chat tab and third-party MCP clients. If that demand materializes, this branch is a good starting point since the tools are thin wrappers over the CLI. Before reopening, please address:
Review notes from this round: tool functions test cleanly against real sample data, no shell/eval/exec usage, write paths are gated as described, and importing |
Add an optional eegprep-mcp entrypoint backed by reusable MCP tool helpers for dataset inspection, validation, CLI schema discovery, bundled agent guidance, and guarded JSON command execution. The server reuses the existing CLI contract, requires explicit write/overwrite approval for mutating commands, and documents the workflow for researchers using AI agents.