# mcp.caller.CallerIdentity.from_env

- **Module:** mcp.caller.CallerIdentity
- **Package:** tmux-mcp
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/tmux-mcp/src/caller.rs#L83
- **Page:** https://libtmux.org/en/rs/latest/mcp/reference/mcp-caller-calleridentity-from_env/

```
mcp.caller.CallerIdentity.from_env() -> Option<Self>
```

Read the identity from this process's environment.

Returns `None` when neither variable is set, which is the ordinary case
for a server started outside tmux.
