Model Context Protocol in OCaml
OCaml
99.2%
Dune
0.1%
Other
0.8%
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>