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

MCP server · Org-owned · Audited from source

Swagger MCP server

by vizioz/swagger-mcpMIT licenceAudited 6 Oct 2026 · source 06c2fab40182

npm swagger-mcp 1.0.1stdio★ 165
✕BLOCKGrade D · 69/100 · 6 Oct 2026 · 06c2fab

Is it safe? No — BLOCK, grade D (69/100). It exposes 14 tools: 12 read, 1 write and 1 destructive. The audit recorded 5 findings (0 critical, 2 high, 1 medium, 2 low). Maintainer's description: MCP wrapper for Swagger/OpenAPI definitions

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Swagger MCP server (vizioz/swagger-mcp)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/vizioz/swagger-4

Why this is BLOCK. The audit found 0 critical and 2 high findings; the most severe is Code injection at src/utils/swaggerLoader.ts:88. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

Trust audit

Audit 0.4.1 · full source read 6 Oct 2026

Trust score69/100✕BLOCK D
0 critical2 high1 medium2 low0 info

5 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

  • FilesystemDeclared2 observations
  • NetworkDeclared2 observations
  • ShellDeclared2 observations
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

Findings (5)

Sorted by severity

HIGHCode injectioncode.deserialize · src/utils/swaggerLoader.ts:88
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
swaggerData = yaml.load(response.data);
Why
deserialises untrusted bytes into live objects
Fix
use json or yaml.safe_load
HIGHCode injectioncode.deserialize · src/utils/swaggerLoader.ts:134
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
return yaml.load(swaggerContent);
Why
deserialises untrusted bytes into live objects
Fix
use json or yaml.safe_load
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
httpMethod
Why
1 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWFilesystem / pathfs.traversal · src/tools/version.ts:32
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const packageJsonPath = path.resolve(__dirname, "../../package.json");
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/js-yaml, @types/minimist, axios, dotenv, js-yaml, minimist, winston
Why
13 dependency range(s) float
Fix
pin exact versions or ship a lockfile

Tools it exposes

14 declared in source · 1 destructive

12 read1 write1 destructive

1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolWhat it doesRisk
httpMethodHTTP method of the endpoint (e.g., GET, POST, PUT, DELETE)destructive
add-endpointGuide through the process of adding a new endpoint using Swagger MCP toolswrite
endpointPathPath of the endpoint to implement (e.g., /pets/{id})read
generateEndpointToolCodeGenerates TypeScript code for an MCP tool definition based on a Swagger endpoint. Priority: CLI --swagger-url > swaggerFilePath parameter.read
generateModelCodeGenerates TypeScript code for a model from the Swagger definition. Priority: CLI --swagger-url > swaggerFilePath parameter.read
getPetGet a pet by IDread
getSwaggerDefinitionFetches a Swagger/OpenAPI definition from a URL and saves it locally. IMPORTANT: After calling this tool, you will receive a response containing aread
listEndpointModelsLists all models used by a specific endpoint from the Swagger definition. Priority: CLI --swagger-url > swaggerFilePath parameter.read
listEndpointsLists all endpoints from the Swagger definition including their HTTP methods and descriptions. Priority: CLI --swagger-url > swaggerFilePath parameter.read
project.FeatureOrderSimple model (FeatureOrder)read
swaggerUrlURL of the Swagger definition (optional if already configured)read
task.RequestComplex model (Task Request)read
task.TaskCore model (Task)read
versionReturns the current version number of the Swagger MCP Server.read

Safer alternatives

We could not match this server to a job, so we cannot suggest a like-for-like alternative. Read-only servers are the least-privilege place to start.

Audit history

  1. ✕BLOCK D 69 / 100

    First audit · 06c2fab40182

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about Swagger MCP server

What is the Swagger MCP server?
MCP wrapper for Swagger/OpenAPI definitions
What tools does Swagger expose?
14 in total: 12 read-only, 1 that write, and 1 that can delete or overwrite (httpMethod). Every one is listed on this page with its risk.
Is Swagger safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 2 critical or high issues in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Swagger need?
No credential environment variables were found in its source, so it appears to need none.
How does Swagger run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as swagger-mcp at 1.0.1.
How current is this page?
The grade is for one exact copy of the source (06c2fab40182), read on 2026-10-06. The repository is watched and re-audited when it changes.
I already installed Swagger. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • vizioz/swagger-mcp on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit 06c2fab40182Observed · 6 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.