Skip to content

MCP tools ​

Misha registers one MCP server, misha, in your own Claude Code (user scope) and OpenCode. Its tools let you, or an agent in one of your sessions, check Misha, change its settings and pause it without opening the window. Every tool talks to the running Misha app, so a change made here has the same effect as the same change in the window or your self-DM, and each tool says so when the app isn't running. A Claude Code or OpenCode session started before Misha first ran lists the tools only after you restart it.

In Claude Code the tools are named mcp__misha__<tool>, in OpenCode just <tool>. The setup command, /misha-core:misha-setup in Claude Code and /misha-core/misha-setup in OpenCode, walks through setup with these same tools. No clone turn lists them and no worker profile grants them: they are for your own sessions.

The misha server also serves your Slack tools, worker tools and the connectors you added. This page covers only the tools that check and configure Misha.

The tools ​

ToolWhat it doesInput
misha_statusMisha's state: version, whether it is paused, open at login, the runtime the clone runs on with its model and sign-in, why the clone isn't running, the programs it found, the harnesses misha-core is installed in, the Slack accounts the browser extension reports (each with its accountId) and whether each account hears Slack.None
misha_read_settingsYour settings, the fields Settings and commands describes, with the revision a change is made against.None
misha_apply_settingMakes one settings change, or creates the settings once. Answers the settings before and after, or why the change was refused.mutation, expectedRevision (below)
misha_read_self_conversationThe id of your self-DM for one signed-in Slack account, which creating the settings needs.accountId, as misha_status names it: slack:<team>:<user>
misha_setup_probeWhat this Mac has, per capability: ready, action-needed or undetermined, each with a detail. It reads status only, never a credential.capabilities: one or more of claude-code, opencode, git, github, browser-extension, native-host, slack, clone-settings, always-on, connectors, each once
misha_activityWhat the clone is answering now, the workers still running (without their prompts), its latest 30 posts and outcomes, and whether Claude is out of usage or signed out.None
misha_pausePauses Misha: the clone stops answering and watching Slack, ordinary messages that reach it meanwhile aren't queued for later, and it tries to stop the clone's workers. Your self-DM commands still work, and your own sessions and their workers keep going.None
misha_resumeResumes Misha: it watches Slack again and continues what was queued before the pause.None
misha_set_open_at_loginTurns opening the Misha app at login on or off.isOn
misha_askAsks the clone a question, such as what it did today. The clone answers from its own memory with tools that only look, and starts no work: ask for work in your self-DM. It can take minutes.question, up to 4,000 characters

Control and maintain Misha explains what a pause stops.

Changing settings ​

misha_apply_setting takes one mutation, named by its type, and expectedRevision: the revision of the settings you last read, from misha_read_settings or from the settings the last change answered with. When the settings changed since (you changed them in the window or your self-DM), the change is refused with the settings as they are now, so you can check the change still fits and send it again with the new revision. This stops a change acting on something you didn't see, such as forgetting note 3 after the notes moved up. expectedRevision is null only for create.

A change takes effect as the same change in the window does (When a change takes effect). A change the settings can't hold, such as a folder that fails its check, is refused whole and nothing is saved.

typeFieldsWhat it changes
createdocument: the whole settingsCreates the settings for an account that has none. Get started does this for you.
set-iconiconThe clone's emoji.
set-personalitypersonalityHow the clone sounds.
set-routinesroutinesYour routines, replaced whole.
allowpeople: each personId and nameLets people ask the clone for work.
disallowpersonIdStops letting a person ask for work.
watchchannels: each conversation and name (or null)Has the clone read channels in full.
unwatchconversationStops the clone reading a channel in full.
set-rulepersonId, name, level: ignore or soft-ignoreIgnores or soft-ignores a person.
remove-rulepersonIdStops ignoring or soft-ignoring a person.
add-repositorypath, remote (host/owner/name, or null for none), canMergeLinks a folder of yours. Misha checks the folder and its remote first (Linked folders).
remove-repositorypathUnlinks a folder; the folder stays as it is.
set-mergingpath, canMergeLets workers merge pull requests in a linked folder's remote, or tells them not to. An instruction to the clone, not a lock (When a change takes effect).
remembertextKeeps your words as the next note.
forgetnumberForgets a note; the notes after it move up a number.
start-freshNoneThe clone's next message starts a new session.
set-runtimeruntime: claude-code or opencodeSwitches the runtime the clone runs on, which starts a new session there.
set-modelruntime, choice: model and effort (or null), or null for the defaultThe model and effort the clone thinks with on that runtime.
set-compact-at-tokenscompactAtTokens, or null for the defaultWhen the clone's session is compacted.
set-approvalgate: start-work or outgoing, isRequiredTurns one Require my approval switch on or off. It counts from the next thing Misha starts or sends.
set-connectorconnector, isOnAdds or removes a connector, as Add and Remove in the Catalogue do.
set-programprogram: opencode (GPT) or github, isOnAdds or removes a program for Extensions to check. It grants nothing.
set-unchecked-requestsisShownWhether Home also shows the Slack requests not checked yet.
describeNoneChanges nothing.

People and channels are named by their Slack ids, which your Slack tools in the same session can find. The colleagues' commands, hands off, hands on, pause and resume aren't settings changes here: pause with misha_pause and misha_resume, and send the others in Slack.

Examples ​

Each example is a made-up call an agent in Leo Novak's own Claude Code makes after reading the settings at revision 41. In practice you ask in plain words, such as "link my shop-backend folder for Misha", and the agent makes the call.

Link a folder, with the remote its pull requests go to:

json
{
  "mutation": {
    "type": "add-repository",
    "path": "/Volumes/Code/shop-backend",
    "remote": "github.com/shop/shop-backend",
    "canMerge": false
  },
  "expectedRevision": 41
}

Have the clone read #shop-backend in full:

json
{
  "mutation": { "type": "watch", "channels": [{ "conversation": "CSHOPBACKEND", "name": "shop-backend" }] },
  "expectedRevision": 41
}

Switch the clone to OpenCode:

json
{ "mutation": { "type": "set-runtime", "runtime": "opencode" }, "expectedRevision": 41 }

Pause Misha: call misha_pause with no input. It answers "Misha is paused: the clone and its Slack watching are stopped until it resumes, but for the owner's self-DM commands; your own sessions' Misha tools and workers keep working."