Skip to content

Releases

Farol 0.3.0

Choose a tag to compare

@yuriafp yuriafp released this 02 Dec 13:12

Phase 3 of spec 003: MCP tasks for long operations, and skills served by the server.

Added

  • MCP tasks (specification 2025-11-25, experimental): dotnet_build, dotnet_test, dotnet_workspace and
    dotnet_convert_project declare execution.taskSupport: "optional", and a client that sends task with the call
    gets a task at once, then follows it with tasks/get, tasks/list, tasks/result, tasks/cancel and
    notifications/tasks/status. An ended task keeps its result in memory for Farol:TaskRetentionMinutes (default 60)
    or the client's shorter ttl; Farol:Tasks=false turns tasks off. Calls without task behave as before.

    • A task's status message is the tool's last progress message; tasks/cancel stops a build or test run with its
      process tree, as cancelling the call does.
    • A call refused by its checks (arguments, --read-only) gets the answer it gets without task, and no task.
    • While a build, test or convert task holds a workspace, another build or test of it, task or not, is refused with
      conflict naming the task, instead of waiting behind it; synchronous calls still wait for each other.
    • A load task joins a load already running (the autoload's, for one) and reports its evaluation steps; cancelling it
      leaves the load running.
    • A convert with apply=true cancelled after it started writing puts every file back as it was and reloads the
      workspace, task or not; tasks/result says so, and names any file it could not restore. While a conversion writes, a
      build or test task of the workspace is refused with conflict.
  • Skills from the server: the plugin's playbook is now three skills, modernize, maintain-legacy and refactor,
    and the server serves the same files to every client, as text/markdown resources farol://skills/<name> and as
    the prompts skill_modernize, skill_maintain_legacy and skill_refactor. The four earlier prompts are unchanged.

Changed

  • The plugin's farol skill is split into the three skills above; the server instructions point at them.
  • The server instructions name the refactoring tools and dotnet_convert_project, and when to use them; the migration
    plan's conversion tasks and the plugin's playbook point at them. In evals, the agent now moves types and converts
    packages.config through Farol in every run where those tools fit (results).

Clients and tasks

Claude Code 2.1.312 speaks MCP 2026-07-28 and uses that revision's tasks extension (io.modelcontextprotocol/tasks), not the 2025-11-25 tasks Farol serves, so it keeps calling the four tools synchronously, as with 0.2.0. Supporting the extension is deferred to a later spec (spec 003 log).

Install: dotnet dnx Farol.Mcp@0.3.0 --yes, or update the Claude Code plugin with /plugin marketplace update farol.

Farol 0.2.0

Choose a tag to compare

@yuriafp yuriafp released this 30 Nov 22:07

Phase 2 of spec 002: refactorings, project conversion, analyzers, loads without Visual
Studio, a persistent index and structured output.

Added

  • Five tools, 23 in all. Each previews a unified diff; apply=true writes it (refused under --read-only, and refused
    with conflict when a file changed since the preview) and returns a fresh dotnet_check:
    • dotnet_rename: a type, member, parameter or local in every C# and VB file and in WebForms and XAML markup,
      with the file named after a type (and its markup and project items); refuses a name that clashes or rebinds.
    • dotnet_change_signature: reorders, removes and adds parameters, updating every call in C# and VB.
    • dotnet_move_type: a type to its own file, another namespace or both, with the using/Imports its users need.
    • dotnet_extract_method: whole statements into a new method, through Roslyn's extract method.
    • dotnet_convert_project: a classic project to SDK-style with the same .NET Framework target (sdk_style), or
      packages.config to PackageReference (package_reference); restores, reloads and compares the project before and
      after.
  • dotnet_check runs the projects' analyzers (CA and IDE rules, NuGet analyzers) on the edited files (the file or the
    project with scope=file|project) with analyzers=true or Farol:CheckAnalyzers, as the build would report them, under a time limit, and says how long they took; the plugin's
    hook reports them when the option is on.
  • Loads without Visual Studio: where no MSBuild can evaluate .NET Framework projects (Linux, or the .NET SDK alone),
    a heuristic loader reads the project files, packages and markup, with reference assemblies from
    Microsoft.NETFramework.ReferenceAssemblies; answers say the load is heuristic, dotnet_check works, build and test
    need MSBuild. A .binlog named as the workspace (or Farol:Binlog) loads from the compiler calls it recorded.
  • A persistent index of each workspace (SQLite, under Farol/index in the local application data folder), written
    after the load and kept up to date in the background. At the next start, navigation and dotnet_overview answer from
    it while the load runs, saying when it was written and which files changed since. Farol:Index=false turns it off;
    Farol:IndexDirectory moves it; an index unused for 30 days is deleted.
  • Every tool declares an outputSchema and returns structuredContent built from the same results as its text.
  • The MCP Registry lists Farol as io.github.yuriafp/farol, published by a workflow when a GitHub release is published.

