formulahendry 最近的时间轴更新
formulahendry

formulahendry

微信公众号“HJ说”
🏢  微软 / Software Engineer
V2EX 第 205022 号会员,加入于 2016-12-08 16:23:43 +08:00
今日活跃度排名 14464
JetBrains IDEs 也可以免费用 GitHub Copilot 啦
程序员  •  formulahendry  •  91 天前  •  最后回复来自 binge921
13
在 VS Code 中可以免费使用 GitHub Copilot 了!
  •  1   
    Visual Studio Code  •  formulahendry  •  92 天前  •  最后回复来自 473
    50
    [内推] 微软上海 Azure SDK 团队,招人!
    酷工作  •  formulahendry  •  154 天前  •  最后回复来自 klchai
    3
    [微软内推] 微软数字原生团队,热招!
    酷工作  •  formulahendry  •  262 天前  •  最后回复来自 formulahendry
    3
    [微软内推] 苏州 Microsoft 365 多岗位,热招!
    酷工作  •  formulahendry  •  356 天前  •  最后回复来自 EricYuan1
    5
    微软 WWE 多职位热招!两年经验可投
    酷工作  •  formulahendry  •  2024-01-13 18:03:55 PM  •  最后回复来自 megaz
    11
    Awesome GPT 来了!
    程序员  •  formulahendry  •  2023-05-12 11:50:42 AM  •  最后回复来自 lisxour
    23
    formulahendry 最近回复了
    @x4gz 太好啦!🎉🎉🎉
    BTW ,我今天还添加了在 docker 中运行的方式: https://github.com/formulahendry/mcp-server-code-runner?tab=readme-ov-file#docker
    里面预装了 Node.js, Python, Go, PHP, Ruby ,有需要的话,欢迎尝试~
    @x4gz 是的,这个 issue 里面,也有位 macOS 用户,和你遇到类似的问题,他加了 $PATH 环境变量就解决了: https://github.com/formulahendry/mcp-server-code-runner/issues/1#issuecomment-2745329953

    bash zsh 的话,是因为 LanguageId 用的是 `shellscript`: https://github.com/formulahendry/mcp-server-code-runner/blob/main/src/constants.ts#L13 ,没有 mapping 上,之后我会优化下~

    另外, 你的 mac 如果已经装了 node.js 或者其他语言,并且已经设置在 $PATH 环境变量的话,也可以直接试试:用 javascript
    @x4gz 看起来,你 python 解释器的路径,没有设置在 $PATH 环境变量里面,你可以参考下面的文档来设置下:
    https://mac.install.guide/python/command-not-found-python
    @x4gz error message 是什么样的呢?
    如果在 terminal 里,可以直接运行 python xxx.py 吗?
    欢迎提 issue 哈: https://github.com/formulahendry/mcp-server-code-runner/issues
    @x4gz 本地需要安装相应语言的编译器或者解释器哈~
    https://github.com/formulahendry/mcp-server-code-runner?tab=readme-ov-file#usage
    @huluhulu 一般集成 MCP 的 AI 客户端都有确认选项的。
    @kaichen Auto-Approve 是把双刃剑
    @azertim 😀
    @kaichen 要看 MCP Host 怎么调用了~
    目前蛮多编辑器在运行 MCP Server tool 之前,都会让用户确认的:
    https://raw.githubusercontent.com/formulahendry/mcp-server-code-runner/refs/heads/main/images/usage-confirm.png
    @yimity 目前 Code Runner MCP Server 只支持 stido ,只能运行在用户的本地环境里面哈,所以暂时没有这个问题
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5669 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 03:18 · PVG 11:18 · LAX 20:18 · JFK 23:18
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.