partner-center-mcp
Unofficial MCP server: knowledge and codegen assistant for the Partner Center REST API (not affiliated with Microsoft)
Versions
0.12.0latest0.11.00.10.00.9.00.8.0+ show 9 moreshow less
0.7.00.6.10.6.00.5.00.4.00.3.00.2.20.2.10.2.0Tools 22
ping test tool
pc_diff_pack Return the scenarios added, changed, or removed across releases of this pack, newest first.
pc_decode_error Take a raw Partner Center error response and decode it: extract the error code, HTTP status, and MS-CorrelationId, then return the documented causes, remediation, likely scenarios, and the exact wording to quote in a support request.
pc_plan_purchase Return the ordered end-to-end New Commerce purchase workflow — find the product, get a fresh SKU availability, build the cart, check out, resolve the provisioned subscriptions — with the exact operation, resolved URL, and key gotchas for each step.
pc_get_resource Return the field dictionary for a Partner Center resource — Customer, Subscription, Order, Invoice, CartLineItem and others — listing each field's name, type, and usage note.
pc_get_scenario Return the complete verified record for one Partner Center REST operation: method, path, auth type, required headers, request and response shapes, per-field notes, working curl/C#/TypeScript examples, gotchas, and the doc link.
pc_get_enums Return the accepted values for a Partner Center enum, each with a note on what it means — billingCycle, termDuration, targetView, segment, transitionType, subscriptionStatus, qualification, agreementType, billingType, provisioningStatus and more.
pc_search_docs Search the live Microsoft Learn Partner Center developer documentation and return matching excerpts.
pc_get_reference Return the cross-cutting facts that apply to every Partner Center call rather than to one operation: base URLs, required headers, API versioning, the sandbox account, rate limits, and national cloud differences.
pc_whats_new List the Partner Center API deprecations and retirement deadlines — MFA enforcement, the graph.windows.net retirement, DAP to GDAP, v1 to v2 reconciliation, and the SDK/ADAL/AzureAD retirements — each with its date, impact, and the action to take, newest deadline first.
pc_diagnose Match a Partner Center problem described in plain language against the documented errors and return the likely candidates plus an ordered fix path.
pc_auth_guidance Return how to authenticate against Partner Center for a given token flavour and national cloud: the token resource and authority to use, the ordered steps of the flow, Secure Application Model and MFA requirements, and what is deprecated.
pc_build_request Assemble one Partner Center REST request as structured data: the resolved URL with your params substituted into the path placeholders, concrete headers (Bearer plus a freshly generated MS-RequestId on writes), and a request-body skeleton derived from the operation's documented fields.
pc_lookup_error Look up a Partner Center error by its numeric code or HTTP status and return what it means, its known causes, the remediation, the doc link, and the scenarios where it usually appears.
pc_explain_policy Answer questions about Partner Center's RULES rather than its endpoints: cancellation windows per product type, what happens when a customer does not pay, how promotion limits are counted, what a GDAP expiry does to subscriptions, how billing and proration work.
pc_explain_lifecycle Return the subscription lifecycle state machine: which operations (increase-seats, decrease-seats, upgrade, cancel, renew-change, suspend, reactivate, migrate, transfer) are legal from which state, the field to read off the live subscription before attempting each one, the scenario that performs it, and the error codes a failed precondition returns.
pc_plan_prerequisites Given any scenario, return the ordered calls that produce the ids its path needs, plus the parameters you have to supply yourself.
pc_migrate_from_sdk Find the archived Partner Center .NET SDK calls in a snippet and map each one to the current REST scenario that replaces it, with migration notes.
pc_check_auth Scan a Partner Center auth or client code snippet for retired and deprecated patterns — the graph.windows.net token audience, ADAL, the archived .NET SDK, and the AzureAD/MSOnline PowerShell modules — and return the severity, explanation, fix, and doc link for each hit.
pc_validate_request Check a Partner Center REST request you have already written against the documented operations and report what is wrong: unrecognised or mismatched method and path, missing Authorization or MS-RequestId, a retired token audience, app-only used where it is not supported, and sovereign-cloud host mismatches.
pc_list_scenarios List every Partner Center REST operation this server knows about, as a compact index of id, title, area, method, resolved url, and auth type.
pc_generate_call Emit ready-to-adapt code for one Partner Center scenario in the language you ask for, plus the Secure Application Model token exchange, 429 retry, 202 polling, and pagination boilerplate.
Permissions 2
network medium env_vars low