Back to Home
Azure-Samples icon

snippy

Verified Safe

by Azure-Samples

Overview

An AI-powered serverless code snippet manager that uses Azure Functions as MCP tools for AI assistants like GitHub Copilot, leveraging vector search and multi-agent orchestration for documentation and style guide generation.

Installation

Run Command
cd src && func start

Environment Variables

  • AZURE_OPENAI_ENDPOINT
  • EMBEDDING_MODEL_DEPLOYMENT_NAME
  • AGENTS_MODEL_DEPLOYMENT_NAME
  • COSMOS_ENDPOINT
  • COSMOS_DATABASE_NAME
  • COSMOS_CONTAINER_NAME
  • TASKHUB_NAME
  • DTS_CONNECTION_STRING

Security Notes

The project follows strong security practices for Azure cloud environments, utilizing Azure Managed Identity (User-Assigned) and Azure AD authentication (`DefaultAzureCredential`) for service-to-service communication. Azure CLI login provides local development authentication without hardcoding secrets. The `setup-app-registration.sh` script dynamically configures an Azure AD application and pre-authorizes GitHub Copilot. The README explicitly advises thorough security review for production, recommending Key Vault, Private Endpoints, and network restrictions. No 'eval' or obvious obfuscation found.

Similar Servers

Stats

Interest Score52
Security Score9
Cost ClassHigh
Avg Tokens15000
Stars86
Forks1137
Last Update2025-12-01

Tags

Azure FunctionsAI AgentsVector SearchMCP ToolsDurable Functions