ChatGPT and Codex

Connect Lahuta to ChatGPT as a developer mode app, or to Codex with one command.

OpenAI has two ways to use Lahuta. In ChatGPT, you add Lahuta as an app in developer mode. In Codex, OpenAI's coding agent, you add it with a command or a few lines of config.

ChatGPT

ChatGPT connects to outside servers like Lahuta through developer mode. OpenAI offers it on the web for Plus, Pro, Business, Enterprise and Education accounts. In a Business, Enterprise or Education workspace, an admin may have to allow it first.

In ChatGPT on the web, open Settings → Security and login and turn on Developer mode.

Go to ChatGPT Plugins and select the plus button.

Enter Lahuta as the name and add a short description, like "Northside Pottery's contacts, events and shop".

Under Connection, paste the server URL and create the app:

https://api.lahuta.org/mcp

When ChatGPT opens Lahuta's sign-in page, sign in with your Lahuta account. If you belong to more than one organization, choose the one ChatGPT should use by default.

To use it, start a new chat, open the + menu, choose Developer mode and select Lahuta. It helps to name it in your request: "Use Lahuta to list this week's orders."

ChatGPT asks you to confirm before any tool that makes a change, and shows the exact input it's about to send. Read it before you approve. You can remember your answer for the rest of that conversation, and a new conversation asks again.

Menus look different?

ChatGPT changes its settings pages often. If these labels don't match what you see, follow OpenAI's developer mode guide. The URL and the sign-in stay the same.

Codex

The Codex CLI, the Codex IDE extension and the ChatGPT desktop app share one configuration, so adding Lahuta once makes it available in all three.

Add the server:

codex mcp add lahuta --url https://api.lahuta.org/mcp

Sign in. Adding the server doesn't start sign-in by itself, so run:

codex mcp login lahuta

Your browser opens at Lahuta's sign-in page. Sign in with your Lahuta account and pick your default organization if asked.

Check it's there with codex mcp list, or run /mcp inside Codex to see active servers.

Ask before changes

The command above writes an entry to ~/.codex/config.toml. You can edit that entry to control when Codex asks for approval:

[mcp_servers.lahuta]
url = "https://api.lahuta.org/mcp"
default_tools_approval_mode = "writes"

With writes, Codex runs tools marked read-only without asking and prompts before everything else. Lahuta marks every lookup tool as read-only, so Codex can search and report freely but stops before it creates, sends or deletes anything. We recommend this setting.

On this page