Changed

  • The benchmarks also time dotnet_check with analyzers and a server's start to its first answer from the index; CI
    runs the suite on Linux too, with the legacy fixtures loaded heuristically, and smoke-tests the package there.

Install: dotnet dnx Farol.Mcp@0.2.0 --yes, or the Claude Code plugin. Full notes: CHANGELOG.

Farol 0.1.1

Choose a tag to compare

@yuriafp yuriafp released this 17 Nov 22:53

Changed

  • The edit hook waits for a workspace load that is done within 20 seconds of its start, then answers with the check of
    the edit, so the first edits on a small solution are checked as they are made. A longer load still gets the note that
    the edit is checked once the load is done; since the wait counts from the load's start, later edits during that load
    are not held. Farol:HookLoadWaitSeconds sets the wait, up to 30 seconds; 0 never waits.

Farol 0.1.0

Choose a tag to compare

@yuriafp yuriafp released this 17 Nov 21:45

The first release that is not an alpha: Phase 1, the MVP of spec 001, is done.

Changed

  • Farol runs the compiler of .NET 11 (Microsoft.CodeAnalysis 5.12). The analyzers and source generators of the .NET 11
    SDK, such as the Razor generator, now run inside Farol from the SDK the solution builds with: they no longer come from
    an older installed SDK, and on a machine with only the .NET 11 SDK their projects no longer miss their code.

Farol 0.1.0-alpha.6

Farol 0.1.0-alpha.6 Pre-release
Pre-release

Choose a tag to compare

@yuriafp yuriafp released this 17 Nov 21:45

