1. Conduid
  2. Developer Tools
  3. Remote MCP Functions Python
MCP server · Developer Tools

Remote MCP Functions Python

Getting Started with Remote MCP Servers using Azure Functions (Python)

Unclaimed MIT last commit 6 months ago mcpazure-functionsmcp-serverdevtoolsazure-functions-python
82Excellent

Scored 3 hours ago · breakdown

About Remote MCP Functions Python

Remote MCP Functions Python is an MCP server published by Azure-Samples in the Developer Tools category: getting Started with Remote MCP Servers using Azure Functions (Python). It has been installed 0 times through Conduid.

The repository has 114 stars and 66 forks, with the last commit 6 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues (0) before depending on it in production.

Install

Install
npx remote-mcp-functions-python

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about Remote MCP Functions Python

Powered by Claude · Grounded in docs

I know everything about Remote MCP Functions Python. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v1.0.0v1.0.0
1.0.0-preview.21.0.0-preview.2
1.0.0-preview.11.0.0-preview.1

README

Getting Started with Remote MCP Servers using Azure Functions (Python)

This is a quickstart template to easily build and deploy custom remote MCP servers to the cloud using Azure Functions with Python. You can clone/restore/run on your local machine with debugging, and azd up to have it in the cloud in a couple minutes.

The MCP servers are configured with built-in authentication using Microsoft Entra as the identity provider.

You can also use API Management to secure the server, as well as network isolation using VNET.

If you're looking for this sample in more languages check out the .NET/C# and Node.js/TypeScript versions.

Open in GitHub Codespaces

Below is the architecture diagram for the Remote MCP Server using Azure Functions:

Architecture Diagram

Sample Applications

This repository includes two sample MCP applications:

  • FunctionsMcpTool - An MCP server with sample tools demonstrating various patterns (hello world, snippet management, and more)
  • McpWeatherApp - An interactive MCP App that displays weather information with a visual UI

See each app's README for detailed setup and usage instructions.

Prerequisites

Local testing

Choose the sample app you want to run and follow its README:

Each app's README contains detailed instructions for:

  • Setting up the local environment
  • Installing dependencies
  • Running the function app locally
  • Connecting from MCP clients (VS Code, MCP Inspector)
  • Testing and verification

Deploy to Azure for Remote MCP

Step 1: Choose which app to deploy

This repository contains multiple sample apps. Open azure.yaml and set project: to the app you want to deploy:

App project: value
FunctionsMcpTool (default) ./src/FunctionsMcpTool
McpWeatherApp ./src/McpWeatherApp
services:
  api:
    project: ./src/FunctionsMcpTool    # ← change this to deploy a different app
    language: python
    host: function

Step 2: Create an environment and configure

In the root directory, create a new azd environment:

azd env new <environment-name>

Configure VS Code as an allowed client application to request access tokens from Microsoft Entra:

azd env set PRE_AUTHORIZED_CLIENT_IDS aebc6443-996d-45c2-90f0-388ff96faa56

Optional: Enable VNet isolation:

azd env set VNET_ENABLED true

Step 3: Deploy

Run this azd command to provision the function app, with any required Azure resources, and deploy your code:

azd up

Additionally, API Management can be used for improved security and policies over your MCP Server.

Step 4: Connect to remote MCP server in VS Code

After deployment, connect to your remote MCP server using https://<funcappname>.azurewebsites.net/runtime/webhooks/mcp.

The .vscode/mcp.json file is already configured with both local and remote server options. Click Start on the remote-mcp-function server and provide your function app name when prompted. The server uses built-in MCP authentication, so you'll be asked to login.

Redeploy your code

You can run the azd deploy command as many times as you need to both provision your Azure resources and deploy code updates to your function app.

[!NOTE] Deployed code files are always overwritten by the latest deployment package.

Clean up resources

When you're done working with your function app and related resources, you can use this command to delete the function app and its related resources from Azure and avoid incurring any further costs:

azd down

Troubleshooting

Error Solution
deployment was partially successful / KuduSpecializer restart during azd up This is a transient error. Run azd deploy to retry just the deployment step.
AttributeError: 'FunctionApp' object has no attribute 'mcp_resource_trigger' Python 3.13 is required. Verify with python3 --version. Install via brew install python@3.13 (macOS) or from python.org. Recreate your virtual environment with Python 3.13 after installing.

Helpful Azure Commands

Once your application is deployed, you can use these commands to manage and monitor your application:

# Get your function app name from the environment file
FUNCTION_APP_NAME=$(cat .azure/$(cat .azure/config.json | jq -r '.defaultEnvironment')/env.json | jq -r '.FUNCTION_APP_NAME')
echo $FUNCTION_APP_NAME

# Get resource group 
RESOURCE_GROUP=$(cat .azure/$(cat .azure/config.json | jq -r '.defaultEnvironment')/env.json | jq -r '.AZURE_RESOURCE_GROUP')
echo $RESOURCE_GROUP

# View function app logs
az webapp log tail --name $FUNCTION_APP_NAME --resource-group $RESOURCE_GROUP

Architecture

This sample demonstrates building MCP servers with Azure Functions using Python. It showcases two different patterns:

  1. Simple MCP Tools - Functions that expose tools using the @app.mcp_tool() decorator with Azure bindings (see FunctionsMcpTool)
  2. MCP Apps - Tools that return interactive UIs using MCP resources and the ui:// scheme (see McpWeatherApp)

Both patterns use the first-class MCP decorators available in azure-functions>=2.0.0, which:

  • Infer tool properties from function signatures and type hints
  • Eliminate manual JSON serialization
  • Integrate seamlessly with Azure Functions bindings

Next Steps

README mirrored from the source repository 3 hours ago. The original is authoritative.

Questions

About Remote MCP Functions Python

How do I install Remote MCP Functions Python?

Run npx remote-mcp-functions-python, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is Remote MCP Functions Python safe to use with an AI agent?

Its trust score is 82 out of 100 (excellent). It passes 0 of 1 static security checks; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Remote MCP Functions Python still maintained?

The last commit was 6 months ago, with 0 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.