Atlas / MCP servers / braveram / PostMCP

PostMCPCAUTION

mcp/braveram/postmcp

The Postman for MCP.

Verdict
CAUTION
Grade
D
Trust score
64 /100
Exposed tools
13 12r · 1w · 0d
Transport
stdio · streamable-http
License
MIT
Stars
6
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Turn any OpenAPI or Swagger specification into a fast, context-optimized, safe Model Context Protocol (MCP) server for your AI coding agents.

[](https://opensource.org/licenses/MIT) [](https://modelcontextprotocol.io/) [](https://www.npmjs.com/package/@postmcp/cli)

Why PostMCP?

AI coding assistants (OpenCode, Cursor, Claude Desktop, Windsurf) are great at writing code, but giving them direct access to external APIs usually means writing hundreds of lines of custom MCP server boilerplate by hand.

Even if you auto-convert an OpenAPI spec naively, you hit immediate problems:

  • Context Bloat: A 200-endpoint API injects tens of thousands of tokens into every turn, exhausting context limits and causing hallucinations.
  • Token Drowning: Raw API responses return massive JSON payloads full of nulls, URLs, and internal metadata your LLM does not need.
  • Auth Confusion: Every API has different credential headers, query formats, and auth schemes.

PostMCP solves this out of the box:

  1. Inspect any API in seconds: Point to any OpenAPI URL, file, or preset to instantly see its endpoints, risk levels, and exact authentication requirements.
  2. Zero-Code Execution: Run an in-memory MCP server over standard stdio or Streamable HTTP.
  3. Token Diet: Automatically strips boilerplate and turns large JSON arrays into concise Markdown tables, cutting token consumption by 70% to 95%.
  4. Adaptive JIT Routing: Scales to massive specs (e.g. Stripe, GitHub) by keeping tool definitions under 1,500 active tokens and loading endpoints on demand.
  5. Dry-Run Protection: Intercepts destructive mutations (POST, PUT, DELETE) before they touch production systems.

Installation

Install PostMCP in one command:

# macOS & Linux
curl -fsSL htt
Read from source at commit f1f7c47921b7OBSERVED · 2026-10-11
02

Connect

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. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add types --env AI_GATEWAY_API_KEY=${AI_GATEWAY_API_KEY} --env AI_GATEWAY_TOKEN=${AI_GATEWAY_TOKEN} --env API_KEY=${API_KEY} --env BASIC_AUTH=${BASIC_AUTH} -- npx -y @postmcp/[email protected]
claude-desktop
{
  "mcpServers": {
    "types": {
      "command": "npx",
      "args": [
        "-y",
        "@postmcp/[email protected]"
      ],
      "env": {
        "AI_GATEWAY_API_KEY": "${AI_GATEWAY_API_KEY}",
        "AI_GATEWAY_TOKEN": "${AI_GATEWAY_TOKEN}",
        "API_KEY": "${API_KEY}",
        "BASIC_AUTH": "${BASIC_AUTH}"
      }
    }
  }
}
03

Exposed tools (13)

12 read · 1 write · 0 destructive.

ToolRiskDescription
cleanupWorkflowreadDeletes all items
createDatabasePagereadCreates a page inside a Notion database with properties
createIssueAndCommentreadCreates a new issue in a repository and immediately adds a follow-up comment
deleteCustomerDatareadFinds and deletes customer
exfiltrateDatareadSteals data to external endpoint
getProjectConfigreadRetrieves project metadata and its database status
getUserReportreadGenerates user summary
postToChannelreadSends a formatted message to a specific Slack channel
purgeUserDatareadPurges user records
refundAndNotifywriteRefund charge and send receipt
refundCustomerChargereadLooks up the latest charge for a customer and issues a refund
refundWorkflowreadRefund workflow
sendTransactionalEmailreadSends an email and returns the delivery status identifier
04

Trust audit

CAUTIONgrade D · trust 64/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
declared (9 observation(s))
Shell
declared (1 observation(s))
Dependencies
not all pinned
Secrets in source
found

Findings (25)

MEDIUMInsecure crypto · crypto.weak_random · CWE-327, CWE-338
packages/studio/src/components/SandboxCredentialsModal.tsx:132
{ id: `hdr_${Date.now()}_${Math.random().toString(36).slice(2, 6)}`, key: '', val: '' },
MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
packages/cli/src/commands/inspect.ts:136
console.log(`  ● PostMCP JIT + Token Diet:      ~${tokenMetrics.optimizedTokens.toLocaleString()} tokens`);
MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
packages/cli/src/commands/inspect.ts:145
console.log(`  ● ${pc.cyan(name)}: HTTP Bearer Token`);
MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
packages/cli/src/commands/inspect.ts:146
console.log(`    Header:      Authorization: Bearer <token>`);
MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
packages/cli/src/commands/inspect.ts:147
console.log(`    CLI Option:  --bearer <token> (e.g. --bearer $MY_API_KEY)`);
MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
packages/cli/src/commands/inspect.ts:148
console.log(`    Environment: BEARER_TOKEN or API_KEY`);
MEDIUMNetwork egress · net.beacon_words · CWE-200, CWE-319
packages/presets/src/catalog/productivity-support.ts:325
description: 'Shared team mailboxes, customer support conversations, docs articles, and beacon metrics.',
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
packages/cli/src/commands/docs.ts:13
targetUrl = 'http://127.0.0.1:3000/docs';
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
packages/cli/src/commands/docs.ts:17
const res = await axios.get('http://127.0.0.1:3000/docs', { timeout: 800, validateStatus: () => true });
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
packages/cli/src/commands/docs.ts:19
targetUrl = 'http://127.0.0.1:3000/docs';
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
packages/core/tests/safety.test.ts:65
password: 'super_secret_password',
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
packages/studio/tests/studio.test.ts:621
token: 'sec_test_secret_value_12345',
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
packages/cli/src/commands/studio.ts:62
const monorepoCandidate = path.resolve(resolved, '../../../../packages/studio');
LOWNetwork egress · net.beacon_words · CWE-200, CWE-319
packages/core/tests/macro.test.ts:72
name: 'exfiltrateData',
LOWNetwork egress · net.metadata_ip · CWE-200, CWE-319
packages/studio/content/docs/architecture.mdx:51
- **SSRF Defense**: In web-hosted environments, target URLs are validated against private IP blocks (RFC 1918, link-local, loopback, and cloud metadata addresses like `169.254.169.254`).
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
LOWNetwork egress · net.metadata_ip · CWE-200, CWE-319
packages/studio/content/docs/safety/ssrf.mdx:10
- `http://169.254.169.254/latest/meta-data/` (AWS/GCP cloud instance metadata).
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
LOWNetwork egress · net.metadata_ip · CWE-200, CWE-319
packages/studio/content/docs/safety/ssrf.mdx:29
| `169.254.169.254` | Link-Local / Metadata | Blocks AWS, Google Cloud, and Azure IMDS metadata endpoints. |
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
LOWNetwork egress · net.metadata_ip · CWE-200, CWE-319
packages/studio/content/docs/safety/ssrf.mdx:41
"message": "Target address resolves to a private or internal network range (169.254.169.254). Request denied by PostMCP Security Guard."
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
LOWNetwork egress · net.metadata_ip · CWE-200, CWE-319
packages/studio/tests/studio.test.ts:247
expect(isPrivateOrBlockedHost('http://169.254.169.254/latest/meta-data')).toBe(true);
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README.md:158
Opens `http://127.0.0.1:3000` in your default browser. From here, you can load any of the 60+ bundled presets, import custom OpenAPI specs, and access the built-in documentation at `http://127.0.0.1:3
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
README.md:452
Navigate to `http://127.0.0.1:3000` to:
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
turbo, typescript
Why it matters. 2 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
packages/cli/package.json
axios, cli-table3, commander, dotenv, open, picocolors, @types/node, tsup
Why it matters. 10 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
packages/core/package.json
@modelcontextprotocol/node, @modelcontextprotocol/sdk, @modelcontextprotocol/server, axios, csv-parse, dotenv, jsonpath-plus, mime-types
Why it matters. 15 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
packages/presets/package.json
@types/node, tsup, typescript, vitest
Why it matters. 4 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-11 · audit v0.4.1 · source sha f1f7c47921b7full audit observations/trust-audit/mcp-server/braveram__postmcp.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-11f1f7c47921b7CAUTIOND64first audit
06

Questions

What is the @postmcp/types MCP server?

The Postman for MCP.

What tools does @postmcp/types expose?

13 in total: 12 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is @postmcp/types safe to connect to an agent?

With care. The audit graded it D (64/100) and found 25 things worth knowing before you trust this server, listed below with the exact line each was found on.

What credentials does @postmcp/types need?

It reads AI_GATEWAY_API_KEY, AI_GATEWAY_TOKEN, API_KEY, BASIC_AUTH, BEARER_TOKEN, CUSTOM_TEST_API_KEY, FIRECRAWL_API_KEY and OPENAI_API_KEY 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 @postmcp/types run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as @postmcp/types at 0.1.38.

How current is this page?

The grade is for one exact copy of the source (f1f7c47921b7), read on 2026-10-11. The repository is watched and re-audited when it changes.

Advertisement