PayloadCMS MCP Plugin

A comprehensive PayloadCMS plugin that creates an MCP (Model Context Protocol) server compatible with Claude Desktop

🚀

Automatic Tool Generation

Generates MCP tools for all PayloadCMS collections automatically

🔐

API Key Authentication

Secure authentication using environment variables

🌐

HTTP Transport

Reliable HTTP-based MCP communication

☁️

Vercel Ready

Optimized for serverless deployment

🛠️

Comprehensive Operations

List, get, create, update, and delete operations

📝

Claude Desktop Integration

Ready to use with Claude Desktop out of the box

Quick Start

1. Install

pnpm install payload-plugin-mcp

2. Configure

// payload.config.ts
import { payloadPluginMcp } from 'payload-plugin-mcp'

export default buildConfig({
  plugins: [
    payloadPluginMcp({
      apiKey: process.env.MCP_API_KEY,
      collections: 'all',
    }),
  ],
})

3. Environment

MCP_API_KEY=your-secret-api-key-here

Made with ❤️ by Antler Digital

Licensed under MIT • Version 1.0.0