MCP server giving Claude terminal, filesystem, and background-job access on Ubuntu.
luke-terminal provides 7 tools with explicit schemas and descriptions visible in server.js. Naming is clear and action-oriented (run_command, read_file, write_file, etc.), following verb_noun conventions well. Descriptions are present but brief (50-150 chars), meeting minimum standards but lacking the LLM-optimized detail (hints for dependency ordering, recovery guidance, explicit state-change declarations) that would elevate to A-grade. Parameter schemas are well-structured with types and descriptions, but lack constraints (enums, ranges) for safety-critical parameters like timeout and offset. Error handling is present but generic, no recovery hints or actionable guidance. Most critical: no tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite several tools performing irreversible operations (run_command, write_file, kill_job). Output schemas are documented as JSON text responses, not structured typed returns. Composition is sound, tools are single-purpose and chainable, but batch variants and pagination support are missing.
Check the status of a background job and retrieve its output.
Terminate a running background job by job ID.
List directory contents with file metadata (type, size, modification time).
Read a file with optional line offset and limit for pagination.
Start a long-running background job that executes asynchronously with job ID tracking.
Execute a bash command in the specified working directory with optional environment variables and timeout control.
Write content to a file, with optional overwrite protection.
No tool annotations (destructiveHint, readOnlyHint, idempotentHint) despite tools with irreversible side effects (run_command, write_file, run_background, kill_job). LLMs cannot distinguish safe from destructive operations without explicit metadata.
State-change operations lack explicit descriptions. run_command, write_file, run_background, and kill_job descriptions do not explicitly state 'This operation is IRREVERSIBLE' or 'This modifies system state.' LLMs need explicit flags to understand consequences.
write_file 'overwrite' parameter defaults to true, risking accidental data loss if LLM omits the parameter. Violates 'defaults must not cause data loss' principle.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 52 | 2026-07-28+ | v2 |
Numeric parameters lack constraints. run_command timeout is unbounded (no max stated); read_file offset and limit lack explicit ranges; list_directory result cap is undocumented. Unbounded params allow LLMs to pass absurd values.
Output schemas are documented as JSON text blobs, not structured types. Agents cannot programmatically extract exit_code, stdout, stderr, or other fields without parsing. No field type declarations.
Error handling is minimal. Errors are returned as text blobs (errorResult) with no recovery guidance. E.g., 'no such file' does not suggest 'Try list_directory()'; timeout error does not suggest retry with longer timeout; denylist refusal suggests editing server.js instead of asking user for clarification.
run_background and job_status lack clear semantics. Job ID format (UUID vs string?), status enums (running|completed|failed?), output retention policy, and max concurrent jobs are undocumented. Breaks tool chaining.
No pagination support. list_directory does not accept limit/offset and returns all entries uncapped. Large directories could exhaust context. read_file has offset/limit but other tools do not.