Short answer: In your terminal run
gemini mcp add --scope user --transport http sib https://ai.sib.host/mcp. Then open Gemini CLI and type /mcp auth sib. Your browser opens the sign-in page of this site; sign in and click "Allow". No key is needed.Gemini CLI is Google's assistant in the terminal. With this connection, Gemini also sees your services at سیب هاست while it works on your site. Account sign-in only works on a computer with a browser; on a server without one, use the key method.
Quick reference
| Server name | sib |
|---|---|
| Connection address (MCP) | https://ai.sib.host/mcp |
| Server type | http |
| Configuration file | ~/.gemini/settings.json (on Windows %USERPROFILE%\.gemini\settings.json) |
| Recommended method | Sign in with your account on this site (OAuth) with /mcp auth sib |
| Second method | API key with the -H option |
| Check the status | gemini mcp list in the terminal or /mcp inside Gemini CLI |
| Manage and revoke | Client area > AI assistant |
Command to connect with your account
gemini mcp add --scope user --transport http sib https://ai.sib.host/mcp
Quick diagnosis
| Message you see | What it means and what to do |
|---|---|
| sib only shows up in one folder | The command ran without --scope user, so sib was saved for that project only. Remove it with gemini mcp remove sib and run the full command above. |
/mcp shows sib as disconnected or needing a sign-in | You have not signed in yet or the connection has expired. Type /mcp auth sib again. |
| The browser did not open | Gemini CLI runs on a computer without a browser, for example over SSH. Account sign-in does not work there; use the key method. |
| 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 command above once in your terminal.
--scope usermakes sib available in every folder. - Open Gemini CLI: Run
geminiand type/mcp auth sibinside it. - Sign in: Your browser opens the sign-in page of this site. Sign in with your account.
- 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: Go back to the terminal, 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. Then run this command with your own key instead of the one above:
gemini mcp add --scope user --transport http sib https://ai.sib.host/mcp -H "Authorization: Bearer YOUR_KEY"
Troubleshooting and tips
- The key is saved in a file: With the key method, the key is written to
settings.json. Do not send this file to anyone, and if it leaks, revoke the key on the AI assistant page. - When the connection expires: Each connection lasts as long as you chose, for example 90 days. After that, type
/mcp auth sibagain. - Remove the connection from Gemini CLI: Run
gemini mcp remove sib. To cut access completely, also revoke the connection on the AI assistant page. - 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