Nest OpenapiSAFE
A modern, modular set of utilities for building OpenAPI-driven NestJS apps.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
@nest-openapi
OpenAPI‐first utilities for NestJS
Single source of truth · Drop‐in for NestJS · Fast by design
Features
- 🎯 Single Source of Truth — Your OpenAPI spec drives validation, serialization, mocking, and MCP tools.
- ⚡ Fast by Design — AJV validation and
fast-json-stringifyserialization with caching and precompilation. - 🔌 Drop-in Integration — Works with existing NestJS controllers and routes
- 🎛️ Fine-Grained Control — Per-route opt-out and custom schema overrides
- 🚀 Platform Agnostic — Supports both Express and Fastify adapters
Packages
f989e6b48f6cOBSERVED · 2026-10-12Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add validator -- npx -y @nest-openapi/[email protected]
{
"mcpServers": {
"validator": {
"command": "npx",
"args": [
"-y",
"@nest-openapi/[email protected]"
]
}
}
}Exposed tools (3)
2 read · 1 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
custom_tool | read | |
getUser | read | Get a user |
updateBook | write | Update a book |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- declared (2 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (11)
return "spec:" + createHash("sha1").update(s).digest("hex");executor: { baseUrl: "http://127.0.0.1:3000" },executor: { baseUrl: "http://127.0.0.1:3000" },baseUrl: "http://127.0.0.1:3000",
baseUrl: "http://127.0.0.1:3000",
executor: { baseUrl: "http://127.0.0.1:3000" },@types/node, ajv-formats, vitepress, vue, rimraf, ts-node, typescript
@modelcontextprotocol/sdk, @nestjs/common, @nestjs/core, @nestjs/platform-express, @nestjs/platform-fastify, @nestjs/testing, @types/jest, @types/json-schema
rxjs, json-schema-faker, @nestjs/common, @nestjs/core, @nestjs/testing, @types/jest, @types/node, @types/supertest
@types/node, tsup, typescript
fast-json-stringify, rxjs, @nestjs/common, @nestjs/core, @nestjs/platform-express, @nestjs/testing, @types/jest, @types/node
Gates applied: no_behavioural_pass.
f989e6b48f6cfull audit observations/trust-audit/mcp-server/ts-oas__nest-openapi.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-12 | f989e6b48f6c | SAFE | B | 89 | first audit |
Questions
What is the @nest-openapi/mcp MCP server?
A modern, modular set of utilities for building OpenAPI-driven NestJS apps.
What tools does @nest-openapi/mcp expose?
3 in total: 2 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is @nest-openapi/mcp 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 @nest-openapi/mcp need?
No credential environment variables were found in its source, so it appears to need none.
How does @nest-openapi/mcp run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as @nest-openapi/validator at 0.1.2.
How current is this page?
The grade is for one exact copy of the source (f989e6b48f6c), read on 2026-10-12. The repository is watched and re-audited when it changes.