Skip to main content

Microsoft Graph knowledge

The Microsoft Graph API has more than 27,000 endpoints and changes every week, well past any AI model's training cutoff. Models that guess Graph endpoints get them wrong. Lokka ships the graph.pm indexes of the whole API surface and gives the AI three search tools over them. The searches run locally: no sign-in, no network call, and nothing about your tenant is involved.

ToolWhat it finds
lokka-sample-searchVerified samples that map a task ("list Conditional Access policies") to the exact Graph query, including multi-step workflows
lokka-api-docs-searchAn endpoint's delegated and application permissions, supported query parameters, required headers and default properties. With resource, a resource type's properties, their types, supported $filter operators and whether they need $select
lokka-openapi-searchThe full Graph OpenAPI catalog, by path, summary and description

The AI uses these to find and check an endpoint, then calls it with the Lokka-Microsoft tool as usual. All three are read-only, so guardrails don't apply to them.

The indexes describe the Graph beta API and are refreshed from graph.pm every week, so each Lokka release carries a recent copy.

The msgraph skill​

Lokka also serves the msgraph Agent Skill through the MCP Skills extension (io.modelcontextprotocol/skills). The skill teaches the lookup workflow and carries concept docs on query parameters, advanced queries, paging, batching, throttling, errors and best practices.

URIContents
skill://msgraph/SKILL.mdThe workflow: which search to use when, and the rules for calling Graph
skill://msgraph/references/REFERENCE.mdCommon resource paths, OData patterns and permission scopes
skill://msgraph/references/docs/*.mdConcept docs, read on demand

Hosts that support the Skills extension list the skill and load it when it's relevant. In hosts that don't, Lokka's server instructions give the AI the same workflow and point it at skill://msgraph/SKILL.md, which any host that can read MCP resources can open.

This is a Lokka edition of the msgraph skill. The standalone skill bundles its own command-line tool and sign-in; Lokka's edition uses Lokka's tools and connections instead.