Azure Functions MCP server

Connect Azure Functions to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.

What you can do with the Azure Functions MCP server

Ask your agent in plain language. Each of these maps to a real tool on the server.

  • Use the manage app settings tool in Azure Functions
  • Use the get function app tool in Azure Functions
  • Use the list deployments tool in Azure Functions
  • Use the manage deployment slots tool in Azure Functions
  • Use the list functions tool in Azure Functions
  • Use the invoke function tool in Azure Functions

How teams use Azure Functions with agents

Azure Functions often run the small jobs that hold a system together: webhooks, scheduled syncs and internal APIs. Connecting them lets an agent see which function apps exist, check recent deployments, call an HTTP-triggered function and adjust settings, with every change recorded.

Deployment checks

List recent deployments for a function app and report who shipped what, and whether it succeeded.

Run internal endpoints

Invoke an HTTP-triggered function, such as a cache refresh or a report job, without hunting for its URL and key.

Slot swaps

Create a staging slot, verify it, then swap it into production as part of a reviewed release.

Settings and key hygiene

Audit app settings across function apps and rotate function or host keys that have been shared too widely.

Tools to start with

  • Invoke Function: Calls an HTTP-triggered function directly.
  • Manage Deployment Slots: List, create, delete and swap slots.
  • Manage Access Keys: Function-level and host-level keys.

Sign-in and permissions

Azure Functions connects through Microsoft Entra ID, and what the agent can do follows the Azure role assignments on the subscription or resource group. A reader role is enough to list apps and deployments; starting, stopping, swapping slots or changing keys needs a contributor-level role, so grant that only to the groups that should operate production.

Sign-in options on Metorial: Work Only, Work & Personal.

Supported Tools

manage_app_settings

Manage App Settings

List or update application settings (environment variables) for an Azure Function App. When updating, you can add new settings, modify existing ones, or remove settings by setting their value to null. Existing settings not included in the update payload are preserved.

get_function_app

Get Function App

Get detailed information about a specific Azure Function App, including its configuration, state, hosting details, and site settings. Also retrieves the app's configuration (runtime stack, platform, etc.) and application settings.

list_deployments

List Deployments

List deployment history for an Azure Function App. Returns information about each deployment including author, status, timestamps, and whether it is the currently active deployment.

manage_slots

Manage Deployment Slots

Manage deployment slots for an Azure Function App. Supports listing, creating, deleting, and swapping slots. Deployment slots let you run different versions of your function app and swap them into production seamlessly.

list_functions

List Functions

List all individual functions within a specific Azure Function App. Returns each function's name, invoke URL, language, and enabled/disabled status.

invoke_function

Invoke Function

Invoke an HTTP-triggered Azure Function directly. Sends an HTTP request to the function's runtime endpoint with the specified method, body, query parameters, and headers. Requires a function key or host key for non-anonymous functions.

list_function_apps

List Function Apps

List all Azure Function Apps in the configured resource group. Returns a summary of each function app including its name, location, state, and hostname. Useful for discovering available function apps before performing further operations.

get_function

Get Function

Get detailed information about a specific function within a function app, including its invocation URL, language, configuration, and associated files. Optionally retrieves the function's access keys.

manage_function_app

Manage Function App

Perform lifecycle operations on an Azure Function App. Supports starting, stopping, restarting, and deleting function apps. Use this to control the running state of your function apps.

manage_keys

Manage Access Keys

Manage function-level and host-level access keys for Azure Function Apps. Supports listing, creating, updating, and deleting keys. Function keys control access to individual functions, while host keys control access to all functions in the app.

Connect Azure Functions to your AI client

Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.

  1. Enable Azure Functions in Metorial. In your Metorial portal, enable the Azure Functions MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
  2. Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
  3. Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
  4. Sign in. Select Add and sign in to load Azure Functions tools.

Run Azure Functions through the Metorial gateway

One governed layer for every app your agents reach, not a separate connector per tool.

  • Give Azure Functions and every other app to your whole team through one MCP gateway, behind your SSO.
  • Scope which teams and agents can use Azure Functions tools with role-based access control, and trace every call.
  • Prefer to run it yourself? Metorial is open source and self-hostable.

More integrations teams use with Azure Functions

Google Sheets

Create, read, and update spreadsheets and their cell data. Read and write values to individual cells, ranges, or multiple ranges using A1 notation or named ranges. Apply cell formatting including text styles, backgrounds, borders, number formats, and conditional formatting. Manage sheets (tabs) within a spreadsheet—add, delete, copy, rename, and reorder them. Create and manage embedded charts, pivot tables, filter views, data validation rules, protected ranges, named ranges, and merged cells. Perform batch operations to apply multiple updates atomically.

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Resolve site users to numeric Person/Group LookupId values. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Retrieve site properties and search for sites across Microsoft 365.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Google Drive

Upload, download, create, copy, move, rename, trash, and permanently delete files and folders in Google Drive. Search for files using complex queries filtering by name, MIME type, owner, modification date, labels, and other metadata. Share files and folders with specific users, groups, or domains with role-based permissions (owner, writer, commenter, reader). Manage shared drives and their members. Export Google Workspace files (Docs, Sheets, Slides) to standard formats like PDF, DOCX, and XLSX. Track file revision history and restore earlier versions. Create, read, update, and delete threaded comments and replies on files. Read label definitions and search files by label. Browse the Drive apps installed for your account. Store app-specific data in a hidden per-user folder.

Technical notes for Azure Functions

Manage and invoke Azure Functions serverless compute resources. Create, update, delete, and list function apps and their individual functions. Invoke HTTP-triggered functions directly via URL endpoints. Manage function-level, host-level, and system access keys for authentication. Configure application settings, connection strings, CORS policies, and custom domain bindings. Create, swap, and manage deployment slots for staged rollouts. Deploy function code via ZIP packages, external URLs, or source control integration. Retrieve function execution logs, host status, and runtime health. Monitor resource lifecycle events via Azure Event Grid integration.

Frequently asked questions

Common questions about connecting Azure Functions to AI agents with Metorial.

  1. How many tools does the Azure Functions MCP server have?
    The Azure Functions MCP server exposes 10 tools, including Manage App Settings, Get Function App, List Deployments. Each one is governed and traced through Metorial.
  2. Azure Functions exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
  3. Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Azure Functions MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use Azure Functions and which of its tools they can call.
  5. Yes. Metorial is open source, so you can run the Azure Functions MCP server yourself or use the hosted gateway.

Connect Azure Functions to production AI agents

See how Metorial gives your team governed access to Azure Functions, with tracing and security controls built in.