Snippy
@Azure-Samples
关于 Snippy
🧩 Build AI-powered MCP Tools with Azure Functions, Durable Agents & Cosmos vector search. Features orchestrated multi-agent workflows using OpenAI.
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Snippy?
Snippy is an Azure Functions-based reference application that demonstrates how to build MCP (Model Context Protocol) tools that integrate with AI assistants like GitHub Copilot. It showcases a serverless AI architecture using Azure Functions, Durable Functions, Azure OpenAI, and the Agent Framework for code snippet management and multi-agent orchestration.
How to use Snippy?
Deploy the entire stack to Azure with a single azd up command after satisfying prerequisites (Azure subscription, azd CLI, and a development environment such as GitHub Codespaces or VS Code Dev Containers). For local development, use Docker-based emulators and Azure Functions Core Tools v4. Once deployed, the Function App URL and MCP endpoint are displayed, ready for integration with AI assistants.
Key features of Snippy
- Expose Azure Functions as discoverable MCP tools.
- Stateful AI agents with automatic conversation history.
- Multi-agent orchestration via Durable Task Scheduler.
- Semantic code retrieval with Cosmos DB vector search.
- Real-time monitoring with DTS dashboard.
- One-click infrastructure deployment using
azd up.
Use cases of Snippy
- Save code snippets with vector embeddings for semantic search.
- Retrieve snippets by name for quick reference.
- Generate language-specific code style guides from saved snippets.
- Create comprehensive wiki documentation via multi-agent workflow.
- Use as a reference architecture for building production‑ready MCP tools.
FAQ from Snippy
What is the purpose of Snippy?
Snippy is intended for learning and demonstration—it shows how to build MCP tools with Azure Functions. It should not be deployed to production without a thorough security review.
What are the prerequisites to deploy Snippy?
You need an Azure subscription with permission to create resources, the azd CLI installed, and a development environment (GitHub Codespaces, VS Code Dev Containers with Docker Desktop, or a local setup with Python 3.11, Node 18+, and Azure Functions Core Tools v4).
Which Azure regions are recommended?
The README recommends eastus or swedencentral because Azure OpenAI model availability varies by region. Verify model support in those regions before deploying.
How does Snippy handle security?
Snippy uses User-Assigned Managed Identity for service-to-service authentication, with RBAC roles for Cosmos DB, Storage, Application Insights, and Azure AI Project. For production, the README advises restricting network access via Private Endpoints and VNet integration.
Which MCP tools are included?
The tool matrix lists five tools: save_snippet, get_snippet, code_style, deep_wiki, and generate_comprehensive_documentation (an orchestrated multi-agent workflow).
AI 与智能体 分类下的更多 MCP 服务器
Intervals.icu MCP Server
mvilanovaModel Context Protocol (MCP) server for connecting Claude and ChatGPT with the Intervals.icu API.
meGPT - upload an author's content into an LLM
adriancoCode to process many kinds of content by an author into an MCP server
Mcp Agent
lastmile-aiBuild effective agents using Model Context Protocol and simple workflow patterns
21st.dev Magic AI Agent
21st-devIt's like v0 but in your Cursor/WindSurf/Cline. 21st dev Magic MCP server for working with your frontend like Magic
Open Multi-Agent Canvas
CopilotKitThe open-source multi-agent chat interface that lets you manage multiple agents in one dynamic conversation and add MCP servers for deep research
评论