Scaffolding: climcp new for starter cli-mcp project #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally filed by @coilysiren on 2026-05-13T14:23:59Z - https://github.com/coilysiren/cli-mcp/issues/42
Both mcptools (
mcp new tool:calculate resource:file prompt:greet) and FastMCP (fastmcp runergonomics, server templates) offer ways to spin up a starter project. cli-mcp doesn't.For someone landing on cli-mcp from the README, the gap between "I want to project my CLI as MCP" and "working
examples/dual-mode-shaped binary in my own repo" is currently: clone, copyexamples/dual-mode/main.go, find-and-replace, tweak.Proposal: a
climcp new <module-path>helper that generates:main.gowired withclimcp.AttachMCPgo.modwith cli-mcp + urfave/cli v3 pinnedhelloleaf command as placeholder.coily/coily.yamlstub if--with-coilyis passedcli-guard/verb.Wrapwired in if--with-guardis passed (probably yes by default given the cli-* family posture)Open questions:
cmd/climcpbinary that usersgo install, or as a subcommand of an existing binary, or just a template repo on github with agh repo create --templatestory?Dockerfile/Caddyfilemirroringdeploy/Caddyfile.example.