code
Clone this repository
https://tangled.org/anil.recoil.org/ocaml-mcp
git@git.recoil.org:anil.recoil.org/ocaml-mcp
For self-hosted knots, clone URLs may differ based on your setup.
- Update all instances of direct 'raise (Json.Of_json' to use the centralized helper
- Use consistent error message formatting with the helper in both mcp.ml and mcp_rpc.ml
- Ensure all JSON parsing errors include the JSON object in the error message
- Maintain standard naming patterns for all error messages
馃 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add logf, debugf, infof, warningf, and errorf functions that take format strings
- Keep original log functions for backward compatibility
- Update logging calls across the codebase to use format string versions
- Simplify code by removing unnecessary Printf.sprintf calls
馃 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>