MCP server that enables Claude and other MCP clients to execute shell commands in Warp Terminal, with command history tracking, security policies, output capture, and streaming execution support.
The server has 6 tools with partial schema and description coverage. All tools have descriptions ranging from 80-250 characters, meeting the minimum threshold. However, input schemas are incomplete and inconsistent. Tool parameters are documented in descriptions but lack formal type constraints. Three tools (execute_command, execute_with_auto_retrieve, emit_warp_event) perform state-modifying operations but lack explicit error handling guidance or confirmation patterns. The tool suite exhibits reasonable composition but weak schema rigor and missing output documentation. No tool annotations (readOnlyHint, destructiveHint) are present despite clear WRITE vs READ_ONLY risk classifications available in the metadata.
Analyze whether a command is interactive and would hang if run non-interactively. Detects editors (vim, nano), REPLs (python, node), pagers (less, more), remote shells (ssh), and other interactive tools. Returns detection level (safe, cautious, interactive, blocked) with explanation and suggestions.
Emit an OSC 777 warp://cli-agent JSON event into a Warp terminal pane. Generates a printf command that can be executed via execute_command to send session lifecycle events (session_start, prompt_submit, tool_complete, stop, permission_request, idle_prompt) to Warp's UI.
Execute a shell command in the active Warp terminal tab with automatic output capture. The command is sent via AppleScript keystroke injection and runs in the user's shell environment. Output is captured to a temporary JSON file and can be retrieved via get_command_output.
Execute a shell command with enhanced progressive monitoring and automatic output retrieval. Uses intelligent delays based on detected command type (quick, moderate, build, test) to automatically poll for results and return output without requiring manual get_command_output calls.
Dispatch a warp:// URL deeplink to focus a specific Warp terminal pane by UUID. Requires the UUID to be recognized by Warp (typically from OSC 777 session_start events). Returns confirmation or error if the UUID is invalid or Warp is not installed.
Input schemas lack formal type and constraint declarations. While parameter descriptions mention types (string, optional), no visible JSON Schema with minLength, maxLength, pattern, or enum constraints are enforced. This forces LLMs to infer valid formats from description text alone.
State-modifying tools (execute_command, execute_with_auto_retrieve, emit_warp_event) lack error recovery guidance. No description states what an LLM should do if the command fails, the Warp pane is not responsive, or the OSC event is malformed. Descriptions do not indicate retryability or when to escalate to user.
No tool annotations (destructiveHint, readOnlyHint, idempotentHint) despite clear risk metadata in the server definition. The WRITE tools (execute_command, execute_with_auto_retrieve, emit_warp_event) should be annotated with destructiveHint=true; READ_ONLY tools should carry readOnlyHint=true. This metadata is critical for MCP protocol and LLM safety guardrails.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 49 | <=2025-11-25 | v2 |
Retrieve captured output from a previously executed command using its unique command ID. Returns stdout, stderr, exit code, execution duration, and timestamp of the command execution.
Output schemas are not documented. No tool description states what fields are returned, what types they have, or how downstream tools can chain off them. For example, execute_command implies a command_id is returned (for use with get_command_output), but this is never stated in the output schema.
focus_warp_session accepts two parameter names for the same value (warp_uuid and uuid), creating ambiguity. LLMs may not know which to choose, and tool definitions should use a single canonical parameter name. This violates naming consistency.
No idempotency guidance. execute_command and execute_with_auto_retrieve may have side effects (e.g. running a destructive shell command twice). Descriptions should state whether these tools are safe to retry and what safeguards prevent duplicate execution.
Missing dependency hints. For example, get_command_output requires a command_id from a prior execute_command call, but the execute_command description does not state that the caller must save the returned command_id for later retrieval.