Add the ODSP Remote MCP server to Gemini CLI
Add the ODSP Remote entry the way Gemini CLI’s own docs describe, fill in what it needs, then check it’s connected.
Open settings.json
Where the file is:
~/.gemini/settings.json,.gemini/settings.jsonPaste the server entry
{ "mcpServers": { "microsoft-odsp-remote": { "httpUrl": "https://agent365.svc.cloud.microsoft/agents/tenants/<tenant_id>/servers/mcp_ODSPRemoteServer" } } }If the file already has servers, add the entry inside the existing object.
Fill in the values
What you fill in
Required values appear as <NAME> placeholders in the snippets; add optional ones the same way. Descriptions are the server’s registry entry’s.
<tenant_id>Value RequiredMicrosoft Entra tenant ID
Check it’s connected
Restart or reload Gemini CLI and look for microsoft-odsp-remote in its list of MCP servers. A server that needs sign-in opens it on first use.
Gemini CLI’s MCP docs · ODSP Remote MCP server →