# Give your Foundry Agent Custom Tools with MCP Servers on Azure Functions

DevFeed: [Give your Foundry Agent Custom Tools with MCP Servers on Azure Functions](<https://devfeed.tech/articles/give-your-foundry-agent-custom-tools-with-mcp-servers-on-azure-functions-50036.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/azure-sdk/give-your-foundry-agent-custom-tools-with-mcp-servers-on-azure-functions/>)

Author: Lily Ma

Published: 2026-04-08T15:00:50Z

Content type: tutorial

Language: en

Sources: [Azure SDK Blog](<https://devfeed.tech/sources/azure-sdk-blog.md>)

Topics: [azure functions](<https://devfeed.tech/topics/azure-functions.md>), [MCP Server](<https://devfeed.tech/topics/mcp-server.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [API](<https://devfeed.tech/topics/api.md>), [Database](<https://devfeed.tech/topics/database.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [azure](<https://devfeed.tech/tags/azure.md>), [azure-functions](<https://devfeed.tech/tags/azure-functions.md>), [azure-sdk](<https://devfeed.tech/tags/azure-sdk.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [developers](<https://devfeed.tech/tags/developers.md>), [foundry](<https://devfeed.tech/tags/foundry.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [java](<https://devfeed.tech/tags/java.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mcp-servers](<https://devfeed.tech/tags/mcp-servers.md>), [microservices](<https://devfeed.tech/tags/microservices.md>), [model-context-protocol](<https://devfeed.tech/tags/model-context-protocol.md>), [net](<https://devfeed.tech/tags/net.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [python](<https://devfeed.tech/tags/python.md>), [serverless](<https://devfeed.tech/tags/serverless.md>)

## AI overview

A tutorial on connecting an MCP server hosted on Azure Functions to Microsoft Foundry agents. It explains how agents can discover and use custom tools, reuse existing MCP servers, and configure authentication options.

## Source excerpt

Learn how to connect your MCP server hosted on Azure Functions to Microsoft Foundry agents. This post covers authentication options and setup steps to give your AI agent access to custom MCP tools. The post Give your Foundry Agent Custom Tools with MCP Servers on Azure Functions appeared first on Azure SDK Blog.