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:
gemini --versionIf 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:
{
"mcpServers": {
"createos": {
"url": "https://api-createos.nodeops.network/mcp",
"headers": {
"X-Api-Key": "CREATEOS_API_KEY"
}
}
}
}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:
exit- Reopen Gemini:
geminiStep 5: Verify Installation
Run the following command:
gemini mcp listExpected 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
Resources
- MCP Server (GitHub): github.com/NodeOps-app/createos-mcp
- Skills (GitHub): github.com/NodeOps-app/skills
- MCP Operations: Full list of 75+ tools