Gemini CLI
Docs · Gemini CLI
Server URL: https://teamshared.com/mcp. Sign-in is OAuth with
the same emailed one-time code as the console
(teamshared.com/login; first sign-in creates your org).
Gemini CLI adds the server and authenticates from /mcp auth.
Paste this into Gemini CLI
Add the TeamShared MCP server at https://teamshared.com/mcp to Gemini CLI (run `gemini mcp add --transport http teamshared https://teamshared.com/mcp`), then start `/mcp auth teamshared`. Use OAuth sign-in (no API key). Then run the sign-in flow, tell me when to finish the emailed one-time code in the browser, and confirm by calling the `health` tool.
Verify
Run /mcp in Gemini CLI: teamshared should be CONNECTED. Then ask it to call the health tool.
Manual ~/.gemini/settings.json
Add a headers entry with Authorization: Bearer tsk_… only if you use a key instead of OAuth.
{
"mcpServers": {
"teamshared": {
"httpUrl": "https://teamshared.com/mcp"
}
}
}
All clients · Claude.ai & Desktop · Claude Code · Cursor · Codex · ChatGPT · VS Code / Copilot · Windsurf / Devin Desktop · Gemini CLI · Gemini · Devin · Grok Bot · OpenClaw · Hermes