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

MCP server · Audited from source

Yapi MCP server

by lzsheng/yapi-mcpMIT licenceAudited 7 Oct 2026 · source fa57c3d0aba9

npm yapi-auto-mcp 0.1.3ssestdio★ 120
✓SAFEGrade B · 89/100 · 7 Oct 2026 · fa57c3d
120GitHub stars

Is it safe? Yes — SAFE, grade B (89/100). It exposes 5 tools: 4 read, 1 write and 0 destructive. The audit recorded 2 findings (0 critical, 0 high, 0 medium, 2 low). Maintainer's description: yapi mcp server

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Yapi MCP server (lzsheng/yapi-mcp)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/lzsheng/yapi

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium2 low0 info

2 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

  • FilesystemDeclared1 observation
  • NetworkDeclared3 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
L1 Static sourceSecrets, path traversal, supply chainPASS 2 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS
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 lzshengUser accountAccount type recorded when we read the repository.
  • PackagePublished on npmyapi-auto-mcp at version 0.1.3
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push15 months agoActivity of the repository when we read it.
  • Source commit readfa57c3d0aba9The audit covers exactly this commit, read on 7 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory5 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 (2)

Sorted by severity

LOWFilesystem / pathfs.traversal · src/services/yapi/cache.ts:25
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const projectRoot = path.resolve(__dirname, '../../..');
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, @types/yargs, axios, dotenv, express, remeda, yargs, zod
Why
19 dependency range(s) float
Fix
pin exact versions or ship a lockfile

Tools it exposes

5 declared in source · 0 destructive

4 read1 write0 destructive
ToolRiskWhat it does
yapi_save_apiwrite新增或更新YApi中的接口信息
yapi_get_api_descread获取YApi中特定接口的详细信息
yapi_get_categoriesread获取YApi项目下的接口分类列表,以及每个分类下的接口信息
yapi_list_projectsread列出YApi的项目ID(projectId)和项目名称
yapi_search_apisread搜索YApi中的接口

Install

Package version 0.1.3 · audited commit fa57c3d

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.1.3. The audit covers commit fa57c3d only.

claude mcp add yapi-auto-mcp --env YAPI_TOKEN=${YAPI_TOKEN} -- npx -y [email protected]

The command pins the package version recorded in the source (0.1.3); the audit covers commit fa57c3d0aba9. Transport: sse · stdio. Reads this environment variable: YAPI_TOKEN. Give it the narrowest token it needs.

Audit history

  1. ✓SAFE B 89 / 100

    First audit · fa57c3d0aba9

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/lzsheng/yapi/badge.svg)](https://modelsatlas.com/mcp/lzsheng/yapi/)

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 Yapi MCP server

What is the Yapi MCP server?
yapi mcp server
What tools does Yapi expose?
5 in total: 4 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Yapi safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Yapi need?
It reads YAPI_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 Yapi run?
It speaks sse and stdio, so it runs as a local process your client starts. It is published on npm as yapi-auto-mcp at 0.1.3.
How current is this page?
The grade is for one exact copy of the source (fa57c3d0aba9), read on 2026-10-07. The repository is watched and re-audited when it changes.

Sources

  • lzsheng/yapi-mcp on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
  • ModelsAtlas trust audit — SAFE verdict for commit fa57c3d0aba9Observed · 7 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.