Atlas / MCP servers / matmax-worldwide / Payload CMS

Payload CMSBLOCK

mcp/matmax-worldwide/payload-cms

Payload CMS MCP Server

Verdict
BLOCK
Grade
F
Trust score
48 /100
Exposed tools
9 9r · 0w · 0d
Transport
sse
License
MIT
Stars
123
01

Overview

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

A specialized MCP server for Payload CMS 3.0 Validate code, generate templates, and scaffold projects following best practices

📋 Overview

The Payload CMS 3.0 MCP Server is a specialized Model Context Protocol server designed to enhance your Payload CMS development experience. It helps developers build better Payload CMS applications by providing code validation, template generation, and project scaffolding capabilities that follow best practices.

✨ Features

📚 Code Validation Validate Payload CMS code for collections, fields, globals, and config files with detailed feedback on syntax errors and best practices.

🔍 Code Generation Generate code templates for collections, fields, globals, access control, hooks, endpoints, plugins, blocks, and migrations.

🚀 Project Scaffolding Scaffold entire Payload CMS projects with validated options for consistency and adhere

Read from source at commit b7d481b22bacOBSERVED · 2026-10-07
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 payload-cms-mcp --env CRON_SECRET=${CRON_SECRET} --env PAYLOAD_SECRET=${PAYLOAD_SECRET} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "payload-cms-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "CRON_SECRET": "${CRON_SECRET}",
        "PAYLOAD_SECRET": "${PAYLOAD_SECRET}"
      }
    }
  }
}
03

Exposed tools (9)

9 read · 0 write · 0 destructive.

ToolRiskDescription
TimestampsreadCollections should have timestamps enabled
echoread
generate_collectionread
generate_fieldread
generate_templateread
mcp_queryread
queryread
scaffold_projectread
validateread
04

Trust audit

BLOCKgrade F · trust 48/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryWARN
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)WARN
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (4 observation(s))
Shell
declared (4 observation(s))
Dependencies
not all pinned
Secrets in source
found

Findings (14)

HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
lib/payload/validator.ts:200
const collection = eval(`(${code})`);
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
lib/payload/validator.ts:292
const field = eval(`(${code})`);
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
lib/payload/validator.ts:368
const global = eval(`(${code})`);
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
lib/payload/validator.ts:442
const config = eval(`(${code})`);
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHNetwork egress · net.tls_off · CWE-200, CWE-319
api/cron-keep-alive.ts:57
tls: redisUrl.startsWith('rediss://') ? { rejectUnauthorized: false } : undefined,
Why it matters. certificate verification is disabled
Fix. leave verification on
HIGHNetwork egress · net.tls_off · CWE-200, CWE-319
lib/redis-connection.ts:52
tls: redisUrl.startsWith('rediss://') ? { rejectUnauthorized: false } : undefined,
Why it matters. certificate verification is disabled
Fix. leave verification on
HIGHNetwork egress · net.tls_off · CWE-200, CWE-319
lib/redis-connection.ts:111
tls: redisUrl.startsWith('rediss://') ? { rejectUnauthorized: false } : undefined,
Why it matters. certificate verification is disabled
Fix. leave verification on
HIGHHard-coded secrets · secret.db_uri · CWE-798, CWE-321
lib/payload/scaffolder.ts:257
: 'DATABASE_URI=postgres://postgres:postgres@localhost:5432/payload-cms-3-project'}
MEDIUMInventory / provenance · inv.binary · CWE-1104
.DS_Store
.DS_Store
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMInventory / provenance · inv.binary · CWE-1104
public/.DS_Store
.DS_Store
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMPrompt injection · prompt.hidden_style · CWE-94, CWE-1427
README.md:5
<img src="https://www.payloadcmsmcp.info/logopayload.png" alt="Payload CMS Logo" width="120" height="120" style="border-radius: 10px; padding: 5px; background-color: white; box-shadow: 0 3px 10px rgba
LOWInventory / provenance · inv.hidden_file · CWE-1104
.DS_Store
.DS_Store
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
public/.DS_Store
.DS_Store
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, content-type, express, http-proxy-middleware, raw-body, redis, zod, @types/node
Why it matters. 9 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha b7d481b22bacfull audit observations/trust-audit/mcp-server/matmax-worldwide__payload-cms.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-07b7d481b22bacBLOCKF48first audit
06

Questions

What is the Payload CMS MCP server?

Payload CMS MCP Server

What tools does Payload CMS expose?

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

Is Payload CMS safe to connect to an agent?

No — not without reading the findings first. The audit graded it F (48/100) and found 8 critical or high issues in the source. Each one is listed on this page with the file and line it is on.

What credentials does Payload CMS need?

It reads CRON_SECRET and PAYLOAD_SECRET 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 Payload CMS run?

It speaks sse, so it runs as a service you connect to over the network. It is published on npm as payload-cms-mcp at 1.0.2.

How current is this page?

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

Advertisement