---
title: Configuring Antigravity
slug: kronpam-reference-guide-3-9-0/configuring-antigravity
docTags: 
createdAt: 2026-10-12T10:26:54.188Z
---

Antigravity reads its MCP definitions from the mcp\_config.json file, which also uses the JSON format.

**Creating the Configuration File**

Run the following commands in PowerShell:

```powershell
mkdir "$env:USERPROFILE\.gemini\config" -Force
notepad "$env:USERPROFILE\.gemini\config\mcp_config.json"
```

The first command creates the configuration folder, and the second command opens mcp\_config.json in Notepad. The variable $env\:USERPROFILE points to the user profile directory, so the explicit path is C:\Users\\\<username>\\.gemini\config\mcp\_config.json.

**Adding the MCP Server Definition**

Add the following definition to the file that opens:

```json
{
  "mcpServers": {
    "KronPAMServer": {
      "command": "npx.cmd",
      "args": [
        "-y",
        "mcp-remote",
        "https://KronPAM_IP_Address:18443/mcp",
        "--transport",
        "http-only",
        "--header",
        "Authorization: Bearer ${MCP_BEARER_TOKEN}"
      ],
      "env": {
        "MCP_BEARER_TOKEN": "TOKEN"
      }
    }
  }
}
```

Replace the KronPAM\_IP\_Address and TOKEN placeholders, then save and close the file.
