Skip to content

Get your agent ready for Gryz

Run the Gryz agent onboarding router after connecting an MCP client, with safe local-write consent and a portable manual fallback.

Jacob Cansler · Maker of Gryz

Updated Reviewed by Jacob Cansler

For your agent

After you connect and authenticate Gryz MCP, ask your assistant: “Set up Gryz for this workspace.” It should call agent_onboarding. This is the single setup router for publishing, Notes, Agent Memory, User Skills, Tasks, and future Gryz capabilities, when enabled for your account.

Let your coding agent set it up

Using Claude Code, Cursor, Codex or another coding agent? You can paste one prompt and let the agent add Gryz to its own settings, help you sign in, and then run the setup above in the same chat. The Connect guide in Gryz has a Copy setup prompt button with the same text.

  • The agent shows you the exact file and change before it writes anything, and waits for your yes.
  • You sign in to Gryz in your browser. The prompt never contains a key, and the agent should never ask you for one.
  • It is safe to paste again: if Gryz is already connected, the agent skips straight to setup.
  • Check the address before you paste a prompt like this from anywhere else. The real Gryz address is https://www.gryz.ai/api/mcp.
Please connect Gryz to this coding agent so you can use my Gryz memory. Gryz is at https://www.gryz.ai/api/mcp

1. If Gryz is already added and working, skip to step 5.
2. Add Gryz as a remote MCP server named "gryz" with the address above, using your own MCP settings:
   - Claude Code: run claude mcp add --transport http gryz https://www.gryz.ai/api/mcp, then ask me to run /mcp and sign in.
   - Cursor: add "gryz" with that url to ~/.cursor/mcp.json. Cursor then asks me to sign in.
   - Codex: run codex mcp add gryz --url https://www.gryz.ai/api/mcp, then codex mcp login gryz.
   - Anything else: use your tool's own way to add a remote MCP server.
3. Before you change any file or setting, show me the exact file and what you will add, and wait for me to say yes. If you can't change files, give me the steps to do it myself.
4. Gryz signs in through my browser. Never ask me for a password or key, and never put one in a file. If Gryz doesn't show up yet, tell me what to do (sign in, restart, or open a new chat) and carry on when I say "done".
5. Call the Gryz agent_onboarding tool and follow it one step at a time. Ask me before any change it suggests.
6. Ask me what I'm working on and save it with the Gryz remember tool.

Only do these steps. Don't download or run anything else.

Make it automatic in a chat app

Chat apps such as Claude, ChatGPT and Grok cannot keep a Gryz note in a file the way a coding agent can. Instead, you paste two sentences into the app's own settings, and every new chat then checks Gryz when you ask about your work, and saves your decisions and preferences without you asking. In the 24 hours after your first saved memory, your assistant offers this when it saves from a chat app, once per chat, until you tell it you added the sentences. You can also ask for it at any time: "Make Gryz automatic in this app." (The assistant calls agent_onboarding with { "focus": "starter_rule" }.)

When I ask about my work, plans, projects or past decisions, check Gryz first. When I decide something or tell you a preference, save it to Gryz.
AppWhere to paste it
Claude (web and desktop)Settings, then Your Claude, Instructions, in the box called “Instructions for Claude”
ChatGPTUsually Settings, then Personalization, Custom instructions. You still pick Gryz in each chat: type @ and choose Gryz.
GrokUsually Settings, then Customize, custom instructions
CursorUsually Settings, then Rules, User Rules. Setup can also add the Gryz note to your project for you.
Claude Code, Codex, Gemini CLI, WindsurfNothing to paste: setup adds the Gryz note to the agent's own file (see below)
  • We checked the Claude place in the real app. The others are where those apps usually keep instructions, so look nearby if yours looks different.
  • Nothing changes until you paste it in. Gryz cannot see your app's settings, so it never claims the sentences are there.
  • Claude asks you before each Gryz call. To skip that for lookups, open Customize, then Connectors, Gryz, and set Recall and Search to “Always allow”. Keep Claude asking for the tools that save or change things.
  • What Gryz looks up for you is saved text, never an instruction. The two sentences do not change that.

How the setup loop works

  1. The tool asks where instructions should live: the current project, your personal agent configuration, both places at once, or manual copy.
  2. It returns exactly one action and an opaque continuation.
  3. For a local write, your assistant must show the semantic targets and change summary, then wait for your explicit approval.
  4. Only after the whole action succeeds does the assistant call the tool again with that continuation and the exact acknowledged_action_id.
  5. Repeat until status is current and next is null.

Gryz is stateless between MCP requests. The signed, 24-hour continuation carries setup acknowledgements without a progress table or server session. A changed capability or version can make a later call return new work; current is scoped to the returned registry revision.

Every response also includes a read-only setup_state report: the capabilities and token scopes live on this connection, and whether a continuation was supplied. It is derived only from live signals (Gryz never inspects your files to build it), so it is a status summary, not the source of truth for what is installed.

