loading…
Search for a command to run...
loading…
A secure Model Context Protocol backend service built on Azure Functions that provides authenticated access to Microsoft Graph API. It leverages Azure Active Di
A secure Model Context Protocol backend service built on Azure Functions that provides authenticated access to Microsoft Graph API. It leverages Azure Active Directory and APIM to enable secure tool discovery and user context management through the OAuth On-Behalf-Of flow.
This Azure Function App implements a secure Model Context Protocol (MCP) backend service with Azure Active Directory authentication. It provides authenticated access to Microsoft Graph API through Azure API Management (APIM) and supports OAuth On-Behalf-Of (OBO) token exchange.
[Client App] → [APIM Gateway] → [Azure Functions] → [Microsoft Graph API]
↓ ↓ ↓ ↓
Bearer Token → OBO Exchange → Graph Token → User Data
/hello - Simple greeting endpoint
/echo - Request echo service
/tools - MCP tools discovery
/me - User profile retrieval
/status - Health check endpoint
The included APIM policies provide:
{{CLIENT_ID_PLACEHOLDER}} - Azure AD Application ID{{CLIENT_SECRET_PLACEHOLDER}} - Azure AD Client Secret{{TENANT_ID_PLACEHOLDER}} - Azure AD Tenant ID{{APIM_GATEWAY_URL}} - APIM Gateway URLConfigured in preauth.json for OAuth consent bypass (excluded from repository for security).
# Install dependencies
pip install -r requirements.txt
# Start local development server
func start
This service is designed to work as a backend for Model Context Protocol implementations, providing:
⚠️ Important:
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"mcpauthfuncapp": {
"command": "npx",
"args": []
}
}
}PRs, issues, code search, CI status
Database, auth and storage
Reference / test server with prompts, resources, and tools.
Secure file operations with configurable access controls.