https://github.com/CharlieDigital/runjs
I wrote an MCP server in C#/.NET that let's LLMs safely generate an run JavaScript using the Jint interpreter.
It includes a `fetch` analogue using `System.Net.HttpClient`, as well as `jsonpath-plus`, and a built-in secrets manager.
The prime use case is working with HTTP REST APIs with an LLM. With this, you can let users safely generate and execute JavaScript in a sandbox.