Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

ProcessMCP for ProcessWire

ProcessMCP is a native ProcessWire module that transforms your CMS into an Agent-Ready API. It exposes core CRUD operations via a simple JSON-RPC 2.0 interface, allowing AI Agents (OpenClaw, Claude, AutoGPT, etc.) to autonomously manage content, users, and site structure.

Why?

Most CMS APIs (GraphQL/REST) are designed for frontend developers. ProcessMCP is designed for AI Agents.

  • Context-Aware: Agents can list_pages with natural selectors (template=blog, created>today).
  • Standard Protocol: Uses JSON-RPC 2.0 (compatible with MCP tool definitions).
  • Secure: Uses native ProcessWire authentication (Basic Auth) respecting all role/permission rules.

Installation

  1. Download the zip or clone into /site/modules/ProcessMCP/.
  2. Login to ProcessWire Admin > Modules > Refresh.
  3. Install ProcessMCP.
  4. Configure the endpoint slug (default: mcp-api).

Usage

Send a POST request to https://yoursite.com/mcp-api/ with Basic Auth.

Example: Create a Page

{
  "jsonrpc": "2.0",
  "method": "create_page",
  "params": {
    "parent_id": 1,
    "template": "basic-page",
    "title": "Hello from AI",
    "fields": {
      "body": "This content was written autonomously."
    }
  },
  "id": 1
}

Tools

  • list_pages(selector, limit)
  • read_page(id)
  • create_page(parent_id, template, title, fields)
  • update_page(id, fields)
  • delete_page(id)

License

MIT. Built by iKawn.

About

ProcessMCP: Agentic API for ProcessWire CMS (JSON-RPC 2.0)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages