mcp-server
mcp-server copied to clipboard
Testing: add a smoke test for JSON snippets in `docs/settings`
Opened by @francescobianco from local draft 09-docs-settings-smoke-test.md.
Summary
A few config files under docs/settings/ are clearly meant to be copied into AI clients. It would be useful to have a tiny CI check that validates these snippets stay parseable and do not drift away from the README.
Reproduction
- Open the files in
docs/settings/. - Notice they are user-facing configuration examples.
- There is no obvious test making sure the examples remain valid JSON and safe placeholders.
Expected
At least a small test or script that:
- validates JSON syntax
- checks for placeholder values instead of token-like literals
- optionally verifies referenced URLs and keys stay aligned with the docs
Actual
Example config quality is enforced manually.
Why this is a good first issue
The scope is small and can likely be implemented as a shell or pytest check.
Suggested acceptance criteria
- Add one automated check for
docs/settings/*.json. - Fail if a token-looking literal is committed again.
- Document the check in docs/testing.md.