{
"mcpServers": {
"ocaml-mcp": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
OCaml implementation of the Model Context Protocol (MCP)
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
ISC. View license →
Is it maintained?
Last commit 239 days ago. 56 stars.
Will it work with my client?
Transport: stdio, sse. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationHave you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Dynamic problem-solving through sequential thought chains
A Model Context Protocol server for searching and analyzing arXiv papers
An open-source AI agent that brings the power of Gemini directly into your terminal.
The official Python SDK for Model Context Protocol servers and clients
MCP Security Weekly
Get CVE alerts and security updates for Ocaml Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Supercharge OCaml development with AI coding agents. This MCP server gives AI assistants deep integration with your OCaml projects through Dune, Merlin, and other OCaml Platform tools.
MCP is an open protocol that enables AI models to securely access local services and tools. This project provides both the core protocol implementation for OCaml and a ready-to-use development server.
This repository contains:
Protocol Libraries - Build your own MCP servers and clients in OCaml
OCaml Development Server
opam install ocaml-mcp-server
# Using stdio
ocaml-mcp-server
# As an HTTP server
ocaml-mcp-server --socket 8080
The ocaml-mcp-server provides comprehensive OCaml development tools:
Dune Build System Integration
dune/build-status - Real-time build status with error reportingdune/build-target - Build specific targets with streaming outputdune/run-tests - Execute tests with detailed results (🚧 WIP - no tests)OCaml Code Analysis
ocaml/module-signature - Get module signatures from compiled artifactsocaml/find-definition - Jump to symbol definitions (🚧 WIP - no tests)ocaml/find-references - Find all usages of a symbol (🚧 WIP - no tests)ocaml/type-at-pos - Get type information at cursor position (🚧 WIP - no tests)ocaml/project-structure - Analyze project layout and dependenciesocaml/eval - Evaluate OCaml expressions in project contextFile System Tools (with OCaml superpowers)
fs/read - Read files with automatic Merlin diagnostics for OCaml codefs/write - Write files with automatic OCaml formattingfs/edit - Edit files while preserving OCaml syntax validityThe server integrates with Merlin, Dune RPC, ocamlformat, and other OCaml Platform tools.
High Priority:
Feature Parity:
$/cancel notifications, but implementing proper cancellation requires thread-safe cancellation tokens and checking cancellation status during long operationsContributions are welcome! Please feel free to submit issues and pull requests.
ocaml-mcp is available under the ISC License.