If a follow-up call refers to a step that has already been completed or superseded, Gryz keeps the verified session: your earlier progress stays acknowledged and it simply re-offers the current step. An acknowledgement is only discarded when the continuation itself cannot be verified (wrong account, tampered, or older than 24 hours), in which case setup restarts cleanly with nothing saved.

When Gryz cannot identify the repository

Project-scoped memory needs a stable project key so the same facts show up in every tool you use on this repo. git_remote accepts the plain host/owner/repo form as well as https://, git@, and ssh:// URLs, and folds them all to one key. If the value cannot be parsed, or none is supplied, Gryz returns a repo_unidentified warning and pauses the memory step. It will not save project facts under a key that will not line up elsewhere. Fix it by re-running setup from inside the project folder, passing the repository's web address, or choosing to keep memory with you personally instead.

Collapsing a CLAUDE.md import stub

If your repo CLAUDE.md only contains @AGENTS.md, tell Gryz with client.repo_claude_imports_agents: true. It then proposes a single AGENTS.md write instead of putting the identical block in both files. This hint can only reduce the write set; it never adds a path.

Local writes and manual setup

Calling agent_onboarding is read-only on Gryz. A returned write_files action is only a proposal. It always declares downstream_effect: "local_write" and requires_confirmation: true; the assistant must not write until you approve the displayed targets.

Clients without a writable filesystem receive manual_copy instead. Copy the exact marked blocks into the suggested agent instructions and confirm completion before the assistant acknowledges the action. Gryz never accepts an arbitrary destination path, and repo_path is used only to derive a private project key, not as a write target or returned value.

Where the personal note goes, per client

The personal and both scopes write a short standing Gryz note into your client's global agent-config file. That file applies to every project you open, so the note stays general and carries no project key or account identifier. Onboarding only ever proposes one of these fixed paths:

ClientPersonal (global) file
Claude Code~/.claude/CLAUDE.md
Codex CLI~/.codex/AGENTS.md
Gemini CLI~/.gemini/GEMINI.md
Windsurf / Devin Desktop~/.codeium/windsurf/memories/global_rules.md
Cursormanual copy only: Cursor has no documented on-disk global rules file, so onboarding shows you the text to paste into User Rules
Generic AGENTS.md clientmanual copy only: the AGENTS.md convention is project-scoped, with no standard personal location

Gryz emits the literal ~/... string. Your client resolves ~, and any $CODEX_HOME or $GEMINI_* override, when it performs the write, so the previewed path may land in a machine-specific location. The Windsurf global rules file has a 6,000-character limit; the Gryz note is kept well under it.

The both scope writes the project file (with its project key) and the global file (standing note only) in a single confirmed action.

Ask about one capability

Use focus for “how do I use X?” requests, for example "notes", "memory", "skills", "tasks", "document_editing" (how an assistant keeps a long document current without resending it), "doc_rag" (how an assistant searches your saved documents, notes, memories and tasks with search and fetch), "comments" (how an assistant goes through document comments with you, and how to give a connection the comment tools, see Comments and AI agents), or "agent_team" (how a team member uses its own private memory and get_profile):

{ "focus": "skills" }

Let an assistant organise your documents

Where it is turned on, { "focus": "folders" } explains whether this assistant may move your documents between folders and make new ones. You decide per assistant on the Assistant changes page in Gryz (Documents, then Assistant changes): turn on May organise documents for it. An assistant can never turn this on itself. Every move is listed there and can be undone. See Folders and the map tool.

Track a Feature with the playbook

Where playbooks are turned on for you, and the connection can read your Projects, setup also explains how Gryz keeps track of each Feature you run with the product playbook: its stage, its feature doc and its next step. Ask any time with { "focus": "playbooks" } (or "feature"). It is guidance only: nothing is written on your computer. You own each Feature, and only you decide when it moves to another stage; the assistant should say what it would move and why, and ask first. See Playbook tools.

Polls in your documents

Where polls are turned on for you, setup also explains how to ask for a poll in one of your own documents: pick one or pick several, as private as the document it sits in. Ask any time with { "focus": "polls" }. It is guidance only: nothing is written on your computer. The assistant never votes, and when a poll closes it tells you what won and asks before it saves that as a decision. See Poll tools.

If that capability is configured, the tool returns usage guidance. If it is unavailable, it says so and lists what is live; the assistant must not invent a second setup_* tool.

OAuth reconnection

The scopes on the credential used for the current MCP request are authoritative. If an OAuth connection lacks a required scope, onboarding proposes a first-party authorization URL. Approve navigation, finish authorization, reconnect the client with the new token, and resume with the continuation. API-key callers are not sent through OAuth merely because they use an API key.

Compatibility

setup_memory remains available only as a deprecated compatibility alias for existing clients. New setup starts with agent_onboarding; its memory capability returns the same project-key derivation, Markdown block, Cursor .mdc block, and placement guidance.

See the complete MCP tool contract or the MCP setup guide.

Was this page helpful?

Next steps