statamic-mcp
Verified Safeby cboxdk
Overview
Provides AI assistants with structured access to Statamic CMS content management capabilities through a router-based architecture.
Installation
php artisan mcp:start statamicEnvironment Variables
- APP_ENV
Security Notes
The authentication middleware uses Basic Auth and a custom Base64-encoded token (functionally similar to Basic Auth), which relies on HTTPS for secure transport. The `BaseStatamicTool::validateAndSanitizeArguments` is intentionally permissive for 'Claude compatibility', performing only basic null byte checks and deferring deeper input validation to underlying Statamic APIs. This approach could be a vulnerability if a downstream Statamic component has insufficient validation for specific field types or data structures when processing AI-generated input. The `AssetsRouter::createAsset` and `AssetsRouter::uploadAsset` methods allow uploading file content (either base64 encoded or from a local path) by creating temporary files and using `Illuminate\Http\UploadedFile`. While `mime_content_type` is used, it does not guarantee protection against all forms of malicious file uploads (e.g., PHP web shells). If an attacker can control or jailbreak the AI's input, this could lead to remote code execution. Other parts of the system, such as `PathValidator` and Statamic's blueprint-based field validation in `ContentRouter`, demonstrate strong security practices for their respective domains. Configuration settings are protected with whitelisting in `SystemRouter` to prevent arbitrary changes.
Similar Servers
boost
Laravel Boost is an MCP server designed to accelerate AI-assisted development by providing context and specialized tools for Laravel-specific code generation.
pluggedin-app
The MCP Playground is a testing environment for MCP (Model Control Protocol) servers, allowing users to connect to multiple MCP servers and interact with them through an LLM-powered chat interface.
contentful-mcp-server
This MCP server enables AI assistants to manage Contentful content, assets, and workflows using natural language.
microcms-mcp-server
Enables AI assistants like Claude to interact with the microCMS content management system for content and media management.