Skip to content
MCP server

Nl2cga MCP

Generate CGA rules from natural language via the NL2CGA cloud API (Chinese/English).

Runs locallyStatus and history
Install
Runs
Locally
Version
0.1.1
Listing updated
today

About Nl2cga MCP

Nl2cga MCP is an MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add nl2cga-mcp --env NL2CGA_API_KEY='<NL2CGA_API_KEY>' -- uvx nl2cga-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "nl2cga-mcp": {
      "command": "uvx",
      "args": [
        "nl2cga-mcp"
      ],
      "env": {
        "NL2CGA_API_KEY": "<NL2CGA_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "nl2cga-mcp": {
      "command": "uvx",
      "args": [
        "nl2cga-mcp"
      ],
      "env": {
        "NL2CGA_API_KEY": "<NL2CGA_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "nl2cga-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "nl2cga-mcp"
      ],
      "env": {
        "NL2CGA_API_KEY": "<NL2CGA_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "nl2cga-mcp": {
      "command": "uvx",
      "args": [
        "nl2cga-mcp"
      ],
      "env": {
        "NL2CGA_API_KEY": "<NL2CGA_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "nl2cga-mcp": {
      "command": "uvx",
      "args": [
        "nl2cga-mcp"
      ],
      "env": {
        "NL2CGA_API_KEY": "<NL2CGA_API_KEY>"
      }
    }
  }
}

Configuration

  • NL2CGA_API_KEYAPI key from https://www.nl2cga.com/app/keys.htmlRequired

Nl2cga MCP FAQ

How do I add Nl2cga MCP to Claude Code?

Run this command in your terminal: claude mcp add nl2cga-mcp --env NL2CGA_API_KEY='<NL2CGA_API_KEY>' -- uvx nl2cga-mcp