Skip to content
CAI
Software that uses CAICheck a score

jovaneyck/fsi-mcp-server

69.6

Adequate · 3 October 2026

407

lines of production code

F#

with C#

2

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is an FSI MCP Server that exposes F\# Interactive capabilities as tools via the Model Context Protocol, allowing AI agents to execute F\# code and scripts programmatically. It captures and queues execution events in real-time, enabling integrated development environments to track output and errors through structured API calls. The project includes example implementations in C\# and F\# to demonstrate HTTP transport integration and provides smoke tests to verify core functionality.

Features

Add C\# and F\# MCP server example applications

New example projects have been added for C\# and F\# that implement Model Context Protocol (MCP) servers using HTTP transport. The C\# example exposes an echo tool and a reverse-echo tool via an ASP.NET Core application, while the F\# example provides the same tools with additional CORS and forwarded headers support to facilitate access from WSL2 environments.

mcp-example-csharp, mcp-example-fsharp · high confidence

Initial repository scaffolding for FSI MCP Server

The repository has been initialized with the core project structure for the FSI MCP Server, including the main solution file, the F\# server project, and example client projects for C\# and F\#. Essential configuration files have been added, such as a .gitignore to exclude build artifacts and logs, and a CLAUDE.md to guide AI coding assistants. Comprehensive documentation is provided in the README.md, detailing the server's architecture, usage as a drop-in replacement for F\# Interactive, and integration instructions for JetBrains Rider, Claude Code, and GitHub Copilot. A basic scratch file is also included for manual testing.

(repo-wide) · high confidence

Server now exposes F\# FSI capabilities via MCP tools

The server has been reworked to integrate with the Model Context Protocol (MCP), exposing F\# Interactive (FSI) functionality as discoverable tools for AI agents. Users can now execute F\# code snippets, load and run .fsx script files, and retrieve session status or recent events through specific MCP tool calls (SendFSharpCode, LoadFSharpScript, GetRecentFsiEvents, GetFsiStatus). This replaces previous file-based I/O mechanisms with a structured API, allowing external agents to interact with the F\# REPL programmatically while maintaining console input forwarding for direct usage.

server · high confidence

Behavioural changes

FSI service now intercepts and queues execution events for MCP clients

The FsiService implementation now captures FSI output and errors in real-time, queuing them as structured events (including session ID and source) that MCP clients can retrieve. Input sent to the FSI process is also logged as events, allowing clients to track execution history. The service maintains a concurrent event queue and provides methods to retrieve recent or all events, enabling streaming and polling capabilities for integrated development environments.

fsi-mcp-server · high confidence

Test coverage

Added smoke tests for FSI server and MCP HTTP integration

Added a new test file, SmokeTests.fs, containing smoke tests for the FSI server and MCP HTTP integration. The tests verify that basic F\# code evaluation works via console I/O, that the MCP server responds to status tool calls, and that an HTTP round trip for sending F\# code and retrieving recent FSI events functions correctly.

tests · high confidence

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 70 → 70 (-0.0)
  • Rubric changed (rubric-2026.09.15 → rubric-2026.10.1) — scores are not directly comparable.

Lenses

  • Code Health 100 → 100 (+0.0)
  • Architecture 96 → 99 (+2.8)
  • Maturity 59 → 59 (+0.0)
  • Readiness 94 → 94 (+0.0)
  • Security 62 → 61 (-0.9)

Resolved (6)

  • Documentation: no installation or build instructions (README.md)
  • Documentation: no licence statement (README.md)
  • Documentation: no usage examples (README.md)
  • redundant comment (mcp-example-csharp/Program.cs)
  • redundant comment (mcp-example-csharp/Program.cs)
  • redundant comment (mcp-example-csharp/Program.cs)

New (3)

  • redundant comment (mcp-example-csharp/Program.cs)
  • redundant comment (mcp-example-csharp/Program.cs)
  • redundant comment (mcp-example-csharp/Program.cs)

API surface

  • Unchanged — 2 HTTP endpoints

Architecture

  • Unchanged — 1 containers · 1 contexts · 0 edges

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

jovaneyck/fsi-mcp-server was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 3 October 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit b6e49b3420503ba72cc98ea65fc5fdb21e8d98e1 — the exact code this score is about.
  • Scored under rubric-2026.10.1 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-4f4226d619ea.