Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Grtl

FreeNot checked

CLI, MCP, and coding-agent Skills for GenRTL RTL engineering knowledge

GitHubEmbed

About

CLI, MCP, and coding-agent Skills for GenRTL RTL engineering knowledge

README

grtl configures AI coding agents for GenRTL MCP and installs reusable RTL CBB artifacts. Knowledge retrieval, CBB search, and CBB detail lookup are supported through hosted GenRTL MCP tools only; the CLI no longer exposes search or detail commands.

Installation

Requirements:

  • Node.js 20.12 or newer
  • A GenRTL API key
npm install --global @genrtl/grtl
grtl --version

Set the API key:

export GRTL_API_KEY="gtr_live_your_api_key"

PowerShell:

$env:GRTL_API_KEY = "gtr_live_your_api_key"

GENRTL_API_KEY is also supported.

CLI Use

The CLI is intentionally limited to agent setup and reusable RTL CBB installation. It does not provide knowledge search, CBB search, or CBB detail lookup commands. Use MCP mode for retrieval.

grtl setup --mcp --codex
grtl cbb install [email protected]

The coding agent or shell must inherit GRTL_API_KEY or GENRTL_API_KEY when it runs setup or installs CBBs.

MCP Mode

MCP mode configures the hosted MCP endpoint and installs a genrtl-mcp Skill.

grtl setup --mcp --codex
grtl setup --mcp --cursor --project

Codex global setup installs or updates:

~/.codex/config.toml
~/.agents/skills/genrtl-mcp/SKILL.md
~/.codex/AGENTS.md

Codex project setup installs or updates:

.codex/config.toml
.agents/skills/genrtl-mcp/SKILL.md
AGENTS.md

The hosted endpoint is:

https://genrtl.com/api/mcp

Do not use https://www.genrtl.com/api/mcp; its cross-host redirect can remove the Authorization header.

Interactive Setup

Run grtl setup without a mode to choose setup options interactively:

grtl setup

Supported agents:

  • Claude Code
  • Cursor
  • OpenCode
  • Codex
  • Antigravity
  • Gemini CLI

Use --project for project-local configuration. Without it, setup installs to the user profile.

Knowledge Retrieval

Knowledge retrieval, CBB search, and CBB detail lookup are MCP-only. Configure GenRTL MCP for your agent instead of using CLI search commands.

Use --base-url for another GenRTL deployment when setting up MCP:

grtl --base-url http://localhost:3005 setup --mcp --codex --project

Codex Verification

After setup, restart Codex and ask:

Use GenRTL to find safe implementation guidance for an AD7606 controller.

The agent should invoke one of these MCP tools:

  • genrtl_knowledge_search
  • genrtl_spec2rtl_search
  • genrtl_spec2plan_search
  • genrtl_verification_search
  • genrtl_compile_search
  • genrtl_debug_search

Verify installed files:

Get-ChildItem $HOME\.agents\skills\genrtl-* -Recurse
Get-Content $HOME\.codex\config.toml
Get-Content $HOME\.codex\AGENTS.md

Custom Deployment

Use --base-url for another GenRTL deployment:

grtl --base-url http://localhost:3005 setup --mcp --codex --project

Development

pnpm install
pnpm --filter @genrtl/grtl lint:check
pnpm --filter @genrtl/grtl typecheck
pnpm --filter @genrtl/grtl test
pnpm --filter @genrtl/grtl build

This project is derived from Upstash Context7 and retains its MIT license.

License

MIT

from github.com/xroting/grtl

Install Grtl in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install grtl

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add grtl -- npx -y @genrtl/grtl

FAQ

Is Grtl MCP free?

Yes, Grtl MCP is free — one-click install via Unyly at no cost.

Does Grtl need an API key?

No, Grtl runs without API keys or environment variables.

Is Grtl hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Grtl in Claude Desktop, Claude Code or Cursor?

Open Grtl on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Grtl with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All ai MCPs