﻿MCP WordPress Server (Express)

Quick start
1) npm install
2) npm start

Environment
- PORT: Port to listen on (default 3000)
- MCP_AUTH_TOKEN: Optional bearer token. If set, all requests must send:
  Authorization: Bearer <token>

Endpoints
- POST /mcp   (Streamable HTTP MCP endpoint)
- GET  /sse   (SSE endpoint)
- POST /messages?sessionId=... (SSE messages)
- GET  /health

ChatGPT App
- Endpoint: https://mcp.edesk.space/mcp
- Protocol: Streamable HTTP
- Auth: No auth (if MCP_AUTH_TOKEN empty) or Bearer token

Notes
- This server provides Streamable HTTP and SSE endpoints for MCP.
- We'll add WordPress tools next.
