Skip to main content
Glama
Gemini Remote Agent MCP

Gemini Remote Agent MCP

by lisycotana

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_AUTH_ENABLEDNoWhether OAuth authentication is enabled. Set to false for local testing.
MCP_OAUTH_ISSUERNoOAuth issuer URL for the resource server.
MCP_SANDBOX_MODENoSandbox mode for command execution. Set to none for local testing.
MCP_OAUTH_AUDIENCENoOAuth audience for the MCP endpoint.
MCP_WORKSPACE_ROOTYesThe workspace root directory for the server.
MCP_ALLOWED_COMMANDSNoOptional command allowlist for executed commands.
MCP_ALLOWED_USER_SUBSNoAllowed OAuth user subject(s) for authentication.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Operate only within this remote workspace. Read files before editing. For existing files, pass the sha256 returned by read_file to edit_file or write_file. Prefer edit_file for local changes and review the returned unified diff. Use start_bg_job and poll_bg_job for commands that may exceed 30 seconds. Commands are non-interactive. Do not request or print credentials. git_restore is destructive, may be disabled, and requires explicit confirmation.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_directoryB

List directories recursively; omit ignored, sensitive, and symlinked entries.

find_filesB

Find files using a relative glob such as '**/*.py'; results stay inside the workspace.

grep_searchB

Search with ripgrep. Matches include workspace-relative paths and line numbers.

read_fileB

Read UTF-8 lines (or tail_lines from EOF); pass returned sha256 to edit_file.

read_multiple_filesB

Batch-read up to 10 workspace UTF-8 files in one call to save round-trips.

workspace_infoA

Return workspace path, OS/shell environment, and active safety flags.

edit_fileB

Replace exact text, optionally preview only. Existing files require expected_sha256.

write_fileB

Create a UTF-8 file or explicitly overwrite one with expected_sha256; returns a diff.

git_status_diffB

Return branch/status and both diffs. Untracked files are listed, not dumped.

run_commandB

Run a non-interactive shell command. OS isolation is required for untrusted callers.

start_bg_jobB

Start a non-interactive long-running job; poll with the returned job_id.

poll_bg_jobC

Poll job status and incremental output. Use next_offset for the next request.

list_bg_jobsA

List active and recently exited background jobs with status and PID.

kill_bg_jobB

Terminate a background job and its child process tree.

git_restoreA

Discard tracked edits only. Untracked files are preserved. Disabled by default.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 15 tools

Disambiguation5/5

Each tool targets a distinct action and resource: directory listing, glob-based file finding, content grep, single/batch reads, exact edits, overwrites, git status/diff, restore, shell execution, and background-job lifecycle. The read_file/read_multiple_files and edit_file/write_file pairs are clearly differentiated by batching and creation vs modification semantics.

Naming Consistency4/5

All names use consistent snake_case and are mostly action-oriented resource names such as list_directory, read_file, run_command, and kill_bg_job. Minor deviations are workspace_info and git_status_diff, which are noun-first rather than verb-first.

Tool Count5/5

With 15 tools, the server stays within a well-scoped range for a remote workspace agent. Each tool covers a necessary capability: filesystem reads/writes, search, git inspection/restore, command execution, and background-job management.

Completeness4/5

The surface covers core file operations, search, git status/diff/restore, shell commands, and background jobs. There are minor gaps such as no explicit delete/move/copy file tools and limited git operations, though run_command can work around many of these.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues