• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dangernoodle-io / mcpkit / 29208026117
96%

Build:
DEFAULT BRANCH: main
Ran 12 Jul 2026 08:36PM UTC
Jobs 1
Files 40
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Jul 2026 08:35PM UTC coverage: 96.192% (+0.02%) from 96.172%
29208026117

push

github

web-flow
feat(cli): standard --read-only flag on ServerCmd (MC-46) (#29)

- register --read-only (bool, default false) unconditionally on ServerCmd,
unlike --http/--stateless which are gated on Server.HTTP != nil, since it
gates tool registration rather than transport
- in RunE, before the transport starts, --read-only calls
App.Gate(mcpkit.ReadOnlyMode()) so write/destructive tools are never
registered
- reserve the read-only flag name the same way as http/stateless: register
it on cmd.Flags() before Server.Flags runs, so a colliding Server.Flags
registration panics via pflag at construction
- UseAsDefault's existing flag-copy makes --read-only work on both
`myapp server --read-only` and bare `myapp --read-only`
- update package/doc comments and regenerate cli/README.md

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

8 of 8 new or added lines in 1 file covered. (100.0%)

1440 of 1497 relevant lines covered (96.19%)

1.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29208026117.1 12 Jul 2026 08:36PM UTC 40
96.19
GitHub Action Run
Source Files on build 29208026117
  • Tree
  • List 40
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29208026117
  • e0d537b9 on github
  • Prev Build on main (#29207509434)
  • Next Build on main (#29208409192)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc