Plugin install (preferred, OAuth)
Codex splits this into a shell command to register the marketplace, then a slash command inside Codex to install the plugin.1
Add the marketplace from your shell
2
Install the plugin from a Codex session
Open the plugins picker:Search for Within and install the plugin.
3
Sign in
The first request that hits a Within tool will prompt you to authenticate.
Config file install (API key)
Use this for long-running background agents. Generate an API key fromSettings → MCP in your Within workspace (see Authentication) and add the server to ~/.codex/config.toml:
~/.zshrc, ~/.bashrc):
Verify
In a Codex session, ask:search and return process results from your workspace.
