setup

setup is a command for coding agents from brs077/CNC-design-control-MCP. It costs 8 tokens per session (119 once invoked), scanned A, original, MIT.

A setup command for connecting an agent to a CNC machine, a computer-controlled tool used for cutting or machining materials. It looks for serial ports, connects using the machine’s communication settings, and checks the machine state.

In plain words
What is it for?
Use it to find the right port, connect to a Grbl CNC machine at 115200 baud, verify its state, and optionally unlock or home it.
Why use it?
It guides the connection process and catches common readiness issues, such as a machine being in Alarm state. It also reports the machine’s current position.

Command

Part of the cncjs-mcp plugin — 12 skills, 4 commands, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/brs077/cnc-design-control-mcp/setup
Clone the repo
git clone --depth 1 https://github.com/brs077/CNC-design-control-MCP

Or install cncjs-mcp, the plugin that ships this one along with the rest of its 12 skills, 4 commands, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/brs077/cnc-design-control-mcp/setup.svg)](https://agentmods.dev/commands/brs077/cnc-design-control-mcp/setup)
Your own site
<a href="https://agentmods.dev/commands/brs077/cnc-design-control-mcp/setup"><img src="https://agentmods.dev/badge/commands/brs077/cnc-design-control-mcp/setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 119 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00008 $0.00119
Opus 5 $0.00004 $0.00060
Sonnet 5 $0.00002 $0.00024
Haiku 4.5 $0.00001 $0.00012

Measured 3d ago against content hash 073a6a958b44, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/setup.md · 16 lines

What it actually says

Help me connect to my CNC machine:

  1. Use list_serial_ports to find available ports
  2. Show me the ports and ask which one to connect to (if multiple)
  3. Connect with connect_to_port at 115200 baud for Grbl
  4. Verify with get_machine_state
  5. If the machine is in Alarm state, offer to unlock or home it
  6. Report the machine's current position and state

$ARGUMENTS

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 16 lines · 8 tokens per session scan A 073a6a958b44

Subscribe to this mod's changes

setup is a command published in the GitHub repository brs077/CNC-design-control-MCP (1 stars, last pushed 5mo ago), licensed MIT. It adds 8 tokens to every session and 119 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.