Neftedollar/FsLangMCP

View on GitHub ↗

Semantic F# for AI coding agents (Claude Code · Cursor · Copilot · Codex) — an MCP server that gives LLMs real FCS/FSAC compiler intelligence (find, check, types, rename) instead of grepping F#.

25 ★2 forksF#Updated 1mo ago

What you need to know

A semantic F# MCP server with 35 tools that uses the real F# compiler (FCS in-process + FSAC LSP) for cross-project find, check, types, rename preview, dead-code, diagnostics and code actions, instead of grepping.

Install

dotnet tool install -g FsLangMcp
fslangmcp --bootstrap-tools

Usage

  • •set_project with your .fsproj or .sln, then call find or check
  • •Use fcs_rename_preview to preview a semantic rename without writing

Key features

  • ✓35 tools in 8 groups
  • ✓Cross-project semantic find, trustworthy check verdicts
  • ✓Diagnostic explanations, suggested opens, code-action fixes
  • ✓Rename/refactor impact preview, dead-code and public API surface
  • ✓Raw LSP endpoints for completion, formatting, code actions and rename

Best for

F# agents that need compiler-grade semantics instead of text search

Caveats

  • ⚠Requires .NET SDK 10+
  • ⚠LSP proxy tools are serialized and can be slow to become race-ready on first load
Platforms: Windows · Linux · macOSClients: Claude Code · any MCP client

Reviewed 2026-08-11

Topics

agentic-aiai-agentsclaudecode-intelligencecopilotcursordeveloper-toolsdotnetfsautocompletefsharpfsharp-compiler-servicelanguage-serverllmmcpmodel-context-protocol
Stars
25★
Forks
2
Language
F#
License
MIT
Created
2026-04-05
Last push
2026-08-17