MCP server · Audited from source
Lokka MCP server
by merill/lokkaMIT licenceAudited 5 Oct 2026 · source 78278eba7a8d
Is it safe? With care — CAUTION, grade B (89/100). It exposes 4 tools: 2 read, 2 write and 0 destructive. The audit recorded 11 findings (0 critical, 0 high, 4 medium, 6 low). Maintainer's description: MCP (Model Context Protocol) for Microsoft 365. Includes support for Microsoft Graph and other services
Cite
Cite this page
ModelsAtlas. “Lokka MCP server (merill/lokka)”. Retrieved 5 Oct 2026. https://modelsatlas.com/mcp/merill/lokka
Trust audit
Audit 0.4.1 · full source read 5 Oct 2026
11 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemNone observedNothing seen in the source
- NetworkDeclared4 observations
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 2 findings |
L1 Static source | Secrets, path traversal, supply chain | WARN 6 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 3 findings |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
merillUser accountAccount type recorded when we read the repository. - PackagePublished on npm
website, no version recorded - LicenceMITFrom the repository, as read at the audited commit.
- Last push9 days agoActivity of the repository when we read it.
- Source commit read78278eba7a8dThe audit covers exactly this commit, read on 5 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory4 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (11)
Sorted by severity
MEDIUMInformation disclosuredisclose.log_secret · src/mcp/build/main.js:394
logger.info(`Requesting fresh token with scopes: ${scopeString}`);- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · src/mcp/build/main.js:455
logger.info(`Successfully acquired fresh token with additional scopes: ${scopes.join(', ')}`);- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · src/mcp/src/main.ts:579
logger.info(`Requesting fresh token with scopes: ${scopeString}`);- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · src/mcp/src/main.ts:652
logger.info(`Successfully acquired fresh token with additional scopes: ${scopes.join(', ')}`);- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · src/mcp/package.json
@azure/identity, @microsoft/microsoft-graph-client, @modelcontextprotocol/sdk, @types/jsonwebtoken, isomorphic-fetch, jsonwebtoken, zod, @types/isomorphic-fetch
- Why
- 10 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · website/package.json
@mdx-js/react, clsx, prism-react-renderer, react, react-dom
- Why
- 5 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.credential_read · README.md:148
- **`set-access-token`**: Set or update access tokens for Microsoft Graph authentication
- Why
- asks the agent to read credentials
- Fix
- —
LOWPrompt injectionprompt.credential_read · src/mcp/README.md:144
- **`set-access-token`**: Set or update access tokens for Microsoft Graph authentication
- Why
- asks the agent to read credentials
- Fix
- —
LOWPrompt injectionprompt.credential_read · website/docs/install-advanced/token-auth.md:50
5. Copy the access token from the **Access token** tab
- Why
- asks the agent to read credentials
- Fix
- —
INFOInventory / provenanceinv.oversize · assets/lokka-demo-1.gif
assets/lokka-demo-1.gif
- Why
- 28387829 bytes not read
- Fix
- —
Tools it exposes
4 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
add-graph-permission | write | Request additional Microsoft Graph permission scopes by performing a fresh interactive sign-in. This tool only works in interactive authentication mode and should be used if any Graph API call returns permissions related errors. |
set-access-token | write | Set or update the access token for Microsoft Graph authentication. Use this when the MCP Client has obtained a fresh token through interactive authentication. |
Lokka-Microsoft | read | A versatile tool to interact with Microsoft APIs including Microsoft Graph (Entra) and Azure Resource Management. IMPORTANT: For Graph API GET requests using advanced query parameters ($filter, $count, $search, $orderby), you are ADVISED to set |
get-auth-status | read | Check the current authentication status and mode of the MCP Server and also returns the current graph permission scopes of the access token for the current session. |
Install
audited commit 78278eb
Read the findings first. The most severe is Information disclosure (medium) at src/mcp/build/main.js.
One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit 78278eb only.
claude mcp add website --env ACCESS_TOKEN=${ACCESS_TOKEN} --env CERTIFICATE_PASSWORD=${CERTIFICATE_PASSWORD} --env CLIENT_SECRET=${CLIENT_SECRET} --env USE_CLIENT_TOKEN=${USE_CLIENT_TOKEN} -- npx -y [email protected]{
"mcpServers": {
"website": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"ACCESS_TOKEN": "${ACCESS_TOKEN}",
"CERTIFICATE_PASSWORD": "${CERTIFICATE_PASSWORD}",
"CLIENT_SECRET": "${CLIENT_SECRET}",
"USE_CLIENT_TOKEN": "${USE_CLIENT_TOKEN}"
}
}
}
}The command does not pin a version; the audit covers commit 78278eba7a8d. Transport: stdio. Reads these environment variables: ACCESS_TOKEN, CERTIFICATE_PASSWORD, CLIENT_SECRET, USE_CLIENT_TOKEN. Give it the narrowest token it needs.
Audit history
- !CAUTION B 89 / 100
First audit ·
78278eba7a8d
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/merill/lokka/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Lokka MCP server
What is the Lokka MCP server?
What tools does Lokka expose?
Is Lokka safe to connect to an agent?
What credentials does Lokka need?
How does Lokka run?
How current is this page?
Sources
- merill/lokka on GitHub — the source we read, its licence, stars and activityObserved · 5 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 78278eba7a8dObserved · 5 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Lokka MCP server?
- What tools does Lokka expose?
- Is Lokka safe to connect to an agent?