Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.67 KB

File metadata and controls

31 lines (21 loc) · 1.67 KB

這相當於執行像這樣的指令:node build/index.js.

  • Change this server entry to fit where your server file is located or to what's needed to startup your server depending on your chosen runtime and server location.

Consume the features in the server

  • Click the play icon, once you've added mcp.json to ./vscode folder,

    Observe the tooling icon change to increase the number of available tools. Tooling icon is located right above the chat field in GitHub Copilot.

Run a tool

  • Type a prompt in your chat window that matches the description of your tool. For example to trigger the tool add,然後輸入類似「add 3 to 20」的內容。

你應該會看到聊天文字框上方出現一個工具提示,提示你選擇執行該工具,畫面如下所示:

VS Code indicating it wanting to run a tool

選擇該工具後,如果你的輸入如前所述,應該會得到一個數字結果「23」。

免責聲明
本文件係使用 AI 翻譯服務 Co-op Translator 進行翻譯。雖然我們力求準確,但請注意,自動翻譯可能包含錯誤或不準確之處。原始文件之母語版本應視為權威來源。對於重要資訊,建議採用專業人工翻譯。我們不對因使用本翻譯而產生的任何誤解或誤釋負責。