> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.paradex.trade/agentic-ai-hub/mcp/gemini-cli/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.paradex.trade/_mcp/server. # Gemini CLI > **Note** > > Requires the Gemini CLI. Install with `npm install -g @google/gemini-cli` or see the [Gemini CLI GitHub repo](https://github.com/google-gemini/gemini-cli). ### Complete prerequisites Follow the [Prerequisites](/agentic-ai-hub/mcp/prerequisites) guide to install Python, uvx, and get your Paradex private key. ### Add the Paradex MCP server Open (or create) the file `~/.gemini/settings.json` and paste the following: ```json { "mcpServers": { "paradex": { "command": "uvx", "args": ["mcp-paradex"], "env": { "PARADEX_ENVIRONMENT": "prod", "PARADEX_ACCOUNT_PRIVATE_KEY": "your_private_key_here" } } } } ``` Replace `your_private_key_here` with your actual key. ### Verify it's working Ask your AI assistant: > "What markets are available on Paradex?" If you get a list of trading pairs, you're connected. To test trading access, ask: > "Show me my Paradex account summary." > Connect the Paradex MCP server to Gemini CLI in a few steps.