Extensions#
Extensions connect Brain and its Workers to services you use: Linear, Notion, GitHub, Slack, Cloudflare, Tailscale, AWS, Google Cloud, Google Workspace, Onlora for generating and finding assets, Hyperliquid for markets and trading, Agent Mail for email addresses of your agents' own, and your own MCP or OpenAPI services. Extensions are a preview.
To open them, tap the cat, then Extensions. The page groups services as Connected, Needs fixing, From your agents and Available.
Connected accounts belong to the current computer. Switching computers shows that computer's accounts and never moves an account between computers.
Connect a service#
- Tap the cat, then Extensions.
- Tap Connect on the service's row under Available.
- Sign in on the service's own page and approve Mewla.
- You land back on Extensions with the service Connected. Brain can read and search it right away.
The card at the top of Extensions follows the sign-in: Waiting for Linear while you are on the service's page (with Open Linear again and Cancel), then the result. It adds nothing while you wait. After a connect it offers Allow changes too; you can skip it and allow changes later on the service's page.
From the web UI, the service returns your browser tab to the web UI's own Extensions page. From the phone app it returns to the app. A sign-in that comes back after Mewla restarted, or a second time, lands on Extensions saying it expired: tap the service's Connect to start again.
If a sign-in comes back without connecting, the card names the step that
failed: the service didn't complete sign-in, didn't accept it, its tools
couldn't be loaded, or this computer couldn't save the account. The daemon log
has a matching plugins: line with the cause, never a credential. Connect again
after fixing the cause.
For GitHub, Mewla shows a device code in large type; tap Copy code and open
GitHub and enter it on GitHub's page. You can also choose Use the GitHub
login on this server, which imports the account the GitHub CLI (gh) is
signed in to on your computer. Mewla shows the identity first and copies it only
after you confirm.
GitHub's tools are GitHub's own: Mewla connects to GitHub's official MCP server
(api.githubcopilot.com/mcp/) with that same token, so the tool list, the
descriptions and the arguments come from GitHub and follow its releases. Mewla
serves the repository, issue, pull request, user, Actions, code scanning,
Dependabot and organization tools (54 of GitHub's roughly 120), and reviews each
one as a read or a change: reads are on after sign-in, every change (merging,
pushing files, creating issues, triggering a workflow) is off until you allow it.
GitHub's server has no tools for self-hosted runners, repository or organization
secrets and variables, webhooks, environments, or creating a release; do those
by hand on GitHub or with gh. When GitHub changes a tool you had allowed, it
waits for your confirmation like any other updated tool.
When a remote service (GitHub, Linear, Notion and the other MCP services) cannot be reached, Mewla treats it as one outage, not one error per attempt. It tries the setup once more at once, then backs off (5 seconds, doubling to 5 minutes) while background readers such as Watch fail without touching the network; one attempt per backoff step finds out whether the service is back. After three failed attempts in a row the account shows Unavailable with the real reason (for example "connection timed out" or "the service answered 503 Service Unavailable") and Check now, and it clears by itself once the service answers. The daemon log gets one line when the outage starts and one when it ends. Your own and Brain's calls are never held back by the backoff, and a refused sign-in is never an outage.
There are no tokens, client IDs or callback URLs to type for sign-in services.
Sign-in availability#
First-time sign-in is not yet available for every service, because some need Mewla's own app registration with the provider:
| Service | Sign-in | From the web UI |
|---|---|---|
| Linear | Official browser sign-in | Returns to the web UI's Extensions page |
| Notion | Official browser sign-in | Returns to the web UI's Extensions page |
| Onlora | Onlora's sign-in, by email link; a new Onlora account needs an invite code | Works when the web UI is on an https:// address or on this computer (http://localhost or http://127.0.0.1), and returns to its Extensions page |
| Cloudflare | Cloudflare's official MCP server (mcp.cloudflare.com). Its page asks which permissions to grant, Read only unless you choose more. Cloudflare accepts only web addresses, so from the phone app it returns through Mewla's page at connect.mewla.ai, which hands the result straight back to the app |
Works when the web UI is on an https:// address or on this computer (http://localhost or http://127.0.0.1), and returns to its Extensions page |
| Tailscale | One tap: Mewla opens the Tailscale admin console in your signed-in Chrome on the computer and creates an OAuth client named Mewla there, then keeps its ID and secret in the computer's vault. If Chrome isn't ready or isn't signed in to Tailscale, Extensions opens the console's Trust credentials page and you paste the client secret | Same flow; the paste field is on the Extensions page |
| AWS | Local AWS CLI profiles. Sign in remotely and paste the code; Mewla maintains the official CLI automatically | Phone and web manage the same profiles on the current computer |
| Google Cloud | Remote browser sign-in through gcloud; paste the authorization code | Local accounts and configurations, shared with the CLI; automatic Linux and macOS SDK updates |
| Google Workspace | Gmail, Calendar and Drive through Google's own gws CLI. Connect asks once for a Google client (below), then signs in with Google; paste the address the browser ends on |
One account, shared with the CLI; Mewla installs a checksum-pinned gws in one tap |
| Remote MCP | The service's own sign-in, or a token | Returns to the web UI's Extensions page |
| GitHub | Device code, or import from gh |
Code page opens in a new tab; Extensions updates when you're done |
| Slack | Official Slack sign-in, in any Slack workspace. Your workspace may ask an admin to approve Mewla first. Needs this computer signed in to your Mewla account: Mewla's account service redeems and renews Slack's sign-in for it | Slack accepts only Mewla's page at connect.mewla.ai as its return address. On this computer (http://localhost or http://127.0.0.1) that page sends the browser straight back to Extensions. From any other web address it shows an address instead: copy it, paste it into the sign-in card in Mewla and choose Continue |
| Hyperliquid | No sign-in and no setup to read; one API wallet key you paste to let Brain trade | Works everywhere; the key field is on the service's page |
Why Slack's return is not forwarded to every web address: the page at
connect.mewla.ai receives a Slack code that only the Mewla that started the
sign-in can redeem. If the page forwarded it to whatever address a link names,
an attacker could start a sign-in on their own computer, send the Slack link to
you, and receive the code you approve. So it forwards only to a loopback
address, which only your own computer can reach, and otherwise shows the code
for you to paste into your own Mewla. It never passes the code to another page
in the browser either.
A service that cannot be connected yet shows Not yet available with a short reason. Accounts you already connected keep working.
Some services were retired: Google Calendar and Gmail with Mewla's own Google
sign-in, the first Google Workspace extension, fal and Image generation. When
Mewla starts it signs out of any such account still connected and deletes the
account and its saved token. Google Workspace today runs through Google's own
gws CLI (below), Onlora generates images, speech and
video, and Mewla's own Calendar was never an extension.
What Brain can do#
Tap a service's row to open its page. Its accounts are listed there the same way for every service: one row each with its name and status, and a lone account starts open. Tap a row to open that account's controls, two of them switches:
- Read and search: on after sign-in.
- Make changes when asked: off until you turn it on. If the service only granted read access, the switch is an Allow button instead: the service asks you once more, then the switch is on.
Watch reads GitHub and Linear through these same switches: it uses only read tools you allow, and its reads don't show up as recent calls.
Tools & activity lets you allow or block single tools, inspect a tool's schema, run a status check and see recent calls. Every switch takes effect on the tap, with no confirm. The tools are one list: All tools leads it with a switch over every tool, and each group (Read and search, Make changes, and Other tools that Mewla hasn't reviewed) starts with a row holding its own switch. A partly allowed list reads off, with its count beside it: a tap allows the rest, and once all are on a tap turns them all off. When the service still has to approve changes, All tools leaves them off and reads on once everything else is allowed; turning on Make changes asks the service first.
A service can add or change its tools at any time. For an MCP service, Mewla
reads the list again on every call, when it announces a change, when you open
the service's page or Brain describes a tool (at most once a minute), and
whenever Brain asks for updates. Tools that did not change keep working. A new
tool, or a new version of a tool you had allowed, waits for you: Extensions and
the service's page show confirm-updates command that
clears every waiting update on the account, never a sign-in error, and the
account stays Connected. A changed tool you had blocked stays blocked
without asking, and a tool that changes back to the version you allowed needs
nothing. A tool the service removes leaves the list and loses its permission.
Permission is not an instruction. Even with changes allowed, Brain should send messages or update records only when the task you gave it calls for that. Writes are never retried automatically.
An account's status is Connected, Needs sign-in again, Unavailable, Last call failed or Off. A service with an account that needs something is under Needs fixing, and the account's card on the service page shows one action: Reconnect when sign-in expired, Check now while the service can't be reached, Check again after a failed call, or Retry when removing its credentials did not finish. An account that is off is turned back on with its own switch. A dropped connection, a timeout or a 5xx from the service never changes an account's status: it goes to the account's history, and the account stays Connected until the service refuses it. Any later call that gets through clears a failure mark by itself. When a service stops renewing an account's sign-in, Chat also says so once, naming the account.
To add a second account, use Add another Linear account (named for the service) at the bottom of the service's page. It is the same sign-in as Connect.
Turn a service off#
Each account on a service's page has an on/off switch. Off hides every tool of
that account from Brain and Workers: mewla connections search skips it, and
describe and invoke refuse it. The sign-in, Read and search, Make changes
and per-tool choices stay as they were, so turning it back on restores the same
tools. Extensions shows the service as Off when every account on it is off.
Disconnect#
On the service's page, tap Disconnect on the account and confirm on the same card. (Hyperliquid's mainnet account has none; it is switched off instead.) Mewla disables the account first, so later calls fail even if revoking it at the provider needs a retry. Some providers do not support revocation from Mewla; in that case also remove Mewla's access in the provider's settings.
Your own services#
Remote MCP adds an MCP server and OpenAPI adds an OpenAPI 3 service, by its address or document. Custom endpoints must be public HTTPS by default. To reach a service on your own network, turn on Allow a private network in the form and give that account its address ranges; cloud metadata and link-local addresses are always refused. Your own services get no automatic permissions: after connecting one, choose its tools.
From your agents#
Below Mewla's own services, From your agents lists what each agent (Claude Code, Codex and the others) installed itself: one row per agent with its plugins and Skills, such as "Codex · 6 plugins · 34 Skills". Skills shared by several agents are listed once, under Shared. Tap a row to see them. From a Skill you can delete the copy you opened, and from a plugin uninstall it, after you confirm; built-in copies and copies owned by a plugin are protected. See Your agents' plugins and Skills.
Cloudflare#
Cloudflare's MCP server covers the whole Cloudflare API with a few tools: search finds an API endpoint, docs searches Cloudflare's docs, and execute calls the API. Read and search covers search and docs. Execute sits under Make changes when asked, so turn that on before Brain reads anything from your account, and it can only do what you granted on Cloudflare's page; to grant more, disconnect and connect again, choosing more permissions there.
Slack#
Slack connects through Mewla's own Slack app, signed in as you. Its sign-in asks to read public channels, private channels, direct messages and group DMs, to search, and to read the files people share in them; sending and editing messages are asked for only when you allow Make changes when asked. Brain reads what you can read, nothing more.
Read and search covers listing conversations, reading a channel or DM, reading
a thread with its replies, searching messages, and get_file. A message
lists each file's ID, name, type and size; get_file downloads one (by its ID or
its files.slack.com address) into a private folder for that account in
Mewla's state on the computer (slack-files/<account>), up to 50 MB, and
returns the local path, so Brain opens a screenshot with its own image reader
and a PDF or text file the usual way. Slack's token goes only in the request's
Authorization header, never in an address, a log line or a tool's result.
Each download clears that account's files older than seven days.
send_files (a change, so it needs Make changes when asked) posts files
from this computer to a conversation as one message: up to ten files of any
type Slack accepts (images, PDF, documents, audio, video, archives), up to
1 GB each, optionally into a thread and with a message. Each file is named by
its absolute path, keeps its own file name and type unless Brain gives
filename or mimetype, and streams to Slack's upload address without being
loaded into memory; the token goes only to Slack's API. Inside Mewla's own
state folder only its content folders may be sent: Brain's workspace and
worklog, files get_file downloaded, artifacts, uploads, session scratch and
worktrees. The rest of it (sign-ins, keys, certificates, connection state,
logs) is refused, including through a link. Sending files asks Slack for
files:write along with chat:write.
An account connected before Mewla read files and private conversations shows Reconnect to read files and DMs with one Reconnect: Slack asks you once more for the new permissions, and the account keeps its ID, its name, its switches and each tool you allowed or blocked. Signing in to the same Slack account again, even after disconnecting it, renews that card instead of adding one; signing in to another workspace from a card's Reconnect adds that workspace. A card an older Mewla left behind (the same workspace and user, disconnected next to a working one) is folded into the working one when Mewla starts, and its old ID keeps reaching the account, so Triggers and notes that named it still work. Until then it reads public channels as before, and Brain is told plainly to ask you to reconnect when it asks for a file or a thread. An account that already makes changes but was connected before Mewla sent files shows Reconnect to send files; its messages keep working, and only send_files waits for the Reconnect. If Slack approves the sign-in but leaves a permission it was asked for out of the grant (a workspace's app rules can do this), the card says Slack didn't allow sending files (or reading files and DMs) instead, and the account's history names the scope Slack left out. Reconnect again once the workspace allows it.
Slack's own hosted MCP server is not used: it accepts only apps listed in the Slack Marketplace or internal to one workspace, and has no tool to edit a message.
Agent Mail#
Agent Mail gives your agents email addresses of their own, so a Worker can sign
up for a site and read the code or link it sends without your inbox. It is not
your mailbox and does not connect to one (that is Google Workspace), and it is
Mewla's own service on mewlamail.com, not connected to any other email
service. Tap Turn on on Agent Mail's row; there is nothing to fill in. A
computer not yet signed in to a Mewla account shows a sign-in code first (the
same sign-in Friends uses), then Agent Mail turns on. One approval is enough:
if the computer cannot reach Mewla for a while, the code stays up, the page says
so, and the sign-in finishes once it gets through.
Addresses are on mewlamail.com, such as signup-ab3k9q@mewlamail.com, and
belong to the computer that made them: only that computer receives and reads
their mail. They receive only; nothing can be sent from them. An address is
open seven days unless the agent asks for up to 90, and it goes with the
Session that made it: when that Session ends, its addresses are released, as
its scratch is, unless the agent kept one (keep), which holds it until its
date. A released or closed address refuses new mail and is never given to
anyone else.
Agents use it with mewla mail (see Commands) or the
Extension's tools: create_mailbox, wait_for_mail (returns at once if
the mail is already there, otherwise waits up to ten minutes), list_mail,
read_mail, list_mailboxes, keep_mailbox and release_mailbox.
A message comes back with its text, the codes and links it most likely carries,
and its attachments. A message is from a third party: Mewla marks every message
that way, and agents are told its text is data, never instructions.
Agent Mail's page shows the current computer's addresses with what each is for, how long it stays open and its unread mail, and follows them while it is open: an address an agent makes and the mail it receives appear by themselves, and when unread mail comes in, the cat at the top comes up with a letter in its mouth. When Agent Mail is off, the page offers Turn on; when the computer is signed out of its Mewla account, it reads Needs sign-in again and offers Sign in (so does its row in Extensions); when Agent Mail's service can't be reached, it reads Unavailable and keeps trying by itself. Tap an address to see what it received, and a message to read it, copy a code or open a link. Release closes an address for good. Turning Agent Mail off, or disconnecting it, releases every open address at once: nothing keeps arriving while it is off. What was received stays on the computer for its 30 days.
What is kept: Agent Mail's service holds a message only until your computer
fetches it, usually within seconds, and at most 24 hours. For each address it
keeps the address, its account and computer, and when it was made, closes or was
released; 30 days after the address closes it forgets the account and computer
and keeps only the bare address, so it is never given out again. Its logs record sizes and addresses, never subjects or text. On the
computer, mail is kept in Mewla's state (mail/) for 30 days, and a released
address's mail 30 days after release. See Security and privacy.
Limits per account: 50 open addresses, 10 MB a message, 200 messages per address per day, 200 MB waiting to be fetched.
Tailscale#
Tailscale has no sign-in that works across tailnets, so Mewla connects with an
OAuth client, which belongs to your tailnet, doesn't expire, and gives out
one-hour access tokens. Connect creates it for you in Chrome; nothing is
typed or copied, and there is no tailnet to choose. Mewla never types your
password and stops if the console asks for a captcha or a second factor.
Without a ready Chrome, create the client yourself on the Trust credentials
page, named Mewla, and paste its client secret
(tskey-client-…, which carries the ID). The CLI does the same:
mewla connections connect --integration tailscale (add --dry-run to go as far as the Generate credential button and report what the page showed, creating nothing), or
mewla connections add --integration tailscale --credential-stdin.
The client is given custom scopes: Write on Devices (Core, to delete, rename, expire and tag devices, and Posture Attributes, which Tailscale requires for policy editing), Keys (Auth Keys), and General (Policy File and DNS); and Read on Users, Services, Routes, Device Invites, API Access Tokens, Webhooks, Log Streaming and Audit Logs. Tailscale offers an all-reads preset only without Write, so reads are listed one by one and APIs Tailscale adds later are not covered until you reconnect. Tailscale may ask for a tag on the device and key scopes; if it does, the client carries the first tag your tailnet has. Tailnet management, OAuth and federated keys, and All are not requested. To change what Mewla can do, revoke the client in Trust credentials and connect again.
Tailscale's whole API is open through three tools driven by its official OpenAPI document (kept in Mewla's state on the computer and refreshed weekly): search finds an operation, read calls a GET operation, and execute calls any operation. Read and search are on once connected. Execute sits under Make changes when asked; deleting or renaming a device, changing policy or DNS, and creating or revoking auth keys also need your say-so for the task.
AWS#
Extensions shows the profiles from the current computer's AWS CLI, including
login sessions, SSO, static keys and credential processes. Each card shows its
kind, status, account ID and alias when available. Refresh to pick up profiles
added or removed in a terminal. The list appears immediately from the last known
state. Until you turn on an AWS profile or start an AWS sign-in, Mewla only reads
the profile names from ~/.aws: it installs no AWS CLI and makes no AWS call with
the credentials found there. Once AWS is in use, profile discovery, identity and
expiry checks refresh in the background at most once a minute; open pages
receive the results automatically. A quiet Checking… pill marks rows being
refreshed. Other services never wait for these checks.
Add an account. If your organization uses IAM Identity Center, Mewla adds
your accounts from it. Mewla uses the access portal already in your AWS config
(an sso-session). If there is none, Mewla asks for your access portal URL. A
d-….awsapps.com portal also needs its Region. Mewla then shows a device code.
Copy and open AWS opens AWS's page with the code filled in, and approving it
on any device finishes the sign-in. Nothing is pasted back. Mewla then lists the
accounts and roles you may use and writes a profile for each one you don't have
yet, named after the account (and the role, where you have several in one
account). The profile it signs in is turned on;
the others are listed for you to turn on.
For an AWS account without Identity Center, choose No access portal. Mewla
runs its managed official AWS CLI's remote sign-in (aws login): open AWS,
sign in on any device, and paste the code AWS shows into Mewla. The AWS CLI
keeps its own session; Mewla keeps no copy of credentials.
Sign in again on a card uses that profile's own kind of sign-in: a device
code for an Identity Center profile, aws login for a login profile. Mewla
never runs aws login on an Identity Center profile, which would turn it into
a 12-hour login session.
How long a sign-in lasts. aws login sessions end after at most 12 hours,
or sooner if the role's maximum session is shorter. AWS can't extend them. An
Identity Center sign-in belongs to its sso-session, and every profile naming
that session shares it. The CLI renews its role credentials by itself until the
organization's session length has passed since you signed in. That length is
8 hours by default, and up to 90 days if an administrator sets it under
Identity Center Settings › Authentication. The permission set's own session
duration (up to 12 hours) only limits each role credential, and the CLI renews
those without a new sign-in. Roles granted through IAM account access manager
are not Identity Center account assignments: aws sso login doesn't cover
them, so they sign in with aws login.
AWS doesn't tell the CLI when an Identity Center sign-in ends. The CLI cache holds only the hourly access token and its client registration, which are not when the sign-in ends. So Mewla works it out from two facts:
- When you signed in. Mewla records this when it runs the sign-in. A sign-in made in a terminal has no known start until you sign in again in Mewla.
- How long your organization's sign-ins last. On the card, Sign-in lasts offers the lengths Identity Center has; set it once to match Identity Center. Mewla also learns it when a sign-in it started ends, and every profile of the session uses the same length.
With both known, the card says when the sign-in ends ("Ends in 89d"). Without them it shows no end.
For enabled profiles, Mewla checks every 30 minutes in the background. Chat
says once, a day ahead, when an Identity Center sign-in that lasts two days or
more will end. Chat also says once when any sign-in has ended. Each notice has
Sign in, which opens Extensions on that profile's own sign-in: for Identity
Center, a code to approve on any device. A shorter sign-in (aws login's 12
hours, an 8-hour Identity Center default) gets only the ended notice, since a
day's warning would always be showing. A command an agent runs on an ended
profile returns the CLI's error plus a line naming the profile and where the
person signs in again.
Mewla installs and updates its own official CLI inside its state directory,
without sudo or changing your system installation. A cloud's CLI is set up the
first time you use that cloud (an account turned on, a sign-in started, a
mewla aws, mewla gcloud or mewla gws command), never at start and never
for a cloud you have not used. If that install fails, the card, the sign-in and the
command say why (what the installer said, or what to install on a computer Mewla
has no installer for: Windows installs none of the three, so there it uses the
AWS CLI, the Google Cloud CLI or gws you install yourself, found on PATH or in
the vendor's usual folder within seconds of installing). It checks at most daily,
updates in the background, and waits for a check before the first command or
after seven days without a successful check. Running commands keep their
original installation. Mewla keeps the active and previous installation; older
versions are removed once no command holds them. The two newest profile-change
backups are retained, with active backup operations protected until completion.
Packages must pass signature and smoke checks before
activation. If an update fails, Mewla keeps the working version; if it cannot
install its own CLI, it can use a local AWS CLI 2.32 or later. The service details
show the selected version and whether it is managed by Mewla. mewla aws --version
reports that same executable without requiring an enabled account.
All versions share your existing ~/.aws profiles and sign-in caches. There is
no separate Mewla credential directory and no update setting to maintain.
Use a profile. Turn its switch on to let agents use it. Existing valid profiles need no new sign-in. Reads are allowed by default; changes remain off until enabled and also need your authorization for each task.
Agents use mewla aws [--profile NAME] <aws arguments>, for example:
mewla aws --profile mewla ec2 describe-instances --region us-east-1
mewla aws --profile mewla s3 ls
Mewla passes literal arguments without a shell and returns the CLI's output
(JSON by default). Reviewed read commands run directly. Other commands, including
secret-value reads, require enabled writes and task-specific authorization,
indicated with --mewla-authorize. Calls are never automatically retried.
The local CLI credentials are shared: this gate governs Mewla calls, and does
not prevent another local program from using bare aws.
Delete profile names the profile and account in a confirmation sheet. It backs up config and credentials, signs out where the session is not shared, and removes only that profile's sections. The profile disappears from the CLI too. A shared login/SSO cache remains available to other profiles. Turning the profile off only disables agents; it does not delete the CLI sign-in.
Google Cloud#
Extensions lists the accounts in gcloud auth list, each with its default project
and briefly cached sign-in status. Multiple configurations for the same account
appear as one account. Empty configurations, including a fresh default, are
hidden. The active configuration for an account supplies its project; otherwise
Mewla uses its first configuration with a project. Existing accounts start with
agent use disabled. Expired accounts share the collapsed Expired group with AWS.
Until you turn an account on or start a sign-in, Mewla only asks a gcloud that is
already on the computer for its local lists: it installs nothing and asks Google
for no token. Turning an account on is its first use: Mewla installs its own
gcloud if needed, then checks the account with the sign-in you already have.
Connect always starts the CLI's remote flow,
gcloud auth login --no-launch-browser --force. Open Google's URL on any trusted
device, sign in, and paste the authorization code into Mewla. Google owns the
OAuth exchange and refresh. There is no Mewla Google client, MCP API or MCP role.
The normal gcloud configuration/credential directory is the single source of
truth, including CLOUDSDK_CONFIG when configured. ADC is separate and unchanged.
Mewla maintains its own official SDK without sudo or shell startup changes.
A checksum-verified official archive bootstraps Google's component updater;
subsequent releases come from the SDK's official update channel, so they do not
wait for a Mewla release or a changed pinned digest. Updates run in an independent
SDK copy with temporary installer settings, then pass version and smoke checks
before an atomic switch. Running commands keep their SDK; normal commands always
use your existing gcloud configuration directory. The update cadence and quiet
version details match AWS. Offline or unsupported hosts can use a local gcloud
400.0.0 or later, including installations in ~/google-cloud-sdk.
Automatic installation supports Linux/macOS x86_64 and Arm64; macOS needs
Python 3.10–3.15 (Apple's own 3.9 is not always enough: when the installer fails on it, the
card says to install a newer one). mewla gcloud --version shows the selected executable's version.
Accounts and configurations refresh in the background and update open pages
without blocking the service list.
Agents use mewla gcloud projects list, or select an enabled account with
mewla gcloud --account person@example.com compute instances list --project ID.
--profile CONFIGURATION can select an account through an existing gcloud
configuration. Multiple enabled accounts require an explicit selection.
Commands use literal argv and return CLI output, JSON by default. List, describe
and get-style operations (including get-iam-policy) are reads in any command group,
including IAM, billing and SQL metadata. Secret/credential readers such as secrets
versions access, KMS decrypt and SQL generate-login-token are excluded. Changes
and SQL execution need enabled writes plus the user's task-specific authorization
(--mewla-authorize); local credential export remains unavailable. Put the command
path before its options.
Local execution, file inputs/transfers and credential export are unavailable.
Mewla never automatically retries commands. An account without a configuration
does not inherit another account's project: use an explicit --project.
bq is not exposed.
Delete account confirms the email, backs up affected local files, revokes that
exact account with gcloud auth revoke, and removes its configurations. If one
is active, Mewla switches to another account's configuration or creates an empty
configuration itself. Other accounts remain signed in; the person never needs
to manage gcloud configurations to delete an account. Terminal sign-in/revoke
changes appear on refresh (four-second list cache, one-minute credential check).
Because the credentials are shared, Mewla's authorization checks apply to
mewla gcloud and connection tools, not a worker running bare gcloud as the same
OS user. Disabling agent use keeps the account in gcloud; Delete signs it out.
Google Workspace#
Gmail, Calendar and Drive through Google's official gws.
Mewla's own Calendar is separate. Google's own verification and fees do not apply:
you sign in through an OAuth client in your Google Cloud project, so mail and
tokens never pass through a Mewla server and Mewla stores no Google keys. gws
keeps its account in its own config directory (GOOGLE_WORKSPACE_CLI_CONFIG_DIR
when set), and Extensions shows that one account. If gws is already signed in on
this computer, the account is listed (off, unchecked) from its config files alone,
with no gws install and no call to Google; turning it on installs gws and asks
it who is signed in. A card whose CLI could not be installed says why, and
Check now tries again.
Connect, first time:
- If
gwsis missing, Install and sign in installs the pinned official build. - Mewla creates a Google Cloud project with the Gmail, Calendar and Drive APIs on, in the one Google Cloud account you have connected and turned on. With none, or with several, you create the project yourself and Connect says so.
- One action in the Google console: set up the consent screen as External, choose Publish app (so sign-in does not expire after seven days), and create a Desktop app client. Paste its client ID and secret into Mewla. Google has no API for this step.
- Sign in with Google. If the browser is on another device it ends on a
http://localhost:…page that will not load: copy its address and paste it into Mewla. Google may say the app is unverified; choose Advanced, then Go to … (unsafe). It is your own app.
Connecting again, or after sign-in expires, skips steps 2 and 3. Sign out runs
gws auth logout; the client stays.
Agents use mewla gws, for example
mewla gws gmail users messages list --params '{"userId":"me","q":"is:unread"}',
mewla gws calendar events list --params '{"calendarId":"primary"}' or
mewla gws drive files list. mewla gws schema gmail.users.messages.list shows a
method's parameters. List, get and free/busy calls and +triage, +read and
+agenda run directly. Sending mail, creating or changing events, writing to Drive
and everything else need enabled writes plus your task-specific authorization
(--mewla-authorize). Local file arguments, push subscriptions and gws auth are
unavailable.
Hyperliquid#
Hyperliquid needs no setup to read. Every computer has one Hyperliquid account (mainnet, Read only) from the start, so Brain can read markets, prices, order books and an account's positions, orders, fills and PnL right away. It takes the address from your conversation and can remember it itself; positions and balances on Hyperliquid are public, so no key is involved. The account stays: you can switch it off, and a trading key comes and goes without touching it.
Trading is a separate, optional step. To let Brain trade, open Hyperliquid
in Extensions, tap Add API wallet key under Trading, and paste one API
wallet key. Create the API wallet on Hyperliquid's own site
(app.hyperliquid.xyz/API; Create an API wallet opens it), approve it, and
paste its private key once. Never paste your main wallet's key: Mewla refuses
it. Mewla asks Hyperliquid which account the key trades for and on which
network, so there is no address or network to fill in. The account shows the
address it trades for (0x1234…abcd), and every tool result names its
network. A mainnet key turns the read-only account into that trading account; a
testnet key (Hyperliquid's practice network, test money only) adds a separate
Hyperliquid Testnet account, tagged Testnet on its card. A key is
saved with the one account it was approved for and never used on the other
network.
An API wallet can sign trades but not withdrawals or transfers out; those need your main wallet's own signature, and Mewla has no code that makes them. A leaked API wallet can still trade, and Hyperliquid also lets an API wallet deposit into a vault, so it can move value that way; use a fresh one, and remove it on Hyperliquid's site if it is ever exposed. The key stays on the computer in the private vault, is never shown or logged, and Remove trading key on the account deletes it and leaves the account reading as it was. The mainnet account has no Disconnect; only a testnet account does.
Adding a key for an account that is already connected updates that account.
Read and search (on after you connect): list_markets, get_mids,
get_book, get_candles, get_funding_history, get_account (positions,
margin and spot balances), get_open_orders, get_fills,
get_funding_payments, get_portfolio, get_vaults and get_order_status.
Account tools take an optional address; the read-only account has none of its own, so Brain names one with each read, and a trading account defaults to its own. Times
come back with a readable …_at field in the time zone you name (timezone),
this computer's own if you don't. Results are bounded: lists are one page and say when they were
cut.
Make changes when asked (off until you turn it on, and only with a saved
key): place_order, modify_order, cancel_order, set_leverage and
schedule_cancel. Brain places an order only when you ask for it. Each result
says which network it used and returns exactly what was signed and sent, with
Hyperliquid's own reply and order id. Prices and sizes are never rounded for
you: a price with too many digits is refused before anything is sent, with a
valid example. An order is sent once and never retried; if Hyperliquid does not
answer, check get_open_orders or get_order_status before trying again.
Not supported: withdrawals, transfers, vault deposits, market orders and trigger orders, builder-deployed (HIP-3) markets, and sub-accounts. Hyperliquid limits one IP to 1,200 request weight a minute; Mewla does not retry when it says so.
Use them from the computer#
Brain and Workers use the same accounts through the CLI:
mewla connections list --json
mewla connections search --query github --json
mewla connections describe --id ACCOUNT_ID --json # every tool: name and description
mewla connections describe --id ACCOUNT_ID --tool get_me --json
mewla connections invoke --id ACCOUNT_ID --tool get_me --args '{}' --json
mewla connections invoke --id ACCOUNT_ID --tool add_asset --args-file asset.json --json
mewla connections policy --id ACCOUNT_ID --tools get_me,list_issues --allow
mewla connections resources --id ACCOUNT_ID
mewla connections read-resource --id ACCOUNT_ID --uri onlora://projects/PROJECT_ID
mewla connections updates --id ACCOUNT_ID
mewla connections confirm-updates --id ACCOUNT_ID --tools generate_image,write_file
policy --tools sets every listed tool in one change: all of them, or none
if any name is unknown. Leave out --allow to turn them off. describe
without --tool lists every tool on the account. Inline --args stays small;
put a large payload (up to 8 MiB, such as add_asset's base64 asset) in a file
and pass --args-file path.
When arguments do not fit the tool's input schema, the error names the
failing argument path and the constraint it broke (for example
items: maxItems: array length 9 is greater than 8), so a call can be fixed
without re-reading the whole schema.
Each call is one bounded request; nothing pages automatically.
- Resources. An MCP server can publish documents next to its tools, such as
an Onlora project.
resourceslists them and their URI templates;read-resourcereads one. Reading needs the account on and at least one read tool allowed (any allowed tool for a custom service). - Errors. When a service rejects a call, its own message comes back, shortened to 2,000 bytes with credentials removed.
- Time. A call may take two minutes, or longer when its arguments ask the
service to wait (
wait_sand similar), up to ten minutes. If time runs out, the call may already have run: Mewla never retries it, and you should check its state with a read tool before calling again. Calls on the same account run side by side. - Updates.
updatesasks the service for its current tools and shows those waiting for confirmation;confirm-updatesanddismiss-updatesact on the listed tools, all or none, and only with the person's consent.
Where credentials live#
Tokens stay on the daemon, in a private vault file readable only by your user. Account history records which tool was called and when, but not tokens, arguments or results.
Mewla only connects a service to public addresses, so a name that resolves to your
own network is refused. One exception: a proxy app in fake-IP mode (Surge, Clash
and similar) answers every lookup with an address in 198.18.0.0/15 and routes
by name, so Mewla connects to a name that resolves there. HTTPS still checks
the certificate for that name. If your network answers with some other private
address, the connection fails with "this network answers with a private address".