{"id":45742816,"url":"https://github.com/heaths/azsdk-samples-mcp","last_synced_at":"2026-03-01T08:06:09.388Z","repository":{"id":334168706,"uuid":"1121273657","full_name":"heaths/azsdk-samples-mcp","owner":"heaths","description":"MCP Server to build context from dependencies' sample content","archived":false,"fork":false,"pushed_at":"2026-02-07T07:48:49.000Z","size":132,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-07T17:41:07.698Z","etag":null,"topics":["azure-sdk","mcp-server"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heaths.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-12-22T18:02:44.000Z","updated_at":"2026-02-07T07:48:52.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/heaths/azsdk-samples-mcp","commit_stats":null,"previous_names":["heaths/azsdk-samples-mcp"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/heaths/azsdk-samples-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Fazsdk-samples-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Fazsdk-samples-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Fazsdk-samples-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Fazsdk-samples-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heaths","download_url":"https://codeload.github.com/heaths/azsdk-samples-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Fazsdk-samples-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29827694,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T14:53:59.163Z","status":"ssl_error","status_checked_at":"2026-02-25T14:53:23.002Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure-sdk","mcp-server"],"created_at":"2026-02-25T15:30:28.935Z","updated_at":"2026-02-25T15:30:29.479Z","avatar_url":"https://github.com/heaths.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Azure SDK Samples MCP (Unofficial)\n\n\u003c!-- mcp-name: io.github.heaths/azsdk-samples-mcp --\u003e\n\n[![release](https://img.shields.io/github/v/release/heaths/azsdk-samples-mcp.svg?logo=github\u0026include_prereleases)](https://github.com/heaths/azsdk-samples-mcp/releases/latest)\n[![ci](https://github.com/heaths/azsdk-samples-mcp/actions/workflows/ci.yml/badge.svg?event=push)](https://github.com/heaths/azsdk-samples-mcp/actions/workflows/ci.yml)\n\nAn MCP (Model Context Protocol) server that discovers and retrieves code samples from Azure SDK packages. When working with Azure SDKs, having access to relevant code examples can significantly improve development efficiency and reduce errors. This MCP server automatically discovers Azure SDK samples from your project's dependencies (NuGet, npm, Cargo) and makes them available to AI agents and coding assistants like GitHub Copilot.\n\n**Key features:**\n\n- Discovers Azure SDK samples from multiple package managers (NuGet, npm, Cargo)\n- Lists project dependencies and their available samples\n- Integrates seamlessly with AI agents and coding assistants via the MCP protocol\n- Supports .NET, Node.js, and Rust projects\n\n## Demo\n\n[![Azure SDK Samples MCP Demo](https://img.youtube.com/vi/MAhdQDmkZOs/0.jpg)](https://www.youtube.com/watch?v=MAhdQDmkZOs)\n\n## Installation\n\n### Install as a Global Tool\n\nInstall the MCP server as a global .NET tool from nuget.org:\n\n```bash\ndotnet tool install --global AzureSdk.SamplesMcp --prerelease\n```\n\n### Clone the Repository (Optional)\n\nIf you prefer to run from source or contribute to the project:\n\n```bash\ngit clone https://github.com/heaths/azsdk-samples-mcp.git\ncd azsdk-samples-mcp\n```\n\nYou can automatically configured the server as described blow:\n\n```bash\ndotnet run --project src/AzureSdk.SamplesMcp/AzureSdk.SamplesMcp.csproj -- config copilot\n```\n\nOr just build it to configure it manually, also described below:\n\n```bash\ndotnet build\n```\n\n## Configuration\n\n### Automatic Configuration\n\nUse the `config` command to automatically generate MCP configuration files:\n\n```bash\n# Configure for GitHub Copilot (local - in repository)\nazsdk-samples config copilot\n\n# Configure for GitHub Copilot (global)\nazsdk-samples config copilot --global\n\n# Configure for VS Code (local only)\nazsdk-samples config vscode\n\n# Configure for Claude Code (local)\nazsdk-samples config claude\n\n# Configure for Claude Code (global)\nazsdk-samples config claude --global\n```\n\nThis will create or update the appropriate configuration files:\n\n- **Copilot**: `.copilot/mcp-config.json` (local) or `~/.copilot/mcp-config.json` (global)\n- **VS Code**: `.vscode/mcp.json` (local only)\n- **Claude Code**: `.mcp.json` (local) or `~/.claude.json` (global)\n\n\u003e **Note:** For global configurations, the command assumes you have the tool installed globally. For local configurations, it will find your repository root (by looking for `.git`) and create the config there.\n\n### Manual Configuration\n\nFor more control or troubleshooting, you can manually configure the MCP server:\n\n- **Copilot**: See [Extend coding agent with MCP](https://docs.github.com/copilot/how-tos/use-copilot-agents/coding-agent/extend-coding-agent-with-mcp)\n- **VS Code**: See [Use MCP servers in Visual Studio Code](https://code.visualstudio.com/docs/copilot/customization/mcp-servers)\n- **Claude Code**: See [Model Context Protocol](https://code.claude.com/docs/en/mcp)\n\n#### Example: Manual VS Code Configuration\n\nCreate or edit `.vscode/mcp.json` in your repository:\n\n```json\n{\n  \"servers\": {\n    \"azsdk-samples\": {\n      \"type\": \"stdio\",\n      \"command\": \"azsdk-samples\"\n    }\n  },\n  \"inputs\": []\n}\n```\n\n## Usage\n\nOnce integrated into your IDE:\n\n- Ask your AI assistant about Azure SDK samples relevant to your code\n- The assistant will have access to real examples from your dependencies\n- Get context-specific guidance on how to properly use Azure SDK APIs\n\n## Samples\n\nExample applications demonstrating how to use this MCP server:\n\n- [Download Azure Storage blob in .NET](samples/download-blob/README.md)\n- [List Azure App Configuration values in TypeScript](samples/list-appconfig/README.md)\n- [List Azure Key Vault secrets in Rust](samples/list-secrets/README.md)\n\nTo provision Azure resources for running these samples, see [infra/README.md](infra/README.md).\n\n## License\n\nLicensed under the [MIT](LICENSE.txt) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheaths%2Fazsdk-samples-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheaths%2Fazsdk-samples-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheaths%2Fazsdk-samples-mcp/lists"}