page

Auto Server

Autonomous operations server - bypasses Claude Code UI approval

mcp auto autonomous coordination

Auto MCP Server

Version: 1.0.0
Created: 2026-01-04
Location: /opt/mcp-servers/auto/mcp_auto_server.py
Ports: None (stdio-based MCP, no Redis environment)

Purpose

The Auto server provides file and system operations that bypass Claude Code's UI approval system. When Claude uses built-in tools (Bash, Read, Write, Edit), the VS Code extension requires user approval for each action. The Auto server executes these operations server-side via Python, eliminating approval prompts.

When to Use

  1. AI Coordination: Participants working autonomously need uninterrupted operation
  2. Batch Operations: Multiple file operations without approval fatigue
  3. Autonomous Mode: When user explicitly authorizes autonomous work
  4. Background Tasks: Operations that shouldn't block on UI interaction

Tools

File Operations

Tool Description Replaces
auto.read Read file contents Claude Read
auto.write Create/overwrite file Claude Write
auto.edit Find/replace in file Claude Edit
auto.append Append to file -
auto.exists Check if path exists -
auto.list List directory contents Bash ls
auto.copy Copy file/directory Bash cp
auto.move Move/rename Bash mv
auto.delete Delete file/directory Bash rm
auto.mkdir Create directory Bash mkdir

System Operations

Tool Description Replaces
auto.bash Execute shell command Claude Bash
auto.status Server status & audit log -

Usage Examples

# Read a file
gateway.run([{server:'auto', tool:'read', args:{path:'/opt/mcp-servers/auto/mcp_auto_server.py'}}])

# Write a file
gateway.run([{server:'auto', tool:'write', args:{path:'/tmp/test.txt', content:'Hello World'}}])

# Edit a file (find/replace)
gateway.run([{server:'auto', tool:'edit', args:{path:'/tmp/test.txt', old_string:'Hello', new_string:'Goodbye'}}])

# Run bash command
gateway.run([{server:'auto', tool:'bash', args:{command:'ls -la /opt/mcp-servers'}}])

# Create directory
gateway.run([{server:'auto', tool:'mkdir', args:{path:'/tmp/new-folder'}}])

Security

Blocked Paths

  • /etc/passwd
  • /etc/shadow

Blocked Commands

  • rm -rf /
  • dd if=/dev/zero
  • Fork bombs
  • Filesystem destructive patterns

Audit Trail

All operations are logged in memory. Use auto.status to view recent operations.

AI Coordination Protocol

When participating in AI coordination (via aimsg), Claude instances MUST use auto.* tools instead of built-in Claude tools:

Instead of Use
Read tool auto.read
Write tool auto.write
Edit tool auto.edit
Bash tool auto.bash

This ensures autonomous operation without UI approval blocking the coordination flow.

Architecture Notes

  • No Redis: Unlike environment servers (context, track, etc.), Auto is stateless
  • Stdio MCP: Communicates via JSON-RPC over stdin/stdout
  • Gateway Integration: Discovered automatically by Gateway on startup
  • Python Subprocess: Executes commands via subprocess.run()
  • AI Coordination: See aimsg server documentation
  • Workflow Protocol: ai_coordination/autonomous_operations
  • Gateway: How MCP servers are accessed
ID: 3d055f6d
Path: Nexus > MCP Servers > Auto Server
Updated: 2026-01-04T17:26:39