Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

io.neosyn/cg-agent-kit

PYPI · CG-AGENT-KIT · SCANNED SEP 23

AI-agent MCP server for FPGA design: compile, validate & generate Verilog from C⏚ HDL.

Available components

−18 this week 61 Trust /100

Deprecated

This server is marked deprecated in the MCP registry. The registry records this reason: Renamed to io.neosyn/neosyn-fpga-mcp. The PyPI package 'cg-agent-kit' referenced here was never published and cannot be installed - use 'pip install neosyn-fpga-mcp'. Existing configs keep working: the 'cg-mcp-server' command and 'python -m cg_agent_kit.cg_mcp_server' both still resolve inside the…

Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security50
  • No malware found by supply-chain analysis.Pass
  • Known CVEs could not be checked: the version this server declares is not published in its registry.Unverified
  • Install-script risk not yet assessed.Unverified
  • Dependency health could not be checked: the version this server declares is not published in its registry.Unverified
Provenance & Transparency32
Schema Quality & AI Usability64
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 2789 tokens (~253/item across 11 items; 11 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management93
  • Stability observed for 28 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage67
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 0% of tool parameters carry a description.Fail
Tool Safety100
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • We read all 11 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
  • An AI judge read all 12 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a current MCP spec version (2026-07-28).Pass
Install

How do I install the io.neosyn/cg-agent-kit MCP server?

io.neosyn/cg-agent-kit runs locally as a PyPI package, launched with uvx cg-agent-kit. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

pypi · cg-agent-kit

# add to Claude Code
claude mcp add io-neosyn-cg-agent-kit -- uvx cg-agent-kit
// .cursor/mcp.json
{
  "mcpServers": {
    "io-neosyn-cg-agent-kit": {
      "command": "uvx",
      "args": [
        "cg-agent-kit"
      ]
    }
  }
}
// .vscode/mcp.json
{
  "servers": {
    "io-neosyn-cg-agent-kit": {
      "command": "uvx",
      "args": [
        "cg-agent-kit"
      ]
    }
  }
}
# add to Codex CLI
codex mcp add io-neosyn-cg-agent-kit -- uvx cg-agent-kit
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "io-neosyn-cg-agent-kit": {
      "type": "local",
      "command": [
        "uvx",
        "cg-agent-kit"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add io-neosyn-cg-agent-kit --command uvx --arg cg-agent-kit
# ~/.hermes/config.yaml
mcp_servers:
  io-neosyn-cg-agent-kit:
    command: "uvx"
    args: ["cg-agent-kit"]
// ~/.netclaw/config/netclaw.json
{
  "McpServers": {
    "io-neosyn-cg-agent-kit": {
      "Transport": "stdio",
      "Command": "uvx",
      "Arguments": [
        "cg-agent-kit"
      ]
    }
  }
}
# add to Vellum
assistant mcp add io-neosyn-cg-agent-kit -t stdio -c uvx -a cg-agent-kit
// mcp.json
{
  "mcpServers": {
    "io-neosyn-cg-agent-kit": {
      "command": "uvx",
      "args": [
        "cg-agent-kit"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 22 Sept 26 +2
    • Provenance: Provenance check failed: the declared version isn't published, so its provenance can't be verified. security
    • License: pass → fail functional
    • Licence: MIT functional
  • 20 Sept 26 −18
    • Known CVEs: pass → unverified security
    • Install scripts: pass → unverified security
    • The scripts that run when this package is installed changed: build_backend security
    • Security disclosure: unverified → fail functional
    • Dependency health: 0.99 → unverified functional
    • Package version: 0.1.1 → 0.2.1 functional
  • 19 Sept 26 −3
    • Security disclosure: fail → unverified functional
    • Stability: pass → 0.80 functional
    • Package version: 0.1.1 → 0.2.1 functional
  • 18 Sept 26 +1
    • Stability: 0.97 → pass security
  • 16 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 90 to 93. That category is still filling its 30-day observation window: 27 days of observed history at the previous scan, 28 at this one. The score rises as the window fills, whether or not the server changes.

  • 13 Sept 26 +1
    • Security disclosure: unverified → fail functional
  • 12 Sept 26 0
    • Security disclosure: fail → unverified functional
  • 11 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 73 to 77. That category is still filling its 30-day observation window: 22 days of observed history at the previous scan, 23 at this one. The score rises as the window fills, whether or not the server changes.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 23 Sept 2026 · Analysed pypi/cg-agent-kit@0.2.1

Provenance Version not published

The package exists but this version is not published, so there is no artifact to attest.

Result Version not published
Ecosystem pypi

Background: How many MCP packages publish verified provenance →

MCP tools · 11 exposed · ~2,459 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
cg_capabilities ~129

What this host can actually do — PROBED, not assumed. Call it before deciding how to verify a design. Returns {jar, jar_present, bytecode_simulator:{available,reason,detail}, simulators:[...], tools:{iverilog,vvp,verilator,yosys,ghdl}, advice}. The fast bytecode simulator ships with the commercial Neosyn distribution and is absent from the open-source compiler, so any fixed claim about it is wrong for one of the two audiences. `advice` is written from what was actually found here.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

cg_check ~191

Parse, scope, and type-check C⏚ source without running it. Returns {ok, diagnostics:[{file,line,message}], summary}. Call this first on any draft; fix every diagnostic before simulating. `extra_files` maps filename → content for imported bundles/tasks (e.g. {"Defs.cg": "..."}). For a MULTI-FILE project, pass `package_dir` (the folder holding your .cg files, e.g. "fpga/src/main/cg", relative to the project root): the tool then reads every sibling .cg there, so tasks defined in other files of the same package resolve — just like the IDE. A task you only got from `cg_example` is text; it must be saved to a file in that dir to resolve.

NameTypeReqDescription
extra_files
package_dir
sourcestringyes

No output schema declared.

No examples provided.

cg_docs ~281

Fetch a markdown knowledge doc. No topic → an index of available topics with descriptions; a topic → its full content. Topics: 'context' (the core C⏚ language pack — load before writing any Cg); 'handshakes' (port protocols push/stream/confirm, back-pressure, and the pacing gotcha when feeding a registered built-in — read before wiring a network); 'arithmetic' (what *, /, %, <<, >> synthesize to and when they need a std.math built-in or a barrel shifter — read before writing math); 'fsm' (control FSMs: enum state register, Moore vs Mealy, and the two timing rules that break first drafts — read before writing a sequencer, protocol controller or serial block like UART/SPI); and 'riscv' (the worked RV32I CPU reference: the loadable single-cycle core and the reusable patterns for CPU-shaped hardware in Cg — barrel shifter, signed/unsigned widening, sub-word load/store, count-prefixed boot-stream program loading, and the lossless-capture / address-filtered testbench patterns). Read 'riscv' when building or extending a processor, instruction decoder, datapath, or stack machine.

NameTypeReqDescription
topicstring

No output schema declared.

No examples provided.

cg_example ~283

Get a VERIFIED C⏚ base to seed-and-adapt from (don't synthesize hard kernels from scratch — adapt a known-good one). This is a curated dictionary of validated code with scored lazy lookup, NOT free-form search. No pattern → a compact index (name + kind + use_when + tags). A pattern → the single best-matching source plus its metadata and 1-2 `runners_up` so you can self-correct on an ambiguous query. `k>1` also returns the next sources when the task implies composition. Matching is specificity-weighted (exact name ≫ name word ≫ full tag phrase ≫ partial overlap), so e.g. "1/sqrt" → RSqrt while a bare "sqrt" → FixedSqrt. `kind` distinguishes general PRIMITIVES (the reusable library: Recip, Divide, SeqDiv, FixedSqrt, RSqrt, SqrDist, DotProduct, Fir, Integ, Distance, Counter) from application EXAMPLES (Force, GalaxyForce). Every entry passes simulate + generate + iverilog + yosys. Workflow: cg_example → edit only the dataflow → cg_check → cg_simulate → cg_generate_verilog → cg_synth.

NameTypeReqDescription
kinteger
patternstring

No output schema declared.

No examples provided.

cg_fsm ~52

Show a task's compiled state machine (states + transitions). Useful to confirm an FSM has the intended number of states.

NameTypeReqDescription
extra_files
sourcestringyes
task

No output schema declared.

No examples provided.

cg_generate_verilog ~215

Generate synthesizable HDL from C⏚. target is 'verilog' (default) or 'vhdl'. Returns {ok, file_count, files:{path:content}}. Use after cg_simulate passes, to hand off RTL. Pass `output_dir` (e.g. "fpga/build/verilog", relative to the project root) to WRITE the files to disk and KEEP them — the result then also carries {output_dir, written:[paths]}. Without it the files are only returned inline and the temp dir is cleaned. Prefer `output_dir` when the host needs the .v on disk (to inspect or run yosys). For a MULTI-FILE project, pass `package_dir` (the folder with your .cg files) so sibling tasks in the same package resolve during generation.

NameTypeReqDescription
extra_files
output_dir
package_dir
sourcestringyes
targetstring

No output schema declared.

No examples provided.

cg_graph ~49

Show a network's compiled graph (instances, ports with widths and interfaces, connections). Useful to confirm wiring.

NameTypeReqDescription
extra_files
network
sourcestringyes

No output schema declared.

No examples provided.

cg_report ~258

Finalize the FPGA report: (re)render <report_dir>/report.html — a self-contained HTML with the synthesis table (REAL/FOLDED/SUSPECT verdict + cell/arith/latch counts), the simulation PASS/FAIL + output, the generated-Verilog file list, and (best-effort) datapath schematic SVGs. This does NO synthesis — the rows are built incrementally by passing the SAME `report_dir` to cg_synth (per kernel) and cg_simulate as you run them; cg_report just aggregates those fragments + the Verilog under <report_dir>/verilog and renders. Workflow: cg_generate_verilog(output_dir="<report_dir>/verilog", package_dir=...) cg_simulate(..., report_dir="<report_dir>") cg_synth(..., report_dir="<report_dir>") # once per kernel cg_report(report_dir="<report_dir>") # finalize + schematics Returns {ok, report (the .html path), kernels, sim_ok, message}. Set `schematics=False` to skip the SVGs (faster).

NameTypeReqDescription
report_dirstring
schematicsboolean

No output schema declared.

No examples provided.

cg_simulate ~311

Simulate C⏚ source. Returns {ok, simulator, timed_out, diagnostics, output}. `output` holds port values and print() lines; a `properties { test: {...} }` block self-checks and fails the run on mismatch. This is the ground-truth correctness check — iterate until ok is true. `simulator` picks the backend: 'bytecode' (default — the compiler's fast simulator, no HDL toolchain) or 'iverilog' (generate Verilog + testbench and run Icarus Verilog, a Verilog-level cross-check; needs a `network <Name>_test`). 'verilator' is accepted but reported unavailable unless installed. For a MULTI-FILE project, pass `package_dir` (the folder with your .cg files, e.g. "fpga/src/main/cg") so every sibling task in the same package resolves — a `cg_example` you pulled must be saved to a file in that dir, not just referenced. `report_dir` DEFAULTS to "fpga/build" — this run's PASS/FAIL + output is recorded into that dir's accumulating report.html (see cg_report). Pass report_dir="" to disable.

NameTypeReqDescription
extra_files
package_dir
report_dir
simulatorstring
sourcestringyes
timeoutinteger

No output schema declared.

No examples provided.

cg_suggest_for_error ~118

Map a compiler error/diagnostic to the recipe that demonstrates the synthesizable pattern for what was rejected. Returns {ok, recipe, hint, source}. div/shift-by-a-variable → Recip (bit-serial long division); a data-dependent/runtime loop bound → SeqDiv (sequential FSM divider). cg_check/cg_simulate/cg_generate_verilog already auto-attach this as a `suggestion` when a diagnostic matches; call this directly to look one up.

NameTypeReqDescription
messagestringyes

No output schema declared.

No examples provided.

cg_synth ~572

Synthesize the generated Verilog with yosys — the strongest signal that a design maps to real hardware (catches non-synthesizable constructs that simulate/iverilog accept). Returns {ok, verdict, top, flow, cells, arith_ops, latches, warnings, stat, problems, output}. `verdict` is the one-word classification so you can't confabulate success: REAL (a genuine datapath), FOLDED (0 datapath cells — inputs weren't on ports, dead hardware), SUSPECT (latches inferred — a data-dependent loop / missing reset), or ERROR (yosys failed). `cells` is the gate count; `problems` lists any ERROR/Warning lines. `warnings` flags the two silent failure modes: a DEGENERATE datapath (`arith_ops == 0` → the design constant-folded; drive it with input ports) and inferred LATCHES (`latches > 0` → a data-dependent loop bound or incomplete assignment; expected a clocked FSM). A clean synth has `ok: true`, a sensible `cells`, `arith_ops > 0`, and empty `warnings`. NOT a correctness oracle: a REAL verdict means real (synthesizable) hardware, NOT *correct* hardware — it can't tell a good sequential FSM from a buggy one. `cg_simulate` (the asserting test network) is the correctness check; run it FIRST, then cg_synth to confirm the hardware is real, not folded or latched. `top` defaults to the first non-testbench task/network (the DUT); pass it when a file holds several designs. `flow` selects the synthesis flow: 'generic' (default, portable check) or a vendor FPGA family — 'ice40', 'ecp5', 'xilinx', 'gowin', 'intel' — to map to that part's primitives. Override the yosys binary with the $YOSYS env var. Run after cg_simulate passes. A constant-bound `for` synthesizes (it's unrolled); a data-dependent loop becomes an FSM (also fine). `report_dir` DEFAULTS to "fpga/build", so each synth automatically records THIS kernel's verdict + cell counts as a row in <report_dir>/report.html — synthesizing the kernels builds the whole report as a byproduct, no separate step (see cg_report). Pass report_dir="…

NameTypeReqDescription
extra_files
flowstring
package_dir
report_dir
sourcestringyes
timeoutinteger
top

No output schema declared.

No examples provided.

Common questions

What is the io.neosyn/cg-agent-kit MCP server?

io.neosyn/cg-agent-kit is an MCP server listed in the public MCP registry as io.neosyn/cg-agent-kit. AI-agent MCP server for FPGA design: compile, validate & generate Verilog from C⏚ HDL. This page covers its PyPI package (cg-agent-kit).

Is the io.neosyn/cg-agent-kit MCP server safe to use?

io.neosyn/cg-agent-kit scores 61 out of 100 on VerifyMCP. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the io.neosyn/cg-agent-kit MCP server expose?

io.neosyn/cg-agent-kit exposes 11 tools: cg_capabilities, cg_check, cg_simulate, cg_generate_verilog, cg_example, and 6 more. Their descriptions and schemas cost roughly 2,459 tokens of context every time the server is loaded.

Is the io.neosyn/cg-agent-kit MCP server still maintained?

io.neosyn/cg-agent-kit is marked deprecated in the MCP registry. We last reached this channel on 23 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.