Skip to main content
Local Codex clients share MCP settings on the same host. You can use the connection in the app, CLI, or IDE extension. For a Skill with CLI instructions, use the Codex Skill guide. These steps use the Codex CLI to configure the connection for your local clients.
1

Add the server

Run this in a terminal where the Codex CLI is installed:
Codex saves this server in ~/.codex/config.toml by default.
2

Sign in

Follow the OAuth prompt if it appears during setup. Otherwise, run:
In the browser, sign in to Glasser, choose your Workspace, and select Allow. Create an account and Workspace if needed.
3

Start a new local task

Reopen the client if needed so it loads the updated configuration. In the Codex CLI, /mcp shows the active servers; check that glasser is available.
4

Check the connection

In a new conversation, ask:
The agent should use Glasser’s balance tool and return your balance. This check is free; a zero balance still means the connection works. If you need funds for a paid Run, add them in the Glasser console.

Try your first request

After you approve, the agent can retrieve the data and report the result and charge. See OpenAI’s MCP documentation for client settings and authentication help.