Skip to content

Use the CLI

Use grcHero from AI agents

Let an AI agent in Claude Desktop, Claude Code or your IDE search, read and draft in your workspace, while people keep every decision.

On this page

Connect an app

grchero mcp runs a local MCP server on your computer and uses your CLI sign-in. Sign in with grchero login first and choose the project the agent works in with grchero project use "Payments API" (each tool also takes a project). Then add it to your app.

{
  "mcpServers": {
    "grchero": { "command": "grchero", "args": ["mcp"] }
  }
}

Note: Add --read-only after mcp to offer read tools only.

Allow it in your workspace

AI agents are off until an owner or admin turns them on. In the workspace, open Settings, AI agents and set AI agents connected through MCP (Off by default) to Read only or Read and draft. Every request names the agent, so the activity log shows what it did and for whom.

Start a project from your code

A project's checklist comes from a few questions about the system: what it is, the information it handles and what it includes. Your agent can answer them from the code, and you check the answers.

  1. Create the project

    In the workspace, create a project for the system, then choose it with grchero project use.

  2. Ask your agent

    Ask it to answer the project's grcHero questions. It reads them with project_questions, looks at the code and proposes answers with propose_project_answers, with a reason for each.

  3. Check and use them

    On the project, select Check answers. Change any answer that is wrong, then select Use this checklist. Or select Dismiss.

Note: Only a person sets the answers, because they decide which actions the project gets. They never decide which laws or frameworks apply.

What the agent can read

ToolWhat it does
workspace_infoYour workspace, the project in use, and whether AI agents may read or also draft
searchFind records whose title, name, code or description contains your words
list_records, get_recordList and read findings, risks, exceptions, change records, controls, frameworks, assets, vendors, reviews, incidents, documents, diagrams and more
my_work, list_projects, project_statusYour assigned work and each project's progress
list_checklist, get_checklist_actionA project's checklist, and one action in full with a brief written for an agent
project_questionsThe questions that shape a project's checklist, every choice and the current answers
waiting_for_a_personAnswers, proposals, diagrams and records an agent created that nobody has checked yet, each with its link
document_templatesThe guided document templates and their parts
questionnaire_questionsA questionnaire's questions, the current answers and which the agent may draft

What the agent can draft

Everything an AI agent writes is a draft until a person accepts it in the workspace. grcHero marks each record the agent creates as "Written by an AI agent, not checked" until a person checks it.

ToolWhat it leaves for a person
propose_project_answersAnswers to the project's questions, with a reason for each. The checklist does not change until a person checks the answers and uses them
propose_checklist_updateA proposal for a checklist action: where it stands, what was done, what is still missing and evidence, including documents it drafted. The action does not change until a person accepts it. With anything missing it is saved as in progress and shown as incomplete
save_agent_report, add_evidence_linkA report as a Markdown evidence file marked not reviewed, or an address as evidence (grcHero never opens it)
link_evidenceExisting evidence linked to a control, for review
propose_diagramA Mermaid flowchart. It becomes a diagram only when a person opens it in the editor, marked "AI draft, not reviewed"
draft_finding, draft_risk, draft_asset, draft_control, draft_vendorAn open record for a person to check
draft_incidentSomething the agent observed, always recorded as detected. A person leads the response
draft_change_record, draft_exceptionA draft a person submits; someone else approves
draft_documentA guided template filled in as a draft
draft_questionnaire_answerAn answer marked AI-assisted. Refused over an answer a person wrote, and while the questionnaire is with a reviewer or was accepted

What it never does

There is no tool to approve, accept, review, close, publish, delete or administer. Each record carries an open_in_workspace link that opens it directly, and the agent gives you that link after it saves something, so you can check it in one click.

No tool reads a file from your computer or takes an address to send data to. To add a file as evidence, run grchero evidence add FILE yourself. A report that looks like it holds a key or token is refused.

grcHero refuses any request from the MCP server that its tools do not send, and limits how fast an agent may call it.

Record text goes to the agent marked as data, not instructions, shortened when long, and at most 60,000 characters per answer. Nothing is sent anywhere but your grcHero workspace, and only what your role and the workspace setting allow.

Protocol

The server speaks MCP 2026-07-28 and the earlier versions back to 2024-11-05, over standard input and output.

grcHero CLI 0.7.3. Local checks, human review, verifiable evidence.