Skip to main content
Glama
RCF MCP Server
by Diraw

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RCF_HOMENoPath to the RCF home directory, for example /home/you/.rcf (Windows: C:/Users/you/.rcf). Defaults to ~/.rcf.

Instructions

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

RCF manages research compute nodes (local, SSH workstations and Slurm clusters).

Typical flow:

  1. compute_list_nodes / compute_inspect_node — see what exists and what is free.

  2. compute_list_projects + compute_inspect_environment — check the code and environment. Missing package? compute_plan_environment shows the exact commands; only then compute_apply_environment(confirm=true). RCF writes only prefixes it owns.

  3. compute_plan_run — get a reviewable plan (node, command, checks). No side effects.

  4. compute_submit_run(plan_id, confirm=true) — submit only after the user approves.

  5. compute_get_run / compute_get_run_progress / compute_get_logs / compute_collect_results — follow the run.

  6. compute_wait_run — bounded read-only long-poll (<=60s), not background notifications; callers may repeat it using the returned revision. Waiting never submits or cancels a run.

Never assume a GPU is free because VRAM looks idle: on Slurm nodes the scheduler decides, and on SSH nodes RCF only reports evidence. Do not bypass a scheduler.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

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

Tools

Functions exposed to the LLM to take actions

NameDescription
compute_list_nodesA

List declared compute nodes with kind, labels and SSH alias (no network access).

compute_inspect_nodeA

Probe a node read-only: CPU, memory, disk, GPUs and Slurm partitions, plus an explicit GPU schedulability assessment (free VRAM is never treated as availability).

compute_node_selftestA

Prove the control path to a node in ~10s: ssh, POSIX shell, work_root write/read/cleanup, python3 and GPU. Creates and removes one temp dir; never submits a job.

compute_list_environmentsC

Inspect declared environments per node: installed / compatible / verified, missing packages.

compute_inspect_environmentB

Inspect one environment read-only; never run its arbitrary verification command.

compute_verify_environmentB

Run the configured environment verification command only with confirm=true; execution permission required.

compute_plan_environmentA

Plan how to create or complete an environment on one node: exact commands, missing packages, network needs and the ownership verdict. Read-only: nothing is installed and no directory is created.

compute_apply_environmentA

Execute a reviewed environment plan (conda create/install or venv+pip). Requires confirm=true. RCF only writes prefixes it owns (managed_roots or managed=true) and refuses plans with blockers; every write is audited.

compute_list_projectsA

List research projects with entrypoint, environment and per-node paths.

compute_plan_runA

Build an execution plan for a project (node selection, environment check, GPU choice, exact command). Pure planning: nothing is started, written or reserved. Optional pilot_seconds uses a hard watchdog when submitted; runtime_budget_seconds only gates planning/alerts, never cancels a normal run. Neither walltime nor budget is an ETA.

compute_submit_runA

Submit a reviewed plan. Requires confirm=true and an executable plan; idempotency_key makes retries safe.

compute_get_runB

Fetch a run's state, exit code and recent events, refreshing from the executor.

compute_get_run_progressB

Read run progress, phase, ETA interval/scope/confidence and alerts; unknown ETA is explicit.

compute_wait_runA

Bounded read-only long-poll (0 <= timeout_seconds <= 60, also capped by [progress].max_wait_seconds; zero reads cache) for change, terminal state, phase or alert. Not a background notification; repeat with after_revision. Never submits or cancels.

compute_get_logsA

Read the tail of a run's log (stdout+stderr), redacted for secrets.

compute_cancel_runB

Cancel a run through its executor (scancel on Slurm, process-group signal elsewhere).

compute_list_runsB

List recent runs from the local database, optionally filtered by state.

compute_sync_projectA

Show (or apply, with confirm=true) a git fetch/checkout for a project on one node. Refuses on a dirty working tree.

compute_push_projectA

Copy a project checkout to a node, sending only the files that differ. Plans by default; confirm=true applies. Never deletes, and never overwrites a file that is newer on the target unless force=true.

compute_collect_resultsB

List the result files of a run in place (no bulk transfer between nodes).

compute_fetch_resultsA

Copy a run's artifacts to the control machine (tar + scp, SHA-256 verified). Writes to a local directory, so it needs confirm=true.

compute_scan_storageC

Scan declared project storage roots read-only; never changes research files.

compute_report_storageC

Report project storage statistics, classification and largest files.

compute_check_storageC

Check project storage evidence and safety issues without deleting files.

compute_plan_storage_cleanupA

Plan exact-file cleanup for stale-code, disposable, replica or cache. No files deleted; review paths and blockers before separately applying with confirmation.

compute_plan_storage_adoptionA

Plan adoption of explicitly listed relative file paths in one root; never selects a whole root by default. Code adoption also needs source_node_id and requires a per-file hash match with that checkout. No adoption until the reviewed plan is separately applied with confirmation.

compute_get_storage_planB

Read a stored storage plan with owner/stage, per-file journal and protection guards. Read-only evidence; heartbeat age does not authorize takeover or application.

compute_reconcile_storage_planA

Observe the stored manifest and close an old storage plan as superseded, releasing its guards. Never continues deletion or resumes the plan. Requires fresh human approval and confirm=true.

compute_apply_storage_planA

Apply one reviewed cleanup or adoption plan. Requires fresh human approval and confirm=true.

compute_pin_runA

Pin or unpin a run against cleanup. Requires confirm=true; pinning requires a reason. Unpinning does not delete files.

compute_doctorA

Report configuration, dependency and security status of this RCF installation.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.3/5.0

Scored across 31 tools

Disambiguation4/5

The tools are mostly separable by resource and lifecycle stage: nodes, environments, runs, projects, and storage each have distinct actions. A few storage tools overlap in purpose (check_storage, scan_storage, report_storage) and the plan/get/reconcile/apply storage-plan sequence requires careful reading to avoid misselection, but descriptions provide strong guardrails.

Naming Consistency5/5

Every tool follows the same compute_<verb>_<noun> snake_case pattern, with predictable verbs such as list, inspect, plan, apply, get, and submit. The few longer names (compute_plan_storage_adoption, compute_reconcile_storage_plan) remain consistent and readable.

Tool Count2/5

With 31 tools, the surface is heavy for an agent to navigate even though it spans several real subdomains (nodes, environments, runs, projects, storage). The count exceeds the 25+ threshold where tools begin to feel excessive and many operations are split into plan/apply/inspect variants.

Completeness4/5

Coverage is broad: environments can be inspected, planned, verified, and applied; runs can be planned, submitted, monitored, cancelled, pinned, and fetched; storage cleanup/adoption has planning and guarded application. Minor lifecycle gaps exist, such as no obvious environment deletion or project creation, but core workflows are well covered.