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.
- Created a new MCP server for directly evaluating OCaml code
- Uses compiler-libs.toplevel for direct code evaluation in process
- Provides rich error messages with detailed diagnostics
- Maintains toplevel state between evaluations
- Initializes with common libraries and modules
- Returns formatted results with syntax highlighting
- Captures stdout/stderr output during evaluation
馃 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Implemented a simple GIF image generator with 8-color palette
- Created a basic red and blue checkerboard pattern
- Added proper GIF header, descriptor, and image data blocks
- Updated all image MIME types to image/gif
- GIF format is more widely compatible than SVG
- This makes the multimodal example more self-contained without dependencies
馃 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>