# cotty MCP server

> Shares a terminal session between a user and an AI agent, allowing the agent to read output and type commands via SSH or serial consoles.

- Repository: https://github.com/winebarrel/cotty
- Page: https://hostedmcp.org/servers/winebarrel/cotty
- Transport: —
- Stars: 1
- License: CC0-1.0

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `COTTY_REDACT` | no | no |  |

## Tools (4)

- `list_sessions`
- `send`
- `send_key`
- `read`

## FAQ

### Can I prevent the AI agent from seeing sensitive information?

Yes, you can use the `--redact` flag with regular expressions to replace sensitive text with `[REDACTED]`, or use the `Ctrl-] p` key binding to pause output to the agent.
