Skip to main content
Glama
Elysium Desktop Commander

Elysium Desktop Commander

by jordelmir

Elysium Desktop Commander

Local-first MCP tools for Codex and other MCP clients on macOS. Version 0.2.0 exposes bounded read-only filesystem tools and a narrow allowlist of process diagnostics over MCP STDIO or an opt-in, bearer-authenticated Streamable HTTP endpoint bound to loopback. It does not contain desktop/browser automation, OAuth, device pairing, or an outbound remote relay.

Requirements

  • Node.js 22.19+, 24.11+, or 26+

  • npm

  • Codex CLI for MCP integration (optional for direct local use)

Related MCP server: Read-only MCP Bridge

Install and verify

cd ~/Projects/elysium-desktop-commander
npm ci
npm run check
npm run lint
npm test
npm run build
npm run smoke:mcp
npm run smoke:http

Run locally

npm run mcp

The server uses the current working directory as the default authorized root. Set ELYSIUM_ALLOWED_ROOTS to a platform-separated list of explicitly authorized roots. Set ELYSIUM_AUDIT_LOG to opt into metadata-only audit records. No telemetry is enabled.

Remote MCP endpoint (local loopback only)

After building, start the optional HTTP endpoint with a unique random token of at least 32 bytes:

ELYSIUM_REMOTE_TOKEN='replace-with-a-long-random-secret' npm run start:http

The endpoint listens on 127.0.0.1:8765/mcp and requires Authorization: Bearer …. It refuses non-loopback bind addresses. To reach it remotely, use a supported authenticated HTTPS tunnel or deploy a separate gateway/reverse proxy with TLS and access control. Do not expose the Mac's port directly. This endpoint currently has no OAuth authorization server, device pairing, revocation registry, or outbound relay; it is not a production remote-control deployment and may not be accepted by clients that require OAuth. Use it only with trusted clients that securely store bearer tokens.

Update and uninstall

To update dependencies within the pinned ranges, review package changes, run npm update, then run the full verification steps above. Intentional version changes belong in package.json and package-lock.json together.

To disconnect the server from Codex, run codex mcp remove elysium-desktop-commander. To remove the local checkout, first preserve any work you need, then remove ~/Projects/elysium-desktop-commander yourself. Unregistering the server does not delete the project or its logs.

Codex registration

Only after build and tests pass, register the compiled server:

codex mcp add elysium-desktop-commander -- node "$HOME/Projects/elysium-desktop-commander/dist/server/main.js"

Then inspect with codex mcp list and restart Codex if needed. The server's launch directory is its default authorized root; configure additional roots deliberately in Codex MCP environment settings. Registration in Codex does not provide a ChatGPT remote connector.

Security boundary

The agent runs with the current user's OS privileges. Path roots and the executable allowlist are application guardrails, not a sandbox. The default READ_ONLY profile exposes no file writes, arbitrary shell, process termination, secrets, browser storage, desktop actions, network relay, or public listener. The optional loopback HTTP endpoint exposes the same read-only tools and is disabled unless explicitly started with a strong bearer token. See Security and Threat model.

Capability status

Implemented: health, authorized roots, bounded directory listing, bounded UTF-8 reads, metadata, bounded content/name search, read-only diagnostic commands, process session observation, and authenticated loopback Streamable HTTP. Pending: OAuth, interactive approval, writes, process cancellation, macOS GUI automation, browser adapter, device pairing, outbound relay, and an externally hosted Elysium gateway. See tool inventory, reference audit, and tests.

License

MIT. See LICENSE.

Available Tools

10 tools
get_file_metadataC

Return non-content metadata for an authorized path.

Inputs: path (required).

get_healthA

Return agent health, active policy, platform support and session count.

Inputs: no named parameters.

list_allowed_rootsA

List the filesystem roots explicitly authorized for reads and process working directories.

Inputs: no named parameters.

list_directoryC

List a bounded directory without following symlink entries.

Inputs: path, limit.

list_processesA

List process session metadata created by this agent without including process output.

Inputs: no named parameters.

read_fileB

Read a UTF-8 text file under an authorized root with a strict byte limit.

Inputs: path (required), maxBytes.

read_process_outputB

Read a bounded page of output and status for an agent process session.

Inputs: sessionId (required), limit, offset.

run_commandA

Run a short, read-only allowlisted command without a shell. No arbitrary command or shell syntax is accepted.

Inputs: executable (required), cwd, args, timeoutMs.

search_filesC

Search file names beneath an authorized root with bounded depth and result count.

Inputs: query (required), path, limit, maxDepth.

start_processC

Start an allowlisted bounded process session. The command still runs with this user account privileges.

Inputs: executable (required), cwd, args, timeoutMs.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 10 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes: filesystem reads, metadata, search, process sessions, and health/roots are well separated. The only notable overlap is run_command versus start_process, though their descriptions distinguish short read-only commands from bounded process sessions.

    Naming Consistency5/5

    All tools use a consistent snake_case verb_noun pattern such as get_health, list_directory, read_file, and start_process. There are no mixed conventions or vague standalone verbs.

    Tool Count5/5

    Ten tools is well-scoped for a desktop commander focused on authorized filesystem reads and bounded process control. Each tool maps to a distinct operation without excessive surface area.

    Completeness3/5

    The read-only filesystem and process inspection surface is fairly coherent, but there are notable lifecycle gaps: no file write/edit/delete operations and no process stop/kill operation. These gaps may be intentional for a security-restricted server, but they are still significant for a general desktop commander.

    Maintenance

    ActivitySlowing
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables read-only, allowlisted filesystem and Git inspection of explicitly configured local repositories through MCP, with bounded reads and no arbitrary path or write access.
      10 npm
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables read-only access to explicitly approved local and remote filesystems, including inspecting Git repositories and querying SQLite and DuckDB databases, with root administration kept separate from MCP.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP clients to run files, processes, shell sessions, browser automation, and native macOS UI actions under explicit workspace permissions and auditable controls.
      Apache 2.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables agents to list directories, read files, search file contents and stat paths through four read-only MCP tools confined to allowlisted roots, with default deny globs for secrets and size/binary caps.
      MIT