</> CodeAgents
Learn
Compare
Cheat Sheets
Shortcuts
Find your agent
Models
Updates
عربي
Learn
/
Gemini CLI
/
Quiz
Gemini CLI — Quiz
Test your knowledge
Module 1
Module 2
Module 3
Module 4
Module 4
Question 1 of 5
0%
How do you add an MCP server to Gemini CLI?
A.
gemini mcp add <server>
B.
Configure it in the `mcpServers` field of `~/.gemini/settings.json`
C.
Add it to GEMINI.md under [mcp]
D.
gemini --mcp <server>
← Back to Gemini CLI