İçeriğe geç

Google Antigravity kurulumu

Gemini aboneliğinizle Antigravity kurulumunu tamamlayın.

İndirme: antigravity.google/download

Gereksinim: Bilgisayarınızda Node.js kurulu olmalı → nodejs.org/en/download

  1. Antigravity ve Antigravity IDE'yi kurun.
  2. İşletim sisteminize göre aşağıdaki kodu terminale yapıştırıp çalıştırın:

macOS / LinuxTerminal'i açın (Cmd + BoşlukTerminal), aşağıdaki bloğun tamamını yapıştırın. (Linux: Ctrl + Alt + T)

Terminal komutu
node - <<'YARGI'
const fs=require("fs"),os=require("os"),path=require("path");
const dir=path.join(os.homedir(),".gemini","config"),file=path.join(dir,"mcp_config.json");
fs.mkdirSync(dir,{recursive:true});
let cfg={};try{cfg=JSON.parse(fs.readFileSync(file,"utf8"))}catch{}
if(typeof cfg!=="object"||cfg===null||Array.isArray(cfg))cfg={};
if(typeof cfg.mcpServers!=="object"||cfg.mcpServers===null)cfg.mcpServers={};
cfg.mcpServers["yargi-mcp-pro"]={command:"npx",args:["-y","mcp-remote@latest","https://app.yargipro.com/mcp"]};
fs.writeFileSync(file,JSON.stringify(cfg,null,2)+"\n");
console.log("yargi-mcp-pro eklendi -> "+file);
YARGI
npx -y mcp-remote@latest https://app.yargipro.com/mcp

WindowsPowerShell'i açın (BaşlatPowerShell), aşağıdaki bloğun tamamını yapıştırın.

powershell
@'
const fs=require("fs"),os=require("os"),path=require("path");
const dir=path.join(os.homedir(),".gemini","config"),file=path.join(dir,"mcp_config.json");
fs.mkdirSync(dir,{recursive:true});
let cfg={};try{cfg=JSON.parse(fs.readFileSync(file,"utf8"))}catch{}
if(typeof cfg!=="object"||cfg===null||Array.isArray(cfg))cfg={};
if(typeof cfg.mcpServers!=="object"||cfg.mcpServers===null)cfg.mcpServers={};
cfg.mcpServers["yargi-mcp-pro"]={command:"cmd",args:["/c","npx","-y","mcp-remote@latest","https://app.yargipro.com/mcp"]};
fs.writeFileSync(file,JSON.stringify(cfg,null,2)+"\n");
console.log("yargi-mcp-pro eklendi -> "+file);
'@ | node -
npx.cmd -y mcp-remote@latest https://app.yargipro.com/mcp

Yapıştırdığınızda komut otomatik çalışır. Tarayıcıda WorkOS giriş sayfası açıldığında hesabınızla giriş yapın. Terminalde Press Ctrl+C to exit yazısını gördüğünüzde MCP başarıyla kurulmuş demektir. Terminal penceresini kapatabilirsiniz; token bilgisayarınıza kaydedilir. Ardından Antigravity'yi açın; yeniden giriş yapmanız gerekmez.

← Tüm platformları görüntüle