Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
UNION_MCP_HTTP_CONFIGNoWhen set, starts the loopback-only stateless Streamable HTTP server (POST /mcp) instead of the stdio MCP server. Running node dist/server.js directly without UNION_MCP_HTTP_CONFIG starts the stdio MCP server and waits for JSON-RPC messages on stdin.

Instructions

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

Union MCP is a user-authorized local tool integration running with the native OS account permissions, not an OS sandbox. Its complete fixed tool catalog provides file reading/search/writing/editing, native programs and shell commands, process jobs and stdin/cancellation, skill metadata and documents, Antigravity persisted public history queries without app/session control, downstream MCP tools/resources/prompts including Unity, existing Codex agent thread query/send/resume/stop, Ego Browser JavaScript on an explicit TaskSpace, and desktop capture/input. Execution, downstream calls, browser/desktop input, and Codex messages can change files, applications or remote services. Open a context with a native cwd. Read all returned documents completely using read and its cursor before protected operations, then read the applicable capability guide. Use exact target identities and stable operation IDs; an unknown result is not permission to replay. discover returns metadata within this fixed public interface; it does not add public tools.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
antigravity_listB

Search and page the local Antigravity app/ide/cli history index after reading guide:antigravity. Reads persisted SQLite snapshots only; does not contact, start, resume or stop Antigravity. Sources remain separate; returned state is not live execution status.

antigravity_statusA

Read persisted Antigravity metadata for an exact conversation_id and source after reading guide:antigravity. is_live=false and state=unknown; saved run status never proves current execution or termination. Does not wake an app, session or model.

antigravity_readA

Read only persisted public user/assistant text from one exact Antigravity conversation and source after reading guide:antigravity. Page newest steps with before_step; complete a long message using its next_action before moving to older steps. Excludes thinking, configurations and raw tool output. No session control or app/RPC connection.

codex_listC

List bounded candidates from the existing Codex backend. Use offsets for Desktop or the native cursor for the daemon.

codex_statusB

Read the exact thread identity and last native turn from an existing Codex backend without waking it.

codex_readC

Read public messages and subagent IDs from the exact local thread with native history cursors.

codex_sendA

Send a user-authorized message to one verified existing Codex agent thread and return its durable delivery receipt. The message can start or steer agent work with filesystem, process or external-service effects under that thread permissions. An accepted receipt is not completion; preserve the original operation ID when checking an unknown outcome.

codex_resumeB

Resume one verified existing Codex agent thread with a user-authorized message and a stable operation ID. This can continue autonomous agent work with filesystem, process or external-service effects under that thread permissions. Uses the original thread and delivery receipt; does not create a replacement conversation.

codex_stopC

Request native user-stop for one verified Codex thread. Requires the current exact target and user authorization.

codex_watchC

Start an owned observation job for one exact native Codex turn. Canceling the watch only stops observing.

browser_useA

Acquire the installed Ego Browser guide or execute user-authorized JavaScript through the supported task/Page API on one explicit TaskSpace. Browser work can read signed-in pages, navigate, fill forms, click, upload/download files, capture images and submit changes to remote services. Requires the installed guide, exact provider identity and operation ID. Native programs use run; browser source is limited to the supported TaskSpace interface.

computer_useA

Acquire only the selected desktop provider guide; list apps/windows, wait or capture a window in som/vision/ax mode (compact elements by default, detail:full for the tree); or click/double_click/right_click/middle_click, drag, scroll, type, set_value, key, focus_app or set_window_frame on an exact window observation. set_window_frame uses desktop coordinates from capture.window_frame (visible frame), which can differ from window.bounds (outer frame). Input can modify application data or trigger external actions. Background and foreground delivery are explicit. Background AX clicks are supported by the supplemental provider; background pixel gestures are refused before dispatch. set_value uses native units; Slider postcondition reports independent native RangeValue readback separately from uncertain delivery. Requires exact provider identity, current observation and operation ID for input.

contextB

Open, inspect, or refresh a task in the native host. Read every required document with read before file or execution operations. Does not launch providers or version probes.

readC

Read a manifest document completely using its returned cursor, or read a native UTF-8 file after all applicable rules were delivered. File cursors cannot be combined with offset/limit.

searchC

Search native file names or UTF-8 file contents within the declared context scope after all applicable rules were delivered.

writeC

Atomically write a UTF-8 file within declared scope using a stable operation_id for durable deduplication and optional expected_sha256 conflict protection.

editA

Apply an exact UTF-8 text replacement to an existing file within declared scope using a stable operation_id and optional expected_sha256 check.

runA

Execute a user-authorized native program (exact executable + argv) or discovered shell command (shell_id), with native OS permissions and possible filesystem, process and network effects. Supports oneshot, interactive and service lifetimes. Read core, project rules and guide:native-exec first. Requires a stable operation_id; query the original receipt after an unknown outcome instead of resending.

jobA

Inspect a durable job receipt, read immutable spooled output, cancel owned work, or send gated stdin input to an interactive process. Status/read are observational; cancel can terminate an owned process tree, and input can trigger arbitrary actions in that program. Canceling a watch only ends observation. Use the original job_id or operation_id after an unknown result.

discoverB

Inspect local tool metadata, schemas, skill metadata catalog, or imported/connected MCP server previews without launching providers or executing commands.

mcpA

Preview MCP configuration without execution; connect, refresh or close configured downstream MCP servers; call their tools, read resources or get prompts. Connections can start configured server processes. Downstream tool calls can modify local files, Unity projects, applications or remote services and follow the acquired downstream schema. Requires exact server_id, instance_id, project and catalog_revision binding plus the applicable guides and server instructions.

task_closeA

Close this context and release its in-memory snapshots and observations. owned_jobs=retain preserves owned jobs; owned_jobs=cancel requests cancellation of owned work and can terminate owned process trees. Does not delete user files. Inspect each returned disposition; cancel_requested does not mean termination was observed.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
tool-imagesDisplay the images in the current tool result.

TDQS

B3.1/5.0

Scored across 22 tools

Disambiguation4/5

Most tools target clearly distinct surfaces: core files, execution, MCP, browser/computer use, and prefixed Antigravity/Codex backends. The only notable overlap is codex_send versus codex_resume, both of which message an existing Codex thread, though the descriptions help distinguish them.

Naming Consistency3/5

There are recognizable subsystem prefixes such as antigravity_* and codex_*, but the overall set mixes bare verbs (read, search, run), noun-only names (job, mcp, context), and noun_verb names (task_close, browser_use, computer_use). It remains readable, but the convention is not predictable across the server.

Tool Count3/5

At 22 tools this is a heavy surface, falling into the borderline 16–25 range. The broad local-orchestration scope explains some size, but the many Codex/Antigravity-specific tools could likely be consolidated without losing coverage.

Completeness4/5

The set covers core file operations, execution/job handling, MCP, browser/computer use, context/task lifecycle, and multiple agent backends. There are minor gaps such as no dedicated file delete or new Codex-thread creation, but native execution can work around some file-management omissions.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues