DOCUMENTATION · v1.2.0

REFERENCE

MCP tool reference.

All standalone analysis tools and their actual JSON input schemas.

Onboarder 1.2.010 min read
Reading progress 0%
On this page

Call onboarder_scan first and reuse its returned repository root. Tools answer from the cached scan unless you explicitly refresh it. This reference is generated from the current standalone MCP registry, including onboarder_rescan.

The 18 standalone tools differ from the scoped 42-tool Hermes agent harness. Editing and GitHub operations belong to the agent integration, while the analysis MCP server supplies scans, navigation, source reads, and explicitly requested external analysis.

Configure an MCP client before using these calls.

onboarder_triage#

Read-only GitHub PR queue or exact-head inspection for this repository’s GitHub origin. Reuses CLI/web review, priority and evidence. No AI calls, tests, fetches, assignments or GitHub writes. Metadata-only priorities are provisional; missing checks stay unknown. Source patches require explicit includeSource.

Input schema#

json
{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Absolute path to the repository on this machine (for example /Users/you/code/my-app). The path returned by onboarder_scan is the one to reuse. Omit it to use the last repository scanned."
    },
    "action": {
      "type": "string",
      "enum": [
        "list",
        "inspect"
      ]
    },
    "number": {
      "type": "integer",
      "minimum": 1,
      "maximum": 2147483647
    },
    "page": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 30
    },
    "state": {
      "type": "string",
      "enum": [
        "open",
        "closed",
        "all"
      ]
    },
    "includeSource": {
      "type": "boolean"
    }
  },
  "required": [
    "action"
  ],
  "additionalProperties": false
}

onboarder_intelligence#

Refresh repository intelligence: architecture boundaries, measured coverage, packages, routes, journeys, knowledge freshness and optional semantic symbols. Retrieve revision-pinned evidence or compare exact Git revisions. Source excerpts require includeSource; otherwise read cited files with onboarder_read_file.

Input schema#

json
{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Absolute path to the repository on this machine (for example /Users/you/code/my-app). The path returned by onboarder_scan is the one to reuse. Omit it to use the last repository scanned."
    },
    "action": {
      "type": "string",
      "enum": [
        "scan",
        "evidence",
        "compare"
      ]
    },
    "question": {
      "type": "string",
      "maxLength": 4000
    },
    "base": {
      "type": "string",
      "maxLength": 200
    },
    "head": {
      "type": "string",
      "maxLength": 200
    },
    "semantic": {
      "type": "boolean"
    },
    "includeSource": {
      "type": "boolean"
    }
  },
  "required": [],
  "additionalProperties": false
}

onboarder_scan#

Scan a repository and return everything Onboarder knows about it: structure, entry points, hubs, cycles, dependencies, services, health, security, history and a written overview. Start here. The returned root is what every other tool takes as its path.

Input schema#

json
{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Absolute path to the repository on this machine (for example /Users/you/code/my-app). The path returned by onboarder_scan is the one to reuse. Omit it to use the last repository scanned."
    },
    "force": {
      "type": "boolean",
      "description": "Rescan even if this repository is already cached. Defaults to false."
    }
  },
  "required": [],
  "additionalProperties": false
}

onboarder_rescan#

Discard the cached analysis for a repository and scan it again. Use after changing files on disk, since every other tool answers from the cached scan.

Input schema#

json
{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Absolute path to the repository on this machine (for example /Users/you/code/my-app). The path returned by onboarder_scan is the one to reuse. Omit it to use the last repository scanned."
    }
  },
  "required": [],
  "additionalProperties": false
}

onboarder_overview#

The repository in one call: written summary, languages, entry points, the files everything depends on, dependency cycles, services, and what the scan is unsure about. Cheap, because it reads the cached analysis rather than scanning again.

Input schema#

json
{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Absolute path to the repository on this machine (for example /Users/you/code/my-app). The path returned by onboarder_scan is the one to reuse. Omit it to use the last repository scanned."
    }
  },
  "required": [],
  "additionalProperties": false
}

onboarder_architecture#

