MCP Catalogs
首页

SageFs

by WillEhrendreich·64·综合分 46

一个具有热重载、实时测试和 AI 代理 MCP 集成的实时 F# 开发引擎。

developer-toolsai-llm
3
Forks
4
活跃 Issue
本月
最近提交
2 天前
收录于

概述

SageFs 是一个基于守护程序的 F# 开发工具,通过实时评估、内联结果、测试标记和热重载提供亚秒级代码变更反馈。它通过 MCP 服务器为 AI 代理提供状态机工具,支持 F# 代码执行、类型检查、测试验证和失败解释。多个编辑器和 AI 代理可以同时连接,共享相同的实时会话状态。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:AI 辅助的 F# 开发,具备直接代码执行能力
:实时测试,每次保存后立即获得反馈
:跨编辑器 F# 开发,支持热重载
:SageFs 与 Ionide 有什么区别?
:我可以同时使用 REPL 和 Live 模式吗?

什么时候选它

当您使用 F# 项目,特别是需要通过 Falco 等 F# 框架进行 Web 开发,并需要通过实时测试和热重载获得即时反馈以及 AI 代理集成时,选择 SageFs。

什么时候不要选它

如果您主要使用 F# 以外的语言,或者需要类型重定义与浏览器热重载结合(.NET 运行时的限制),则不适合使用。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • eval_code

    Evaluate F# code and return results

  • run_tests

    Execute tests in the current session

  • create_session

    Create a new session for a project

  • switch_workflow

    Switch between REPL and Live workflows

  • get_diagnostics

    Retrieve current diagnostic information for the session

  • get_coverage

    Get code coverage information for tests

  • toggle_hot_reload

    Enable or disable hot reload functionality

  • get_test_results

    Retrieve test execution results and status

  • mark_tests_stale

    Mark all tests as stale to trigger re-execution

  • get_type_info

    Retrieve type information and definitions

  • get_call_graph

    Generate a call graph for functions in the project

  • get_history

    Retrieve the execution history of the current session

可对比工具

ionide-fsharpfsharp.fsxdotnet-interactive

安装

dotnet tool install --global SageFs

对于 MCP 集成,添加到 Claude Desktop 配置:

{
  "mcpServers": {
    "sagefs": {
      "command": "sagefs",
      "args": ["mcp"]
    }
  }
}

FAQ

SageFs 与 Ionide 有什么区别?
Ionide 通过 F# 编译器服务提供智能感知和诊断。SageFs 添加了实时执行功能:评估表达式、查看内联结果、连续测试反馈和热重载。
我可以同时使用 REPL 和 Live 模式吗?
是的,SageFs 支持两种模式。REPL 模式允许完全的类型重定义,而 Live 模式启用浏览器热重载。您可以根据需要切换它们。

SageFs 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。