Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM python:3.10-slim

# Set working directory to /app
WORKDIR /app

# Copy entire repository to container
COPY . .

# Upgrade pip and install the package in editable mode using pyproject.toml configuration
RUN pip install --upgrade pip && \
pip install --no-cache-dir -e .

# Change working directory to the python module directory, as the MCP server expects to run from here
WORKDIR /app/src/python

# Expose port 8000 if needed (adjust if the server uses a different port)
EXPOSE 8000

# Default command to run the MCP server
CMD [ "python", "-m", "azure_agent_mcp_server" ]
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ This MCP server integrates with Azure AI Foundry to enable connections to your e

![demo](img/mcp-azs.gif)

[![smithery badge](https://smithery.ai/badge/@azure-ai-foundry/mcp-foundry)](https://smithery.ai/server/@azure-ai-foundry/mcp-foundry)
[![GitHub watchers](https://img.shields.io/github/watchers/azure-ai-foundry/mcp-foundry.svg?style=social&label=Watch)](https://github.com/azure-ai-foundry/mcp-foundry/watchers)
[![GitHub forks](https://img.shields.io/github/forks/azure-ai-foundry/mcp-foundry.svg?style=social&label=Fork)](https://github.com/azure-ai-foundry/mcp-foundry/fork)
[![GitHub stars](https://img.shields.io/github/stars/azure-ai-foundry/mcp-foundry?style=social&label=Star)](https://github.com/azure-ai-foundry/mcp-foundry/stargazers)

[![Azure AI Community Discord](https://dcbadge.vercel.app/api/server/ByRwuEEgH4)](https://discord.gg/REmjGvvFpW)


## Features

- 🤖 **Agent Integration** - Connect to your existing Azure AI Agents
Expand Down Expand Up @@ -62,6 +64,14 @@ DEFAULT_AGENT_ID=your-default-agent-id

## Installation

### Installing via Smithery

To install Azure AI Agent Service for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@azure-ai-foundry/mcp-foundry):

```bash
npx -y @smithery/cli install @azure-ai-foundry/mcp-foundry --client claude
```

### Prerequisites

- Python 3.10+
Expand Down
30 changes: 30 additions & 0 deletions smithery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml

startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
required:
- projectConnectionString
properties:
projectConnectionString:
type: string
description: Azure project connection string (required)
defaultAgentId:
type: string
description: Default Azure AI Agent ID (optional)
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({
command: 'python',
args: ['-m', 'azure_agent_mcp_server'],
cwd: '/app/src/python',
env: Object.assign({
PROJECT_CONNECTION_STRING: config.projectConnectionString
}, config.defaultAgentId ? { DEFAULT_AGENT_ID: config.defaultAgentId } : {})
})
exampleConfig:
projectConnectionString: your-project-connection-string
defaultAgentId: your-default-agent-id