Reference
MCP tools
All 13 tools with their inputs.
frontier mcp is a Model Context Protocol server that Claude Code, Codex and other hosts can call. It has 13 tools, all in the signed release.
Tools that touch a folder need that folder to be trusted first: run frontier trust in the project. A tool call with no folder never needs trust. Failures come back as a normal tool error with a code from Errors and exit codes.
frontier_ask
Ask a frontier model from another vendor family through Relief (default: best available model at the quality floor, e.g. GPT, Gemini, DeepSeek). Use for second opinions, design reviews, or cross-checking an approach. Read-only: it can read files in directory (a folder trusted with frontier trust) but never changes anything.
| Input | Type | Required | Meaning |
|---|---|---|---|
prompt | string | Yes | The question or review request. |
directory | string | No | Absolute project folder the model may read. Optional. |
model | string | No | Specific model id (see frontier_models), or omit for the best available model. |
images | array of string | No | Optional image file paths to attach (requires a vision model). |
Returns: The model's answer, which model gave it, and what it cost. It reads files in directory but never changes anything.
frontier_task
Delegate a software task to Relief's own agent (reads, searches, edits, runs allow-listed commands) in directory. With allowEdits=false it only investigates and returns a plan or patch; with allowEdits=true it edits files. Returns a summary, changed files and git diff stat. The folder must be a project folder the user trusted once with frontier trust (never a drive root, home or system folder). Quality floor: models below the configured floor are never used; fails with QUALITY_UNAVAILABLE rather than using weaker models.
| Input | Type | Required | Meaning |
|---|---|---|---|
task | string | Yes | Clear task description with acceptance criteria. |
directory | string | Yes | Absolute path of the project folder. |
allowEdits | boolean | No | Allow file edits. Default false. |
model | string | No | Optional model id. |
mode | string | No | Persona: architect, code, ask, debug, review, orchestrator. Default code. |
Returns: A summary, the models used, the files changed, a git diff stat and the estimated cost. Waits until the task is done.
frontier_task_start
Start a long-running frontier_task in the background and immediately return a jobId to poll with frontier_task_status.
| Input | Type | Required | Meaning |
|---|---|---|---|
task | string | Yes | Clear task description. |
directory | string | Yes | Absolute path of the trusted project folder. |
allowEdits | boolean | No | Allow file edits. Default false. |
model | string | No | Optional model id. |
mode | string | No | Persona. Default code. |
Returns: A jobId straight away. The task keeps running in the background.
frontier_task_status
Check progress, status, and final result of a job started via frontier_task_start.
| Input | Type | Required | Meaning |
|---|---|---|---|
jobId | string | Yes | The jobId returned by frontier_task_start. |
Returns: The progress, status and final result of the job.
frontier_models
List the models of every provider configured in Relief (DeepSeek, Gemini, OpenRouter, Ollama and any custom provider) by quality tier.
No inputs.
Returns: Every configured model grouped by tier, how much of each free quota is left today, and the account credit of providers that publish a balance (DeepSeek). Keys are never shown.
frontier_handoff_save
Save a redacted session handoff checkpoint (.frontier/handoffs/*.json and *.md) before hitting a quota or context limit.
| Input | Type | Required | Meaning |
|---|---|---|---|
directory | string | Yes | Trusted workspace folder path. |
title | string | No | Short task title for the handoff file slug. |
goal | string | Yes | Overall task objective. |
decisions | array of string | No | Key design or technical decisions made. |
todos | array of string | No | Remaining steps to finish. |
files | array of string | No | Relevant or edited file paths. |
notes | string | No | Additional context notes. |
Returns: The paths of the saved handoff, written to .frontier/handoffs in the folder. Redacted.
frontier_handoff_load
Load a saved Relief handoff checkpoint by id or slug (defaults to the latest handoff).
| Input | Type | Required | Meaning |
|---|---|---|---|
directory | string | Yes | Trusted workspace folder path. |
id | string | No | Optional handoff id or slug. |
Returns: The saved handoff, latest by default.
frontier_handoff_list
List saved Relief handoff checkpoints in a trusted workspace folder, newest first.
| Input | Type | Required | Meaning |
|---|---|---|---|
directory | string | Yes | Trusted workspace folder path. |
Returns: The saved handoffs, newest first.
frontier_redact
Redact API keys, tokens, private key blocks, and high-entropy credentials from text before pasting or logging.
| Input | Type | Required | Meaning |
|---|---|---|---|
text | string | Yes | Text to scrub using Frontier's redaction rules. |
Returns: The text with keys, tokens and private key blocks masked.
frontier_compare
Run 2 to 3 healthy models from different vendor vendors/families on a prompt and synthesize agreements and disagreements.
| Input | Type | Required | Meaning |
|---|---|---|---|
prompt | string | Yes | Question or design choice to compare across model families. |
synthesize | boolean | No | Include synthesis summary of agreements and disagreements. Default true. |
Returns: Answers from two or three model families, and a summary of where they agree and disagree. It skips lanes already known to be empty, and when it cannot find two families it names each lane it skipped.
frontier_recommend_model
Recommend the best available configured model for a prompt and mode using heuristics and local outcome stats.
| Input | Type | Required | Meaning |
|---|---|---|---|
prompt | string | Yes | Task description. |
mode | string | No | Persona: architect, code, ask, debug, review, orchestrator. |
hasImages | boolean | No | Whether image attachments are included. |
Returns: The best configured model for the task, and why, from heuristics and your local outcome stats.
frontier_audit_repo
Audit a repository for agentic supply-chain and rules-file poisoning (.clientrc, .clinerc, .cursorrules, CLAUDE.md, AGENTS.md unrequested package install directives, stealth 'continue regardless' overrides, hidden Trojan Unicode, and suspicious package.json postinstall hooks) as well as exposed secrets.
| Input | Type | Required | Meaning |
|---|---|---|---|
directory | string | Yes | Absolute path of the repository to audit. |
Returns: Findings for rules file poisoning, hidden Unicode, suspicious install hooks and exposed secrets.
frontier_feedback
Leave constructive feedback about Relief for its maintainer: what slowed you down, what worked, and features that would help. Free: saved locally only, never sent anywhere.
| Input | Type | Required | Meaning |
|---|---|---|---|
whatSlowedDown | string | No | What slowed you down or was frustrating. |
whatWorked | string | No | What worked well. |
wishes | string | No | Features that would help. |
hostModel | string | No | The model family leaving feedback (optional). |
task | string | No | One line on what the task was (optional). |
Returns: Confirmation that the feedback was saved on this machine. Nothing is sent anywhere.