AdYour product here, seen by people installing AI tools every day Sponsor slots open: 12 of 12, from $249 a month

How to install Primer MCP in Antigravity CLI

To install Primer MCP in Antigravity CLI, add the "primer-mcp" block to the mcpServers section of ~/.gemini/config/mcp_config.json (remote servers use "serverUrl"), then start agy.

Built from the published package · server updated yesterday

  1. 1

    Open the MCP config

    Create or open ~/.gemini/config/mcp_config.json for every project, or .agents/mcp_config.json for this project only.

  2. 2

    Add the server

    Paste this. If the file already has servers, add the "primer-mcp" entry inside the existing mcpServers block.

    {
      "mcpServers": {
        "primer-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@primer/mcp"
          ]
        }
      }
    }
  3. 3

    Start Antigravity CLI

    Run agy. The server and its tools load when the session starts.

Config file: ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project)

MCP servers run with your permissions. If Primer MCP needs an API key, add it under env in the config. Check its README.

Install Primer MCP in another app

Similar servers

Questions

Does Primer MCP work in Antigravity CLI?

Yes. Antigravity CLI supports local and remote mcp servers, skills, plugins, and Primer MCP installs with the steps above.

Primer MCP does not show up in Antigravity CLI. What now?

Restart Antigravity CLI fully, check the JSON is valid, and make sure Node.js (for npx) is installed. See common MCP errors and fixes.

Is Primer MCP safe?

It scores 93 of 100. Review the code before you install it, and only give it the access it needs. Grades and details.