You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -640,12 +640,9 @@ Now that *local.settings.json* points to your actual Azure resources provisioned
640
640
641
641
>[!alert] This may take a minute to start.
642
642
643
-
2. [] Look for output indicating the Functions host has started successfully. You should see your functions listed, including the HTTP endpointsandthe MCP tool trigger functions, as shown below:
643
+
2. [] Look for output indicating the Functions host has started successfully. You should see your functions listed, including the HTTP endpoints, the MCP tool trigger functions, and even an orchestration (we'll run this soon), as shown below:
> The Functions runtime is using file-based secret storage via the "AzureWebJobsSecretStorageType": "files" setting, eliminating the need for Azurite or other storage emulators.
> [!knowledge] (Optional) 9.1 Test withREST Client (End-to-End Smoke test)
651
648
>
@@ -667,7 +664,7 @@ Now that *local.settings.json* points to your actual Azure resources provisioned
667
664
>5. Test a few more operations to ensure everything works:
668
665
>- Save a more complex snippet using the **### Save a complex snippet** request
669
666
>- Retrieve it using the corresponding GET request
670
-
>- Try the AI agent functions by running the **### Generate wiki documentation** or **### Generate code style guide** requests
667
+
>- Try the AI agent functions by running the **### Generate wiki** or **### Generate code style guide** requests
671
668
>
672
669
>6. For the agent-based functions (wiki and code style guide), note that these may take longer to execute (10-30 seconds) as they involve creating an AI agent that analyzes your saved snippets.
673
670
>
@@ -683,10 +680,10 @@ Now, connect GitHub Copilot Chat to your *locally running* Function App's MCP en
683
680
1. [] **Verify MCP Server Configuration**:
684
681
- In VS Code, open the **.vscode/mcp.json**file
685
682
- You should see the **local-snippy** server already configured
686
-
- If you see a "Running" status with tools count (e.g., "✓ Running | Stop | Restart | 4 tools"), the server is already connected
683
+
- If you see a "Running" status with tools count (e.g., "✓ Running | Stop | Restart | 5 tools"), the server is already connected
687
684
- If not connected, select the **Start** button in the file (appears at the top of the JSON configuration)
- [] In Copilot Chat, lets try explicity using the server and enter `#local-snippy get the snippet named ai-agents-service-usage`, then select **Enter** or **Send**.
752
-
- [] Copilot will suggest using the **get_snippet** tool - Select **Continue**.
749
+
- [] Copilot will suggest using the **get_snippet** tool - Select **Allow**.
- In the terminal where `func start`is running, you'll see logs for each tool invocation
@@ -790,9 +785,9 @@ Now you'll test the `generate_comprehensive_documentation` tool, which orchestra
790
785
2. [] **Trigger the Multi-Agent Orchestration**:
791
786
- In GitHub Copilot Chat (with the **local-snippy**MCP server active), enter the following prompt:
792
787
793
-
`Generate comprehensive documentation with emphasis on the MCP tools, vector search capabilities and code style. Save in a new file called comprehensive-documentation.md`
788
+
`#local-snippy Generate comprehensive documentation with emphasis on the MCP tools, vector search capabilities and code style. Save in a new file called comprehensive-documentation.md`
794
789
795
-
- Select **Continue** when Copilot asks to use the **generate_comprehensive_documentation** tool
790
+
- Select **Allow** when Copilot asks to use the **generate_comprehensive_documentation** tool
796
791
797
792
3. [] **Monitor the Orchestration**:
798
793
- Switch to your browser at `http://localhost:8082/`
@@ -889,7 +884,9 @@ Finally, configure VS Code and Copilot Chat to use the tools running on your *de
889
884
890
885
>[!note]The output will be a long string -**copy this value**. This is your **<system-key>** required for calling the MCP endpoint.
891
886
892
-
2. [] **Add Cloud Endpoint to *.vscode/mcp.json*:** After retrieving your Function App name andMCP system key, you can now configure the cloud endpoint in*.vscode/mcp.json*.
887
+
2. [] **Add Cloud Endpoint to *.vscode/mcp.json*:**
888
+
889
+
After retrieving your Function App name andMCP system key, you can now configure the cloud endpoint in*.vscode/mcp.json*.
893
890
894
891
Stop the **local-snippy** server if it is still running.
895
892
@@ -913,7 +910,7 @@ Finally, configure VS Code and Copilot Chat to use the tools running on your *de
913
910
914
911
This setup allows the cloud-hosted MCP to receive and stream events securily.
@@ -925,14 +922,9 @@ Finally, configure VS Code and Copilot Chat to use the tools running on your *de
925
922
Repeat the tests from earlier, but this time with the *remote-snippy* server:
926
923
927
924
* Select some code.
928
-
* Ask Copilot: `save the selected snippet as my-cloud-mcp-test`
929
-
930
-
>[!alert] If you see errors on **local-snippy**, open*.vscode/mcp.json*, delete the block of text for**local-snippy**, then try again. You may need to start a new chat if it continues to attempt with**local-snippy**.
0 commit comments