drio
Open app

🚀 Payload CMS 3.0 MCP Server

Source

Payload CMS MCP Server

Catalog onlyCatalog onlySTDIO

Overview

Payload CMS 3.0 MCP Server is a specialized Model Context Protocol server designed to enhance the development experience for Payload CMS applications by providing tools for code validation, template generation, and project scaffolding.

To use the MCP Server, configure it with your Cursor IDE settings, and then utilize its tools for validating code, generating templates, and scaffolding projects through AI prompts.

  • Code Validation: Validates Payload CMS code for collections, fields, globals, and config files with detailed feedback. - Code Generation: Generates code templates for various components like collections, fields, and hooks. - Project Scaffolding: Scaffolds entire Payload CMS projects with validated options for consistency.
  1. Validating Payload CMS code to ensure best practices.
  2. Generating templates for collections and fields to speed up development.
  3. Scaffolding complete Payload CMS projects for various applications.

Add to your AI client

Use these steps to connect 🚀 Payload CMS 3.0 MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "payloadcmsmcp-matmax-worldwide": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-payloadcmsmcp-matmax-worldwide"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "payloadcmsmcp-matmax-worldwide": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-payloadcmsmcp-matmax-worldwide"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "payloadcmsmcp-matmax-worldwide": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-payloadcmsmcp-matmax-worldwide"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "payloadcmsmcp-matmax-worldwide": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-payloadcmsmcp-matmax-worldwide"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "payloadcmsmcp-matmax-worldwide": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-payloadcmsmcp-matmax-worldwide"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "payloadcmsmcp-matmax-worldwide": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-payloadcmsmcp-matmax-worldwide"
      ]
    }
  }
}