container app - deploying and setting up mcp server and calling it remotely from your vscode agent
To create a container app, we need to setup our mcp server code, then deploy to the server in Azure. Finally we will test it using our vscode. The following are the code we using for todo task. from mcp . server . fastmcp import FastMCP from mcp . server . transport_security import TransportSecuritySettings from task_store import store mcp = FastMCP ( " TasksMCP " , stateless_http = True , transport_security = TransportSecuritySettings ( enable_dns_rebinding_protection = False ) ) @ mcp . tool () async def list_tasks () -> list [ dict ]: """ List all tasks with their ID, title, description, and completion status. """ return store . get_all () @ mcp . tool () async def get_task ( task_id : int ) -> dict | None : """ Get a single task by its numeric ID. Args: tas...