Fixed

  • An edit made while the workspace loads is no longer lost. The load could read the file already edited and take the
    edit into its baseline, so no later check reported it. A C# or VB file that Farol hears of before the load is done
    (the hook's edited, or a path), or whose time on disk is later than the load's start, is now kept out of the
    baseline: the next dotnet_check that covers it, once the load is done, lists all of its errors and warnings as new
    and says that Farol did not see the file before the change, so some may be older. The hook still does not wait for
    the load; during it, the hook tells the agent, as added context, that the edit is checked once the load is done.

Farol 0.1.0-alpha.5

Farol 0.1.0-alpha.5 Pre-release
Pre-release

Choose a tag to compare

@yuriafp yuriafp released this 17 Nov 21:45

Changes from two weeks of real use (results, investigation).

Changed

  • A call about a file (the hook's edited, a path, or a path:line symbol) without workspace, in a root that holds
    no single solution, uses the workspace in use whose folder holds the file, else the solution nearest above the file.
    Started in a folder of repositories, the plugin's edit hook now checks each edit against its own solution.
  • When the hook still cannot pick a solution, its first answer in a server tells the agent how to name one, as added
    context: Claude Code never shows an agent a hook's error. Edits to files that are not C# or VB, or that are outside
    the trusted directories, are passed over before a solution is picked.
  • dotnet_workspace status, while a load runs, says that the other tools wait for the load, and how long the last load
    of that workspace in the same server took. Told only to call again, an agent went back to grep.

Fixed

  • Farol no longer holds the files of analyzers and source generators, nor of the libraries they use: it loads copies
    of them, under the temp directory, so a solution that builds its own generators can rebuild them while Farol runs. A
    later server removes the copies once the process that made them has exited. Analyzers that cannot be copied, such as
    ones a build is writing, load from their own files, and a load issue says so.
  • An analyzer or source generator built for a newer compiler than Farol runs no longer fails without a word. When it
    comes with the .NET SDK and no global.json pins the SDK, Farol takes it from the newest installed SDK whose
    compiler it runs, and a load issue says so: on a .NET 11 preview SDK, the Razor generator did not run, and Blazor
    solutions loaded with hundreds of errors that a build does not have. Otherwise a load issue names the analyzer, the
    compiler version it needs and the projects missing its code, and says how to fix it.

Security

  • System.Security.Cryptography.Pkcs, which NuGet's libraries bring in at 8.0.1, is raised to 10.0.13, which fixes two
    denial-of-service advisories (GHSA-846f-f764-76mx, GHSA-2fmv-rv2c-59x7).

Farol 0.1.0-alpha.4

Farol 0.1.0-alpha.4 Pre-release
Pre-release

Choose a tag to compare

@yuriafp yuriafp released this 13 Oct 20:58

Fixes from the first days of real use and from a stress test: more of the paths and names agents write are found, and errors that had no explanation now say what to pass. The 18 tools, the four prompts and the Claude Code plugin work as before.

Install

  • Claude Code: update the marketplace (/plugin marketplace update farol) to move the plugin to this version. To install it, run /plugin marketplace add yuriafp/Farol, then /plugin install farol@farol.
  • Any MCP client: dotnet dnx Farol.Mcp@0.1.0-alpha.4 --yes, which needs the .NET 10 SDK.
  • As a .NET tool: dotnet tool install --global Farol.Mcp --prerelease, or dotnet tool update with the same arguments from an earlier version. The client's command is then farol.

Setup for each client: README.

Changes

  • Solutions below the root: a call without workspace uses the workspace already in use when the root holds no single solution, and a relative path that names nothing under the root resolves from the workspace's folder. Paths still have to be inside the trusted directories.
  • Names from packages and the framework: the tools that take a symbol find types such as JsonConvert or System.Text.StringBuilder by name, and their members by a name qualified with the type.
  • dotnet_check with a path reads that file first, so a file created a moment ago is checked instead of refused.
  • Errors that say what to pass: an empty or missing argument, one of the wrong JSON type, an unknown project, a path the workspace does not compile or a path with a null character is an invalid_argument error that names the problem. Before, some of these had no code or detail.
  • Robustness: the server starts when its root holds folders it may not list, as a drive or a user profile does. Two Farol processes building or testing the same workspace take turns instead of failing, and a call made during a reload waits for it.
  • Antigravity: the README now recommends trusting the folder that holds your repositories with --Farol:TrustedPaths:0 <folder> rather than making it the root with --root.

Known limits are those of 0.1.0-alpha.1. Every change by version: CHANGELOG.

Farol 0.1.0-alpha.3

Farol 0.1.0-alpha.3 Pre-release
Pre-release

Choose a tag to compare

@yuriafp yuriafp released this 09 Oct 22:18

Adds a usage log for measuring how Farol is used, kept only on your machine. The 18 tools, the four prompts and the Claude Code plugin work as before.

Install

  • Claude Code: update the marketplace (/plugin marketplace update farol) to move the plugin to this version. To install it, run /plugin marketplace add yuriafp/Farol, then /plugin install farol@farol.
  • Any MCP client: dotnet dnx Farol.Mcp@0.1.0-alpha.3 --yes, which needs the .NET 10 SDK.
  • As a .NET tool: dotnet tool install --global Farol.Mcp --prerelease, or dotnet tool update with the same arguments from an earlier version. The client's command is then farol.

Setup for each client: README.

Changes

  • Usage log, off by default: turn it on with --usage-log in the server's arguments, or with Farol__UsageLog=true in the environment before the client starts. Farol then keeps one JSON line per session, workspace load and warm-up, and tool call, with durations, outcomes and error codes, in Farol/usage under your local application data (Farol:UsageLogDirectory changes it). It never records code, arguments, paths or names: a solution appears as a hash of its file name. Files older than 30 days are deleted, and nothing is sent anywhere.
  • farol --usage-report [--days N] sums the log up: the days with use, each tool's calls, errors and p50/p95 durations, the errors by code and the loads per solution.

Known limits are those of 0.1.0-alpha.1. Every change by version: CHANGELOG.

Farol 0.1.0-alpha.2

Farol 0.1.0-alpha.2 Pre-release
Pre-release

Choose a tag to compare

@yuriafp yuriafp released this 08 Oct 22:58

A small update to 0.1.0-alpha.1: the 18 tools, the four prompts and the Claude Code plugin work as before.

Install

  • Claude Code: update the marketplace (/plugin marketplace update farol) to move the plugin to this version. To install it, run /plugin marketplace add yuriafp/Farol, then /plugin install farol@farol.
  • Any MCP client: dotnet dnx Farol.Mcp@0.1.0-alpha.2 --yes, which needs the .NET 10 SDK.
  • As a .NET tool: dotnet tool install --global Farol.Mcp --prerelease, or dotnet tool update with the same arguments from 0.1.0-alpha.1. The client's command is then farol.

Setup for each client: README.

Changes

  • farol --help (also -h, -? and /?) prints the version, how an MCP client starts Farol and every option, then exits. Before, it started the server, which waited for a client on stdin: an agent checking the install in Visual Studio ran into that.
  • Documentation: agents that keep their own MCP configuration, such as Google Antigravity in Visual Studio, ignore .mcp.json, and Farol also runs as a .NET tool; the README covers both.

Known limits are those of 0.1.0-alpha.1. Scope and acceptance criteria: spec 001.

Farol 0.1.0-alpha.1

Farol 0.1.0-alpha.1 Pre-release
Pre-release

Choose a tag to compare

@yuriafp yuriafp released this 08 Oct 22:57

The first alpha of Farol, an open-source MCP server that gives AI coding agents compiler-accurate understanding of C# and VB.NET solutions, from classic .NET Framework projects to .NET 10.

Install

  • Claude Code: run /plugin marketplace add yuriafp/Farol, then /plugin install farol@farol. You get the server, a hook that checks every .cs/.vb edit, a modernization skill and four prompts.
  • Any MCP client: dotnet dnx Farol.Mcp@0.1.0-alpha.1 --yes, which needs the .NET 10 SDK. Classic .NET Framework projects also need Windows with Visual Studio's MSBuild.

Setup for each client: README.

What's in it

18 tools:

  • Workspace: dotnet_workspace, dotnet_overview.
  • Navigation, in C# and VB: dotnet_find_symbols, dotnet_symbol, dotnet_find_references, dotnet_hierarchy, dotnet_call_hierarchy, dotnet_outline. dotnet_find_references also returns markup references (WebForms, ASMX/WCF/handlers, XAML) and the uses through the interface members a member implements.
  • Verification: dotnet_check reports only the diagnostics your edits introduced. dotnet_code_actions returns Roslyn's fixes and refactorings as diffs.
  • Build and test: dotnet_build, and dotnet_test, which can run only the tests your edits reach.
  • Packages: dotnet_packages lists vulnerable, deprecated and outdated packages, packages.config included. dotnet_package_api returns the API of an exact package version.
  • Legacy modernization: dotnet_legacy_inventory, dotnet_portability, dotnet_config_inspect, dotnet_migration_plan.

It also ships four prompts: explore, verify_changes, upgrade_package and modernize. The --read-only option refuses to write files, build or run tests.

Measured

Speed: measured in CI on 4 cores, after the background warm-up, on two large solutions:

  • Umbraco CMS 18.2.0, 0.77M lines;
  • DNN Platform 10.3.3, 0.58M lines of C# and VB on .NET Framework.
Measure p95 on both solutions Target
Symbol queries 43 ms or less 100 ms
dotnet_find_references 579 ms or less 1 s
dotnet_check after an edit 1.34 s or less 2 s

Peak memory stayed at or under 1.33 GB.

Evals: with Claude Haiku 4.5 on 30 tasks that grep + build often fails, Farol succeeded in 59% of runs against 28% without it, using 32% fewer tokens (results). With Sonnet 5.5, grep + build had already solved every task of the first set (results).

Known limits

  • Validated on Windows with Visual Studio 2026. The VS Code setup is documented but not validated.
  • dotnet_build and dotnet_test run synchronously and report progress notifications, because the C# MCP SDK does not implement tasks yet.
  • dotnet_check reports compiler diagnostics only. Analyzer rules come with dotnet_build.

Scope and acceptance criteria: spec 001.