Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Lokka MCP server

by merill/lokkaMIT licenceAudited 5 Oct 2026 · source 78278eba7a8d

npm websitestdio★ 303
!CAUTIONGrade B · 89/100 · 5 Oct 2026 · 78278eb
303GitHub stars

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

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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

Trust score89/100!CAUTION B
0 critical0 high4 medium6 low1 info

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

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 2 findings
L1 Static sourceSecrets, path traversal, supply chainWARN 6 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 3 findings
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

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 npmwebsite, 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
F-12 Information disclosureCWE-209 · CWE-532Layer L1
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
F-12 Information disclosureCWE-209 · CWE-532Layer L1
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
F-12 Information disclosureCWE-209 · CWE-532Layer L1
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
F-12 Information disclosureCWE-209 · CWE-532Layer L1
logger.info(`Successfully acquired fresh token with additional scopes: ${scopes.join(', ')}`);
Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.hidden_file · website/static/.nojekyll
F-13 Inventory / provenanceCWE-1104Layer L0
.nojekyll
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWSupply chainsupply.unpinned · src/mcp/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@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
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **`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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **`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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
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
F-13 Inventory / provenanceCWE-1104Layer L0
assets/lokka-demo-1.gif
Why
28387829 bytes not read
Fix
—

Tools it exposes

4 declared in source · 0 destructive

2 read2 write0 destructive
ToolRiskWhat it does
add-graph-permissionwriteRequest 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-tokenwriteSet or update the access token for Microsoft Graph authentication. Use this when the MCP Client has obtained a fresh token through interactive authentication.
Lokka-MicrosoftreadA 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-statusreadCheck 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]

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

  1. !CAUTION B 89 / 100

    First audit · 78278eba7a8d

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/merill/lokka/badge.svg)](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?
MCP (Model Context Protocol) for Microsoft 365. Includes support for Microsoft Graph and other services
What tools does Lokka expose?
4 in total: 2 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Lokka safe to connect to an agent?
With care. The audit graded it B (89/100) and found 11 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does Lokka need?
It reads ACCESS_TOKEN, CERTIFICATE_PASSWORD, CLIENT_SECRET and USE_CLIENT_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Lokka run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as website at 0.0.0.
How current is this page?
The grade is for one exact copy of the source (78278eba7a8d), read on 2026-10-05. The repository is watched and re-audited when it changes.

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.