gemini --mcp-server 'npx @modelcontextprotocol/server-filesystem /'

Category: Gemini CLI

gemini --mcp-server 'npx @modelcontextprotocol/server-filesystem /'

Start Gemini CLI with an inline MCP server for filesystem access

Starts Gemini CLI with an inline MCP filesystem server, giving Gemini read/write access to the filesystem via the protocol.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.