OCaml Development Tools
Integrates with OCaml's Dune build system and Merlin code intelligence to provide real-time build status monitoring and module sig
This OCaml MCP server implementation provides development tools for OCaml projects through integration with the Dune build system and Merlin code intelligence engine. Built by Thibaut Mattio using a modular architecture with separate core protocol library (mcp), Eio-based transport layer (mcp-eio), and high-level SDK (mcp-sdk), it offers two primary tools: dune/build-status for retrieving build progress and diagnostics via Dune RPC polling, and ocaml/module-signature for extracting module type information using Merlin's analysis capabilities. The implementation features automatic project root detection, background RPC client management, comprehensive transport support (stdio, TCP, Unix sockets, HTTP), and type-safe argument handling with JSON schema generation, making it valuable for AI assistants working with OCaml codebases that need real-time build feedback and code intelligence without manual IDE integration.
Source
Repository: https://github.com/tmattio/ocaml-mcp
Maintain OCaml Development Tools?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[OCaml Development Tools on getagentictools](https://getagentictools.com/mcp/tmattio-ocaml-mcp?ref=badge)