AI-agent MCP server for FPGA design: compile, validate & generate Verilog from Cβ HDL.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Give an AI agent the ability to design real hardware. cg-agent-kit is a
Model Context Protocol server that drives the
open-source Cβ Verilog compiler - so an agent writes a C-like HDL, and the
server compiles, checks, generates Verilog, and synthesis-checks it against the
real toolchain instead of hallucinating Verilog that doesn't build.
Cβ ("C-Ground") is a hardware description language with C-like syntax that compiles to clean, standard Verilog. The compiler is open source at github.com/Neosyn-Logic/cg-compiler.
| Tool | What it does |
|---|---|
cg_check | Compile + validate Cβ; structured diagnostics (file:line, the fix) |
cg_generate_verilog | Emit synthesizable Verilog |
cg_simulate | Simulate a design (iverilog backend, or the commercial fast sim) |
cg_synth | Yosys-synthesize the Verilog: REAL / FOLDED / SUSPECT verdict + cell count |
cg_example | Scored lookup into a curated, validated-code dictionary (28 entries) |
cg_suggest_for_error | Map a compiler error to the recipe with the fix pattern |
cg_fsm / cg_graph | A task's compiled state machine / a network's graph |
cg_docs | Cβ language + patterns reference |
The kit's organizing idea: agents seed-and-adapt from validated code and verify against the real compiler at every step - not invent-from-scratch.
This kit and the compiler it drives are open. The fast (bytecode) cycle-accurate
simulator is part of the commercial Neosyn SDK - so cg_simulate's default
bytecode backend asks you to upgrade, while the iverilog backend works
fully (generate Verilog + run Icarus Verilog). Everything else -
check, generate, synth, the dictionary, docs - runs entirely on the open compiler.
More at neosyn.io/open.
Then point it at a built Cβ compiler jar (download the prebuilt jar from cg-compiler releases, or build from source):
(Optional, for cg_synth and the iverilog sim backend, install yosys and
iverilog.)
As an MCP server (for Claude Desktop, Cursor, Windsurf, or any MCP client):
Add it to your MCP client config, e.g.:
Or call the verification functions directly from Python:
The kit bundles 28 validated Cβ designs and the language + CPU-pattern
references the cg_docs tool serves.
MIT - see LICENSE. Cβ began as the Synflow Cx toolchain.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/cg-agent-kit)<a href="https://allmcps.com/mcp/cg-agent-kit"><img src="https://allmcps.com/api/badge/cg-agent-kit?style=directory" alt="Cg Agent Kit on AllMCPs" /></a>