How the code is arranged: the dependency layers and which files sit in each, files nothing reaches, the architectural patterns detected (hub-and-spoke, cycles, god objects, layer violations), which folders import each other, and the services detected.

Input schema#

json
{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Absolute path to the repository on this machine (for example /Users/you/code/my-app). The path returned by onboarder_scan is the one to reuse. Omit it to use the last repository scanned."
    }
  },
  "required": [],
  "additionalProperties": false
}

onboarder_tour#

A guided reading order for a new contributor: the handful of files worth reading first, each with the reason it matters and how many files depend on it. The fastest way to understand an unfamiliar repository.

Input schema#

json
{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Absolute path to the repository on this machine (for example /Users/you/code/my-app). The path returned by onboarder_scan is the one to reuse. Omit it to use the last repository scanned."
    }
  },
  "required": [],
  "additionalProperties": false
}

onboarder_health#

Maintainability report: an overall score and letter grade, what the score is made of, and the riskiest files with their size, complexity, dependency counts and blast radius.

Input schema#

json
{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Absolute path to the repository on this machine (for example /Users/you/code/my-app). The path returned by onboarder_scan is the one to reuse. Omit it to use the last repository scanned."
    },
    "limit": {
      "type": "integer",
      "description": "Maximum number of results. Defaults to 20, capped at 200.",
      "minimum": 1,
      "maximum": 200
    }
  },
  "required": [],
  "additionalProperties": false
}

onboarder_security#

Static security findings from the built-in rules: hardcoded secrets, unsafe calls, injection patterns and the rest, ordered by severity. These are the built-in rules only — use onboarder_deep_analysis for the external scanners.

Input schema#

json
{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Absolute path to the repository on this machine (for example /Users/you/code/my-app). The path returned by onboarder_scan is the one to reuse. Omit it to use the last repository scanned."
    },
    "limit": {
      "type": "integer",
      "description": "Maximum number of results. Defaults to 20, capped at 200.",
      "minimum": 1,
      "maximum": 200
    }
  },
  "required": [],
  "additionalProperties": false
}

onboarder_history#

What git knows: commit count, contributors, and the files with the highest churn weighted against complexity — the change-risk hotspots, plus files only one person has ever touched and files that keep changing together without importing each other.

Input schema#

json
{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Absolute path to the repository on this machine (for example /Users/you/code/my-app). The path returned by onboarder_scan is the one to reuse. Omit it to use the last repository scanned."
    },
    "limit": {
      "type": "integer",
      "description": "Maximum number of results. Defaults to 20, capped at 200.",
      "minimum": 1,
      "maximum": 200
    }
  },
  "required": [],
  "additionalProperties": false
}

onboarder_dependencies#

The dependency inventory: languages, package managers, every declared dependency with version, category and documentation link, the project license with its compliance counts, and the CI workflows with their triggers and jobs.

Input schema#

json
{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Absolute path to the repository on this machine (for example /Users/you/code/my-app). The path returned by onboarder_scan is the one to reuse. Omit it to use the last repository scanned."
    }
  },
  "required": [],
  "additionalProperties": false
}

onboarder_explain_file#

Explain one file: its role in the codebase, what it imports, what imports it, its exports, its metrics, and a written summary. Set includeSource to get the file text as well.

Input schema#

json
{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Absolute path to the repository on this machine (for example /Users/you/code/my-app). The path returned by onboarder_scan is the one to reuse. Omit it to use the last repository scanned."
    },
    "file": {
      "type": "string",
      "description": "Repository-relative path, for example server/router.js."
    },
    "includeSource": {
      "type": "boolean",
      "description": "Also return the full file text. Defaults to false."
    }
  },
  "required": [
    "file"
  ],
  "additionalProperties": false
}

onboarder_explain_folder#

Explain one folder: what lives in it, which folders it imports, its entry points and hubs, and a written summary of what the folder is for. Pass an empty string for the repository root.

Input schema#

