Short answer: In your terminal run
codex mcp add sib --url https://ai.sib.host/mcp and then codex mcp login sib. Your browser opens the sign-in page of this site; sign in and click "Allow". No key is needed.Codex is OpenAI's coding assistant and works in the terminal, the ChatGPT desktop app and the editor extension. All three share one configuration, so you connect once and Codex sees your services at سیب هاست everywhere.
Quick reference
| Server name | sib |
|---|---|
| Connection address (MCP) | https://ai.sib.host/mcp |
| Recommended method | Sign in with your account on this site (OAuth), no key |
| Second method | API key in the SIB_AI_KEY environment variable |
| Configuration file | ~/.codex/config.toml (on Windows %USERPROFILE%\.codex\config.toml) |
| Check the status | codex mcp list in the terminal or /mcp inside Codex |
| Manage and revoke | Client area > AI assistant |
Commands to connect with your account
codex mcp add sib --url https://ai.sib.host/mcp
codex mcp login sib
Quick diagnosis
| Message you see | What it means and what to do |
|---|---|
| The browser did not open | You are on a machine without a browser. Run codex mcp login sib --no-browser and follow the tips below. |
sib has no tools in /mcp | You have not signed in yet or the connection has expired. Run codex mcp login sib again. |
| Invalid API key | With the key method, the key is wrong or revoked. Create a new key on the AI assistant page and set SIB_AI_KEY again. |
| You have reached your key limit | Each app connection counts as a key. Revoke an old key on the AI assistant page. |
Steps
- Add the server: Run the first command above in your terminal. sib is saved in
config.toml. - Sign in: Run the second command. Your browser opens the sign-in page of this site. If Codex already opened the browser after the first command, sign in there and skip the second command.
- Choose the access: Choose the services, the access level and how long it lasts, then click "Allow". The "Connected" message means the browser part is done.
- Try it: Open Codex, check with
/mcpthat sib is connected and ask "Show my services at سیب هاست".
Connect with a key (second method)
Create a key with the "Create a new key" form on the AI assistant page. The ready-to-run commands with that key appear after you create it. They look like this; first put the key in an environment variable (first command on Windows, second on macOS and Linux):
setx SIB_AI_KEY "YOUR_KEY"
export SIB_AI_KEY="YOUR_KEY"
Then add these lines to config.toml:
[mcp_servers.sib]
url = "https://ai.sib.host/mcp"
bearer_token_env_var = "SIB_AI_KEY"
Troubleshooting and tips
- Terminal without a browser (for example SSH):
codex mcp login sib --no-browserprints a sign-in link. Open it in a browser on your own computer, sign in and click "Allow". The browser then goes to an address that starts withhttp://127.0.0.1and may not load. Copy the full address from the address bar and paste it into the terminal. - After
setx: On Windows the variable is only visible in a new terminal. Close the terminal and open it again. - Remove the connection from Codex: Run
codex mcp remove sib. To cut access completely, also revoke the connection on the AI assistant page. - ChatGPT in the browser: chatgpt.com has its own setup. See the ChatGPT guide.
- Note: If it still does not connect, see Troubleshooting the AI assistant connection.
Need more help? If you run into an error while following these steps, open a ticket with technical support and our team will look into it. Open a ticket