azure function hosting mcp server

Run the following command to create the azure function with mcp 

azd init --template remote-mcp-functions-python -e mcpserver-python

Once you have finish, go to the root folder where you will see pyproject.toml and azure.yaml, etc.

Then start vscode. Make sure you have the pre-requisites like Azure function Developer tool and azurite all setup. 

From vscode, select "Debug". It will prompt you to create a virtual environment. Please select "yes". When it ask you to run azurite - please select yes. 

From the chat window, we issue a 

And as you can see from here, we are able to hit the azure function mcp server hello_mcp function.









Comments

Popular posts from this blog

vllm : Failed to infer device type

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

android studio kotlin source is null error