Connect an assistant
Start the server
The MCP server is off until you start it. Do one of these:
- Open Settings ▸ MCP and turn on MCP server.
- Choose Vektor ▸ Start MCP Server.
The MCP server row then says "Running — no client connected." and an MCP symbol appears in the window's title bar. Vektor Commander remembers your choice: if the server was on when you quit, it starts again the next time you open the app.
To stop it, turn the switch off or choose Vektor ▸ Stop MCP Server. Stopping disconnects every client, rejects every request still waiting for your answer, and ends every "approve for this location" or "approve for this session" you gave.
Add Vektor Commander to a client
Settings ▸ MCP shows the settings to paste under Client configuration, each with a Copy button. They need no token: the client is paired the first time it calls. Always copy them from Settings, because the path in them is where your copy of the app is installed. The examples below assume the app is in the Applications folder.
Claude Code (Terminal)
Run this command once in Terminal:
claude mcp add vektor -- "/Applications/Vektor.app/Contents/Resources/vektor" mcp
Claude Desktop
Add this to the client's claude_desktop_config.json file, then restart the client:
{
"mcpServers": {
"vektor": { "command": "/Applications/Vektor.app/Contents/Resources/vektor", "args": ["mcp"] }
}
}
If the file already has an mcpServers section, add only the "vektor" entry to it.
Other MCP clients
Any client that starts a local MCP server works. Give it the program
/Applications/Vektor.app/Contents/Resources/vektor with the single argument mcp, and the name vektor.
Pair the client
The first time a client uses a tool, Vektor Commander asks you to pair it:
- The client tells you that Vektor Commander shows a pairing request, with a six-digit code.
- Vektor Commander shows Pair "client name" with Vektor? with a code such as
482 913, and what identifies the client. - Check that both codes are the same, then click Approve. If they differ, or you did not start the client, click Reject.
- Ask the assistant to try again.

The paired client is listed under Paired clients in Settings ▸ MCP, with when it was paired. It is recognized again the next time it starts, so you pair it once.
Connect a client over the network
Some clients cannot start a program on your Mac, for example an assistant that runs in a container or a sandbox. They
can connect over HTTP instead, each with its own token. Network access is for programs on this Mac only: Vektor
Commander listens on 127.0.0.1 and nowhere else.
Turn on network access
Start the server, then turn on Allow connections over the network (this Mac only) in Settings ▸ MCP. The row
shows the port, and an Address appears with a Copy button, for example http://127.0.0.1:47823/mcp.
Add the client
Under Paired clients, click Add Network Client…. Type a name, for example "Claude in a sandbox", and click Create Token. The name is how Activity and the rules' client menus show this client. Adding it here is its pairing.

Copy the token now
The sheet shows the token once, with Copy buttons for a ready-made Claude Code command, the address and the token. Vektor Commander keeps only a fingerprint of the token, so it can never show it again.
Configure the client
For Claude Code, run the command from the sheet:
claude mcp add --transport http vektor http://127.0.0.1:47823/mcp --header "Authorization: Bearer example-token-0000"
For another HTTP client, give it the address and send the token in an Authorization header as
Bearer example-token-0000. Then click Done.
The client's row in Paired clients says "Network client", when it was added and when it was last used.
Change the port
The port is 47823 unless you change it. Click Change Port…, type a number from 1024 to 65535 and click Use Port. Network clients keep their tokens, but their address changes, so update it in each client.
Lost a token
Click Replace Token on the client's row. The old token stops working at once and the sheet shows a new one. See Revoke a client.

