Gemini CLI MCP Integration
Overview
Integrate CreateOS with Gemini CLI and Gemini Code Assist using the MCP (Model Context Protocol) to enable AI-powered deployment workflows directly from your command line and IDE.
Note: Gemini CLI and Gemini Code Assist share the same configuration.
Prerequisites
- Gemini CLI installed
- CreateOS account with API key access
- Command line access (PowerShell, Terminal, or Command Prompt)
Setup Instructions
Step 1: Verify Gemini CLI Installation
- Open your terminal or command prompt
- Run the following command to check if Gemini CLI is installed:
1gemini --version
If not installed, install Gemini CLI according to its official installation instructions.
Step 2: Locate Configuration Directory
Gemini CLI reads MCP configuration from:
<project-root>\.gemini\settings.json
Example:
G:\NodeOps\GeminiCLI\.gemini\settings.json
If the .gemini directory does not exist, create it.
Step 3: Configure API Settings
- Create or open
settings.jsonin the.geminidirectory - Paste the following configuration and replace
"CREATEOS_API_KEY"with your CreateOS API key:
1{2 "mcpServers": {3 "createos": {4 "url": "https://api-createos.nodeops.network/mcp",5 "headers": {6 "X-Api-Key": "CREATEOS_API_KEY"7 }8 }9 }10}
Getting Your API Key:
- Log in to CreateOS
- Navigate to Profile Settings
- Copy your API key from the API Key section
Watch Tutorial →
Security Note: Keep your API key confidential and never share it publicly.
- Save the
settings.jsonfile
Step 4: Restart Gemini CLI
- Close Gemini completely by running:
1exit
- Reopen Gemini:
1gemini
Step 5: Verify Installation
Run the following command:
1gemini mcp list
Expected output:
✓ user-autogen connected
Step 6: Start Using CreateOS
Sample Task: Tell Gemini CLI that you want to deploy <repo_name> through NodeOps MCP, and it will deploy automatically.
Demo Video
Vibecode and deploy through CreateOS MCP: Demo