json
{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Absolute path to the repository on this machine (for example /Users/you/code/my-app). The path returned by onboarder_scan is the one to reuse. Omit it to use the last repository scanned."
    },
    "folder": {
      "type": "string",
      "description": "Repository-relative folder, for example server/mcp. Use \"\" for the root."
    }
  },
  "required": [
    "folder"
  ],
  "additionalProperties": false
}

onboarder_read_file#

The text of one file inside the repository. Paths outside the repository are refused, and files over 200 KB are refused rather than truncated. Optional startLine/endLine return up to 500 lines with line numbers and totalLines — use onboarder_search to locate the part you need. Symlinks and binary files are refused.

Input schema#

json
{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Absolute path to the repository on this machine (for example /Users/you/code/my-app). The path returned by onboarder_scan is the one to reuse. Omit it to use the last repository scanned."
    },
    "file": {
      "type": "string",
      "description": "Repository-relative path."
    },
    "startLine": {
      "type": "integer",
      "minimum": 1,
      "description": "First line to read, inclusive (1-based)."
    },
    "endLine": {
      "type": "integer",
      "minimum": 1,
      "description": "Last line to read, inclusive. At most 500 lines per range."
    }
  },
  "required": [
    "file"
  ],
  "additionalProperties": false
}

onboarder_list_files#

List the files in the repository, or in one folder. Filter by a substring of the path, by extension, and by whether the file is a test.

Input schema#

json
{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Absolute path to the repository on this machine (for example /Users/you/code/my-app). The path returned by onboarder_scan is the one to reuse. Omit it to use the last repository scanned."
    },
    "folder": {
      "type": "string",
      "description": "Repository-relative folder. Use \"\" for the whole repository."
    },
    "contains": {
      "type": "string",
      "description": "Keep only paths containing this text."
    },
    "extension": {
      "type": "string",
      "description": "Keep only this extension, with or without the dot, e.g. \"js\"."
    },
    "tests": {
      "type": "boolean",
      "description": "true keeps only test files, false excludes them."
    },
    "limit": {
      "type": "integer",
      "description": "Maximum number of results. Defaults to 20, capped at 200.",
      "minimum": 1,
      "maximum": 200
    }
  },
  "required": [],
  "additionalProperties": false
}

Search the repository the way the app's search palette does: bare words rank by relevance, and the full query language works too — path:, ext:, is:test, is:source, "exact phrases", -exclude, /regex/, and case: for case sensitivity.

Input schema#

json
{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Absolute path to the repository on this machine (for example /Users/you/code/my-app). The path returned by onboarder_scan is the one to reuse. Omit it to use the last repository scanned."
    },
    "query": {
      "type": "string",
      "description": "The search query."
    },
    "limit": {
      "type": "integer",
      "description": "Maximum number of results. Defaults to 20, capped at 200.",
      "minimum": 1,
      "maximum": 200
    },
    "caseSensitive": {
      "type": "boolean",
      "description": "Match case exactly. Defaults to false."
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}

onboarder_deep_analysis#

Run the optional external analyzers (semgrep, gitleaks, knip, and the rest) over the repository and return their findings normalized. Slower than the built-in tools, and it only covers the analyzers that are actually installed. Call onboarder_analyzer_status first to see which those are.

Input schema#

json
{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096,
      "description": "Absolute path to the repository on this machine (for example /Users/you/code/my-app). The path returned by onboarder_scan is the one to reuse. Omit it to use the last repository scanned."
    },
    "tools": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "semgrep",
          "gitleaks",
          "knip",
          "vulture",
          "depcheck"
        ]
      },
      "description": "Which analyzers to run. Omit to run every installed one."
    },
    "kinds": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "security",
          "dead-code"
        ]
      },
      "description": "Narrow to a purpose."
    }
  },
  "required": [],
  "additionalProperties": false
}

onboarder_analyzer_status#

Which external analyzers are installed on this machine, what each one is for, and how to install the ones that are missing. Takes no arguments.

Input schema#

json
{
  "type": "object",
  "properties": {},
  "required": [],
  "additionalProperties": false
}

Search guides, commands, and tool schemas.