
payloadcmsmcp
by disruption-hub·★ 114·Score 41
Specialized MCP server for Payload CMS 3.0 providing code validation, template generation, and project scaffolding tools.
Overview
The Payload CMS MCP Server enhances the development experience for Payload CMS applications by providing specialized tools for code validation, generation, and project scaffolding. It includes comprehensive tooling for validating collections, fields, globals, and config files, generating templates following best practices, and scaffolding complete project structures. The server is deployed on Railway and integrates seamlessly with Cursor IDE through command-based transport.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this if you're developing with Payload CMS 3.0 and need specialized tools for validation, template generation, and project scaffolding.
When NOT to choose this
Not suitable if you're not using Payload CMS, as it's specifically designed for this CMS platform and relies on Railway deployment.
Tools this server exposes
7 tools extracted from the READMEvalidatevalidate(code: string, fileType: string)Validates Payload CMS code for syntax and best practices
queryquery(query: string, fileType?: string)Queries validation rules and best practices for Payload CMS
mcp_querymcp_query(sql: string)Executes SQL-like queries against Payload CMS structures
generate_templategenerate_template(templateType: string, options: object)Generates code templates for various Payload CMS components
generate_collectiongenerate_collection(slug: string, fields?: array, auth?: boolean, timestamps?: boolean, admin?: object, hooks?: boolean, access?: boolean, versions?: boolean)Generates a complete Payload CMS collection definition
generate_fieldgenerate_field(name: string, type: string, required?: boolean, unique?: boolean, localized?: boolean, access?: boolean, admin?: object, validation?: boolean, defaultValue?: any)Generates a Payload CMS field definition
scaffold_projectscaffold_project(projectName: string, description?: string, serverUrl?: string, database?: string, auth?: boolean, admin?: object, collections?: array, globals?: array, blocks?: array, plugins?: array, typescript?: boolean)Scaffolds a complete Payload CMS project structure
Comparable tools
Installation
Installation
Using Cursor
- Open Cursor Settings
- Go to MCP Servers section
- Add a new MCP server
- Name it "Payload CMS 3.0 MCP"
- Set Transport Type to "Command"
- Set Command to:
railway run --service=YOUR_SERVICE_ID - Save the configuration
General Setup
Ensure you have Node.js 18+ and an active Railway account with API token.
FAQ
- Which Payload CMS versions does this MCP server support?
- This server is specifically designed for Payload CMS 3.0 and may not be compatible with earlier versions.
- Can I use this MCP server with AI clients other than Cursor?
- Yes, you can use it with any MCP client that supports command transport. The setup instructions may vary depending on the client.
Compare payloadcmsmcp with
Last updated · Auto-generated from public README + GitHub signals.