# straza connect

Connect your own account to an MCP server; no server lists your connections


## Synopsis

Connect your own account to an MCP server that needs each caller's own sign-in or token.
With no server named, the command lists your connections. On a sign-in server it prints
your credentials page, where you sign in and finish. On a token server it asks for the
token with the input hidden.

The token also reads from stdin when stdin is not a terminal, and never from an
argument. straza disconnect takes a connection away. Letting the agents you sponsor
use a connection, and setting an agent's token, happen on the Credentials tab of the
self-service page, where you sign in in your browser. A sign-in is stored only by the
person who signs in.

```
straza connect [server] [flags]
```

## Examples

```
  straza connect
  straza connect midpoint
  straza connect github --expires 2026-12-31
```

## Options

```
      --expires string   the date the token stops working, as YYYY-MM-DD
```

## See also

* [straza](https://docs.straza.ai/reference/cli/straza/index.md): Straza client: enroll this machine, wire the hooks and decide each tool call



