MCP · OAuth 2.1
Connect Dingix to Gemini
The Gemini CLI speaks MCP over HTTP with a bearer token, so Dingix plugs straight in.
Before you start
- The Gemini CLI installed and signed in.
- A Dingix access key from Settings → API & integrations.
Step by step
-
Install the CLI
Run
npm install -g @google/gemini-cli, start it withgeminiand sign in. -
Create a key
In Dingix → Settings → API & integrations, generate an access key and copy it.
-
Add the server
In
~/.gemini/settings.json, add Dingix undermcpServerswithhttpUrlset to the connector URL below and anAuthorization: Bearer <key>header.https://dingix.com/api/mcp -
Verify
Restart Gemini and run
/mcp— Dingix should be listed as connected.
What it can do once connected
- The same full tool set as the other clients, over the same endpoint.
Security
- The key is a full-access token. Treat it like a password and revoke it from Settings whenever you want.
Troubleshooting
Gemini shows no tools
Check the Authorization header reads “Bearer ” followed by the key, and that the URL ends in /api/mcp.