Connect a tool server
A tool server is any program or web service that speaks the Model Context Protocol (MCP). Once connected, a Mishu can use its tools when it plans and runs a Task. Tool servers are for Tasks. Live calls do not use them yet.
You add and manage them in the Mishu app under Settings → Tool servers, or
with mishu tools on the command line. Nothing here needs an OpenAI key.
#Add a server
On this Mac (stdio). Mishu starts the program when it needs it.
| Field | What to enter |
|---|---|
| Command | The program, for example npx or a full path. |
| Arguments | One per row. Spaces and quotes inside a row are kept exactly as typed. |
| Environment variables | Name and value, for example an API key the program reads. |
By web address (remote).
| Field | What to enter |
|---|---|
| Web address | The server's MCP URL. |
| Access token | Only if the server gave you one. It is sent as Authorization: Bearer …. |
| Headers | Any extra headers sent with every request. |
If the server asks you to sign in, its row shows Needs sign-in and a Sign in button. Leave the access token empty in that case.
Mishu tries the current streamable HTTP transport first. If a server refuses it with a client error (404, 405 or similar), Mishu falls back to the older SSE transport and shows which one it is using next to the server.
#Sign in with your browser
Remote servers that support MCP OAuth use authorization code with PKCE and dynamic client registration:
- Press Sign in. Mishu opens your browser on this Mac.
- Approve access on the server's page. The browser returns to a one-time
address on
127.0.0.1that only this Mac can reach. - Mishu checks the
statevalue, exchanges the code, stores the tokens, and connects. Tokens are refreshed automatically. If a refresh fails, the row shows Sign-in expired and you press Sign in again.
A sign-in that is not finished within five minutes is cancelled. Mishu never starts a sign-in on its own, and never during a call.
#Where secrets are kept
Access tokens, headers, environment variables and OAuth tokens are encrypted
with the macOS Keychain (Electron safeStorage) before they are written to
tool-servers/secrets.json in the app's data folder. Files written by earlier
versions are encrypted the next time the app starts. If encryption is not
available on a machine, the files stay readable only by you (mode 0600).
Secrets are never returned by the app, the API or the command line, and never
appear in the activity log.
#Choose what each tool may do
Open a server to see its tools. For each tool, pick what happens when a Task wants it:
| Choice | Meaning |
|---|---|
| Runs without asking | The tool can run while a Mishu plans, with no approval. Not available for destructive tools. |
| Asks you first | The tool goes into the Task plan and waits for your approval. |
| Never use | Tasks cannot use the tool at all. |
Defaults: a tool the server marks readOnlyHint is treated as a read and runs
without asking, and shows Read-only (from the server). Every other tool
asks first. A tool the server marks destructiveHint, or whose name starts with
delete, remove, drop and similar, always asks and cannot be set to run without
asking. Mishu does not apply the MCP default of "destructive unless stated":
a tool with no hints at all is treated as an ordinary action that asks first.
When a server changes a tool's description or inputs, Mishu treats it as a new version: "Runs without asking" is reset to "Asks you first" until you allow it again, while "Never use" and "Asks you first" carry over. Open Task plans that used the old version are sent back for approval.
Tool output is untrusted text. Mishu passes it to the planner as data, never as instructions.
#Choose which Mishus may use a server
A new server is off for every Mishu. Open a Mishu, go to What it can use, and tick the server under Tool servers. Servers connected before this choice existed stay on for every Mishu, so nothing changes until you untick them.
#Use during calls
A connected tool can also be used by a Mishu during a live call. This is off for every tool and every Mishu until you turn it on. Open a Mishu, go to What it can do, and under Tool servers pick a state for each tool:
- Off (default): the Mishu cannot use the tool on a call.
- Asks you first: the Mishu asks you before each use, in the same approval sheet as booking. If you do not answer in time, nothing runs. The usual exceptions apply: a call started by a Full control key's Task, and the owner-only Auto-approve switch for in-call writes.
- On, no asking: the tool runs at once. Not available for destructive tools, which always ask every time, whatever else is on.
A tool set to Never use is never offered. A tool is offered on a call only when its server is connected when the call starts; Mishu never waits to connect during a call. When a tool changes, "On, no asking" falls back to "Asks you first" and the Mishu needs your OK again.
On a call, each tool has 8 seconds to answer and at most 10 external tool calls are allowed per call. If a tool is slow or fails, the Mishu tells the caller it cannot look that up right now and offers to take a message; the caller never hears the tool's error text. The answer is passed to the Mishu as information only (never as instructions), cut to about 2,000 characters, and anything that looks like a token or secret is removed first.
Each use is written to the activity log as copilot.tool.called or
copilot.tool.failed with the server, the tool, how long it took and the
outcome. Arguments are redacted. Changing the setting is logged as
tool_server.call_use_changed.
While your kill switch is on, connected tools are not offered to new calls, and a call already in progress is refused (with no approval sheet) the moment it is switched on; booking and other write tools stop too, while reading open times, taking a message and ending the call keep working.
Tool servers during calls work only for Mishus that run on this Mac. A Mishu in the cloud cannot use them.
#Command line
mishu tools list # servers with status, transport and tool count
mishu tools add --name Files --command npx --arg -y --arg @scope/files-server --env API_KEY=…
mishu tools add --name Notes --url https://example.com/mcp --header X-Team=blue --token-stdin
mishu tools test <server> # connect and list its tools
mishu tools sign-in <server> # start the browser sign-in; finish it in the Mishu app
mishu tools set-risk <server> <tool> auto|ask|never
mishu tools call-use <server> <tool> --mishu <name|id> off|ask|auto # use during calls
mishu tools list --mishu <name|id> # also shows each tool's state during calls
mishu tools enable <server> --mishu <name|id>
mishu tools disable <server> --mishu <name|id>
mishu tools remove <server>
<server> is the id or the name. Pass an access token with --token-stdin,
never on the command line.
Adding a server, signing in, and setting a tool to auto (also call-use … auto) need the owner or a
Full control key. Any other key gets SCOPE_DENIED. Each change is written to
the activity log (tool_server.added, tool_server.risk_changed,
tool_server.mishu_access_changed, tool_server.call_use_changed) without any secret values.
#Only add servers you trust
A stdio server runs a program on your Mac with your permissions. A remote server can describe its tools however it likes. Add only servers you trust, give them the narrowest access token they allow, and leave anything that changes data on "Asks you first".