> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stophy.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Codex

> Add Stophy to Codex with one command. Start without an API key, then sign in with your browser or add an API key to use every tool.

This one command gives [Codex](https://developers.openai.com/codex) the free Stophy endpoints.

```bash theme={null}
codex mcp add stophy --url https://api.stophy.dev/mcp
```

Run `codex mcp list` to check it.

## Sign in with your browser

```bash theme={null}
codex mcp add stophy --url https://mcp.stophy.dev/mcp
codex mcp login stophy
```

After you sign in, every tool works.

## Use an API key

```bash theme={null}
codex mcp add stophy --url https://api.stophy.dev/mcp --bearer-token-env-var STOPHY_API_KEY
```

Set `STOPHY_API_KEY` first. [Get an API key](https://stophy.dev/signup). Codex reads the variable each time it starts, so the key itself is never saved to `~/.codex/config.toml`.

## Try it

```text theme={null}
Use Stophy to get the transcript of https://www.youtube.com/watch?v=dQw4w9WgXcQ and summarize it.
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.