AI assistants (MCP)

Safety and revoking access

What an assistant can never reach, how to see everything it did, and how to take access away.

The safety model in short

  • The server is off until you start it, and listens only on this Mac.
  • A client must be paired (or added with its own token) before it can call anything.
  • A place with no rule does not exist for an assistant. When an assistant is refused, it is told which right is missing, never what is there.
  • Changes ask you first unless you chose "without asking". A permanent delete and a file edit always ask.
  • Everything is recorded in Activity.

What is always protected

Some places stay closed inside any folder you grant, even under a rule on your home folder:

  • Credentials and keys in your home folder: ~/.ssh, ~/.aws, ~/.azure, ~/.gnupg, ~/.kube, ~/.docker/config.json, ~/.netrc, ~/.git-credentials, ~/.config/gcloud, ~/.config/gh, ~/.password-store, ~/.vault-token, ~/.npmrc, ~/.pypirc, and your keychains, cookies and privacy settings in ~/Library.
  • The system keychains and the Mac's SSH settings.
  • Vektor Commander's own settings folder. The part that holds the MCP settings can never be granted at all.

Such a folder opens only with a rule on that folder itself (or inside it). On servers and in containers, folders with these names, such as .ssh or .aws, are protected wherever they are.

Secret-looking files are listed as present but denied, without their size or contents, unless a rule names the file itself. This covers names such as .env and .env.local, credentials.json, secrets.yml, id_rsa and id_ed25519, known_hosts, authorized_keys, and files ending in .pem, .key, .p12, .kdbx, .ppk or .gpg.

In a Git repository, files the assistant may not read are left out of diffs entirely, and the status lists them as denied.

What an assistant can never do

  • Run commands or database queries on your Mac itself. They run only in containers and on SSH hosts you allow.
  • Reach a connection that does not belong to the active workspace.
  • Commit, push, reset, rebase, merge or delete a branch in a Git repository.
  • Write to a database through a query: queries run read-only. MongoDB reads can never run JavaScript.
  • Approve its own requests. Text it reads, such as file contents, commit messages or command output, is treated as data and can never grant, approve or change anything.
  • Interrupt you: opening a folder or a file in the window is refused while you rename, type a filter or have a dialog open.
Pairing confirms which program is connecting. It is not a defense against harmful software that already runs under your macOS account. Grant only what an assistant needs, and keep sensitive folders under No access.

Activity

Settings ▸ MCP ends with Activity: every call, allowed or not, newest first. Each row shows the outcome, the client, the tool, the place, a summary, the time and how long it took. The outcome is one of Allowed, Approved, Denied, Rejected or Failed.

Settings, MCP page with the client configuration snippets and the activity log.
Settings, MCP page with the client configuration snippets and the activity log.
  • Narrow the list with the All clients and All outcomes menus.
  • Click Clear Activity to empty it.

Activity is kept for 30 days. Passwords, tokens and other secrets are never written to it.

Revoke a client

  1. Open Settings ▸ MCP.
  2. Under Paired clients, click Revoke on the client's row.

Its next call is refused. A network client's token stops working at once and its open calls end. A revoked local client that calls again has to be paired again.

For a network client, Replace Token issues a new token and makes the old one stop working. Use it when a token may have been copied somewhere it should not be.

Take access away

  • From one place: change its rule to No access, or remove the rule with the minus button.
  • From all but one client: choose that client in the rule's For menu. The rule then applies to it alone.
  • Changes you approved for a location or session: these end when you stop the server, quit the app, or switch to another workspace.
  • Everything at once: stop the server with Vektor ▸ Stop MCP Server. Every client is disconnected and every waiting request is rejected.
  • Network clients only: turn off Allow connections over the network (this Mac only). No port is open then.

Network clients

  • Vektor Commander listens on 127.0.0.1 only, so only programs on this Mac can connect, and each needs its own token.
  • Each token is shown once. Vektor Commander keeps only a fingerprint of it.
  • A request without a valid token learns nothing about your files.
© 2026 Vektor Commander