Servers
@create mcp is one form and three transports.

| Transport | You provide |
|---|---|
| HTTP | The endpoint. No credentials, or an optional OAuth client id for servers that do not register clients |
| Azure client credentials | Tenant id, client id, client secret, scope |
| stdio | Command, arguments, working directory, and env |
When Settings has environments or customers, the form asks for those too. A new server starts on the header choice. Changing only the environment or the customer does not require another test after the current values have already passed.
A new server runs on this computer. Connect, test, tool discovery, and sign-in use the target stored with that server. A stored WSL distribution is not replaced by this computer. The sign-in browser stays on this computer. A server stored for the invoking tab does not start when that tab is not ready.
Test connection must succeed before Save on a new server. When you edit a saved one, Save is enabled as soon as you change a field; testing first is optional. An HTTP server that answers 401 is not a form error. The test passes with “asks for OAuth sign-in”. Connecting or calling then says Run @mcp signin <server>.
mock://local tests and saves offline, with canned echo and ping tools.
Azure scopes and rejected tokens
Azure client credentials requests an app-only token with grant_type=client_credentials. Termorq sends Scope as entered, trimming surrounding whitespace. Use the MCP API’s registered resource identifier followed by /.default. For example, an API registered as api://00000000-0000-0000-0000-000000000000 uses:
api://00000000-0000-0000-0000-000000000000/.defaultThe resource identifies the MCP API. Client ID identifies the application requesting access; those can be different registrations. Copy the resource identifier from the API registration’s Expose an API page. Adding or removing api:// changes the requested resource. See Microsoft’s client credentials scope guidance.
If the MCP server rejects that token with 401, the test fails and reports a rejected Azure access token. Check the audience the server expects, the application’s API permissions and admin consent, and whether the server accepts app-only tokens. Browser sign-in uses the HTTP transport and @mcp signin <server>.
Run @logs after testing or connecting to inspect the full access token and its issuer, tenant, expiry, and audience. See Azure MCP access tokens for the fields and session-only storage.
Azure token failed (400): AADSTS501461 comes from Entra before Termorq contacts the MCP server. The resource application’s acceptMappedClaims configuration requires an audience matching its application GUID or a domain verified in that tenant. The API owner must check the requested resource, the API’s Application ID URI, and its claims mapping or application-specific signing key. A verified-domain URI could be https://contoso.onmicrosoft.com/my-api, with scope https://contoso.onmicrosoft.com/my-api/.default, if that URI is registered and accepted by the server. Do not add api:// to an arbitrary scope or disable claims mapping as a generic workaround. See Microsoft’s claims mapping configuration.
Connect this tab
@connect
@connect DocsQuick MCP picker. ⌘+T on macOS (Ctrl+Shift+T on Windows and Linux) opens a palette of the saved servers. Each row shows the server, how it runs (stdio command or HTTP address), whether it is connected, and its tool count and latency. A connected server lists its tools under it. The search box matches server names and tool names, so search finds every connected server with a search tool. Tick or untick servers, then Apply (or Enter) connects and disconnects them on this tab in one go; the button says what will happen, such as Apply · connect 2, disconnect 1. Connect… in the tab info row opens a shorter popover: one switch per server, recent servers first, and a link to the palette. Both use the same connection as @connect, and neither clears what you were typing.
@connect lists the saved servers in the prompt block and connects the current tab. It keeps any MCP servers already open on that tab. Other tabs keep their own servers. After a restart the tab remembers the names and shows off until you connect again, unless Connect when the app starts is ticked.
That tick box is in the server editor, off by default, stored as auto_connect. On launch the app connects those servers on the first tab in the background. A stdio server that names a shell variable waits for the first tab to export that name, then connects. If the name is still missing, that server is skipped. The scrollback gets one MCP auto-connected line. Servers that fail are named in a quiet notice. A server that needs sign-in says to run @mcp signin <server>. No browser opens at start-up.
Connect, Test connection, and a tool search that still has to open a stdio server read a Shell environment name from the active tab. If that name is missing, or the tab session changed, Termorq does not start the server.
The status strip lists connected servers as pills. It is the full-width row under the tabs. Hover a pill and confirm Disconnect? to drop that one. Esc cancels.
List, edit, export
@mcp
@servers@mcp and @servers open the same list in the prompt block. You can edit, duplicate, or delete. A blank secret on edit keeps the stored one. Tick rows to export a .aitmcp file, or import one. Import asks before replacing a server of the same name.
.aitmcp is encrypted (Argon2id, AES-256-GCM) and is MCP only. It stores each server’s environment id and customer id. The names and colours stay in Settings. The export password is at least 12 characters and is not stored.
Secrets (the Azure client secret, and stdio env values whose names look like secrets) go to the OS keychain. They are not written to yaml, the connections file, the scrollback, or the logs.
Stdio framing
Stdio servers speak newline-delimited JSON-RPC: one compact JSON message per line. Replies from older servers that use Content-Length headers are still read. Stray non-JSON lines on stdout are skipped.
What Pro termorq-cli does with a server
Pro termorq-cli mcp lists saved servers and does not connect. termorq-cli tools <connection> connects and lists that server’s tools. termorq-cli run of a collection skips tool steps. termorq-cli run --file can call tools, one MCP session per server, and a destructive tool needs --yes. Run a collection has the commands.
termorq-cli mcp --workspace ~/src/acme-apis
termorq-cli tools Docs --data-dir ~/Library/Application\ Support/termorqOn Linux the data folder is ~/.local/share/termorq. On Windows it is %APPDATA%\termorq. termorq-cli models and termorq-cli tools read that folder. They reject --workspace.