ai-agent-mcp-server
Verified Safeby anirudhatalmale7-a11y
Overview
Automates developer tasks on a remote GCP VM using an AI agent with SSH-based tools.
Installation
gcloud builds submit --config=cloudbuild.yamlEnvironment Variables
- VM_HOST
- VM_USER
- VM_SSH_KEY_PATH
- VM_SSH_KEY_CONTENT
- VM_WORKSPACE_DIR
- ALLOWED_WORKSPACE_DIRS
- BLOCKED_COMMANDS
- MCP_API_KEY
- MCP_SERVER_URL
- ANTHROPIC_API_KEY
- GITHUB_TOKEN
Security Notes
The system features robust path validation (`PathValidator`) and command filtering (`CommandFilter`) that explicitly blocks dangerous patterns like `rm -rf /`, fork bombs, `eval $(`, and `wget|curl|sh` pipes. SSH connections use `paramiko.AutoAddPolicy()`, which is less secure than host key verification but potentially mitigated by the controlled GCP VM environment. Optional API key authentication for the FastAPI server and secure handling of SSH keys via GCP Secret Manager are good practices. The VM setup script also configures a dedicated user and firewall rules.
Similar Servers
DesktopCommanderMCP
This server empowers AI agents to search, update, manage files, and execute terminal commands on a local or containerized desktop environment. It provides enhanced filesystem operations, process control, and data analysis capabilities with support for various file types like text, Excel, and PDF.
tmux-mcp
Enables AI assistants (like Claude Desktop) to interact with, control, and observe tmux terminal sessions by providing tools for session management and command execution.
claude-command-runner
Facilitates AI-driven command execution and terminal automation by bridging Claude Desktop with local macOS terminals, primarily Warp, enabling intelligent output capture, command pipelines, real-time streaming, and reusable templates for developers.
cloudrun-claude-code
A production-ready Cloud Run service that executes Claude Code tasks in isolated jobs, enabling AI-driven code analysis, development, and automation with secure credential handling and post-execution actions.