MCP.so

๐Ÿš€ Payload CMS 3.0 MCP Server

@Matmax-Worldwide

๐Ÿš€ Payload CMS 3.0 MCP Server ใซใคใ„ใฆ

Payload CMS MCP Server

ๅŸบๆœฌๆƒ…ๅ ฑ

ใ‚ซใƒ†ใ‚ดใƒช

ใใฎไป–

ใƒฉใ‚คใ‚ปใƒณใ‚น

MIT

ใƒฉใƒณใ‚ฟใ‚คใƒ 

html

ใƒˆใƒฉใƒณใ‚นใƒใƒผใƒˆ

stdio

ๅ…ฌ้–‹่€…

Matmax-Worldwide

่จญๅฎš

ๆจ™ๆบ–ใฎ่จญๅฎšใฏใ‚ใ‚Šใพใ›ใ‚“

ใ“ใฎใ‚ตใƒผใƒใƒผใฎ README ใซใฏ่งฃๆžๅฏ่ƒฝใช MCP ่จญๅฎšใƒ–ใƒญใƒƒใ‚ฏใŒๅซใพใ‚Œใฆใ„ใพใ›ใ‚“ใ€‚ใ‚คใƒณใ‚นใƒˆใƒผใƒซๆ‰‹้ †ใฏใƒชใƒใ‚ธใƒˆใƒชใ‚’ใ”็ขบ่ชใใ ใ•ใ„ใ€‚

ใƒชใƒใ‚ธใƒˆใƒช

ใƒ„ใƒผใƒซ

ใƒ„ใƒผใƒซใฏๆคœๅ‡บใ•ใ‚Œใพใ›ใ‚“ใงใ—ใŸ

ใƒ„ใƒผใƒซใฏ README ใ‹ใ‚‰่‡ชๅ‹•็š„ใซๆŠฝๅ‡บใ•ใ‚Œใพใ™ใ€‚ใƒกใƒณใƒ†ใƒŠใƒผใฏ ## Tools ใจใ„ใ†่ฆ‹ๅ‡บใ—ใฎไธ‹ใซ่จ˜่ผ‰ใ™ใ‚‹ใ“ใจใงใ€ใ“ใฎใ‚ฟใƒ–ใซๅๆ˜ ใงใใพใ™ใ€‚

ๆฆ‚่ฆ

What is ๐Ÿš€ Payload CMS 3.0 MCP Server?

It is a specialized Model Context Protocol server designed to enhance Payload CMS 3.0 development. It provides code validation, template generation, and project scaffolding capabilities that follow best practices.

How to use ๐Ÿš€ Payload CMS 3.0 MCP Server?

Requires Node.js 18+, a Railway account, and a Railway API token. Configure your MCP client (e.g., Cursor) with transport type "Command" and command railway run --service=YOUR_SERVICE_ID. Then invoke tools like validate, generate_template, or scaffold_project in AI prompts.

Key features of ๐Ÿš€ Payload CMS 3.0 MCP Server

  • Code validation with detailed feedback on syntax and best practices.
  • Code generation for collections, fields, globals, and more.
  • Project scaffolding with validated options for consistency.
  • Query validation rules and best practices with the query tool.
  • Execute SQL-like queries against Payload structures with mcp_query.

Use cases of ๐Ÿš€ Payload CMS 3.0 MCP Server

  • Validate Payload CMS collection code for errors and best practices.
  • Generate templates for hooks, endpoints, plugins, and migrations.
  • Scaffold a complete Payload project with collections, globals, and blocks.
  • Query best practices for access control and other features.

FAQ from ๐Ÿš€ Payload CMS 3.0 MCP Server

What are the prerequisites?

Node.js 18+, a Railway account, and a Railway API token.

What MCP client is supported?

The README demonstrates configuration with Cursor IDE, but any MCP client using stdio should work.

What tools does this server provide?

It provides validate, query, mcp_query, generate_template, generate_collection, generate_field, scaffold_project, and validate_scaffold_options.

How do I configure the server?

Add an MCP server in your client with transport type "Command" and command railway run --service=YOUR_SERVICE_ID.

Is there a local alternative to Railway?

The README only describes Railway deployment; no local alternative is mentioned.

ใ‚ณใƒกใƒณใƒˆ

ใ€Œใใฎไป–ใ€ใฎไป–ใฎใ‚ณใƒณใƒ†ใƒณใƒ„