Loading...
Loading...
Look up Microsoft API references, find working code samples, and verify SDK code is correct. Use when working with Azure SDKs, .NET libraries, or Microsoft APIs—to find the right method, check parameters, get working examples, or troubleshoot errors. Catches hallucinated methods, wrong signatures, and deprecated patterns by querying official docs.
npx skill4agent add microsoftdocs/mcp microsoft-code-reference| Need | Tool | Example |
|---|---|---|
| API method/class lookup | | |
| Working code sample | | |
| Full API reference | | Fetch URL from |
microsoft_code_sample_searchmicrosoft_code_sample_search(query: "upload file to blob storage", language: "csharp")
microsoft_code_sample_search(query: "authenticate with managed identity", language: "python")
microsoft_code_sample_search(query: "send message service bus", language: "javascript")# Verify method exists (include namespace for precision)
"BlobClient UploadAsync Azure.Storage.Blobs"
"GraphServiceClient Users Microsoft.Graph"
# Find class/interface
"DefaultAzureCredential class Azure.Identity"
# Find correct package
"Azure Blob Storage NuGet package"
"azure-storage-blob pip package"microsoft_code_sample_searchmicrosoft_docs_searchmicrosoft_docs_fetch| Error Type | Query |
|---|---|
| Method not found | |
| Type not found | |
| Wrong signature | |
| Deprecated warning | |
| Auth failure | |
| 403 Forbidden | |
UploadFileUploadCloudBlobClientBlobServiceClientAzure.*azure-*microsoft_docs_search(query: "[ClassName] [MethodName] [Namespace]")microsoft_docs_fetch(url: "...")microsoft_code_sample_search(query: "[task]", language: "[lang]")