Skip to content

feat(crucible-code): add the mcp settings - #6304

Merged
madskristensen merged 1 commit into
SchemaStore:masterfrom
NjoyimPeguy:crucible-code-0.36.0
Sep 4, 2026
Merged

feat(crucible-code): add the mcp settings#6304
madskristensen merged 1 commit into
SchemaStore:masterfrom
NjoyimPeguy:crucible-code-0.36.0

Conversation

@NjoyimPeguy

Copy link
Copy Markdown
Contributor

Summary

crucible-code 0.36.0 added a top-level mcp key that the published schema
does not know about, so a configuration using it is reported as an unknown
property. This regenerates the schema from that release and adds the tests for
the new block.

  • mcp.servers maps a server name to what it takes to start it: command
    (required), args, directory, env, envFrom, handshakeSeconds,
    requestSeconds, shutdownSeconds, restarts and required.
  • The positive test gains an mcp block exercising every one of those keys.
  • Two negative tests cover the two ways a server record goes wrong: a
    misspelled setting (restart for restarts), and a record with no command.

Checks

npm clean-install, then prettier over the four files, then
node ./cli.js check --schema-name=crucible-code-schema.json — passes.

The check was confirmed able to fail before it was trusted: typing restarts
as a string in the positive test fails Ajv validation, and making either
negative test legal is reported as "supposed to fail". All three edits were
reverted and the check re-run green.

https://claude.ai/code/session_01TtwJEdGWh13be72DxUqHZE

crucible-code 0.36.0 reads a top-level `mcp` key holding the Model
Context Protocol servers it may start, and the published schema here
predates it. Regenerated from the release so the block validates, with
the positive test exercising every server key and two negative tests
covering the two ways a server record goes wrong: a misspelled setting
and a record with no command to run.

Claude-Session: https://claude.ai/code/session_01TtwJEdGWh13be72DxUqHZE
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Thanks for the PR!

This section of the codebase is owned by @madskristensen and @hyperupcall - if they write a comment saying "LGTM" then it will be merged.

@madskristensen

Copy link
Copy Markdown
Contributor

Thanks!

@madskristensen
madskristensen merged commit 90bbd91 into SchemaStore:master Sep 4, 2026
5 checks passed
@NjoyimPeguy
NjoyimPeguy deleted the crucible-code-0.36.0 branch September 6, 2026 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants