Skip to content

mcp support a thought #27

Description

@dgrimmin

Good morning Goswin,

Just a thought from my side. In the week 49's Sergey Tihon's blog https://sergeytihon.com/2025/12/06/f-weekly-49-2025-oxpecker-2-fsi-mcp-lsp-aoc-in-f/ there was a topic concerning a mcp server for fsi by Jo van Eyck https://github.com/jovaneyck/fsi-mcp-server . It basically enables an LLM to think along with you by getting access to both the script and the fsi prompt. Under the hood it starts an fsi.exe and listens and acts when appropriate on stdin and stdout https://github.com/jovaneyck/fsi-mcp-server/blob/main/server/FsiService.fs, and otherwise leaves it alone to have the old fsi experience from your editor. It is implemented in a surprisingly light-weight way, and I got it to work quite easily and it does improve my productivity on Revit related coding.

My question is obviously if it would be of any interest to you, to expose the fsi Revit REPL of Fesh.Revit to an LLM. That would mean a LLM would be able to drive a part of the Revit modelling eventually. I know you do not use fsi.exe but the fsharp compiler service. It would come down to somehow do the stdin/stdout redirection with fsc instead with fsi.exe.

It would be great to hear your thoughts on this :) .

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestDiscussion about requested features

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions