home / mcp / ainative strapi mcp server
Provides a production-ready MCP server for Strapi-integrated blog posts, tutorials, and events with metadata operations and advanced filtering.
Configuration
View docs{
"mcpServers": {
"ainative-studio-ainative-strapi-mcp-server": {
"url": "https://your-strapi-instance.com",
"headers": {
"STRAPI_URL": "https://your-strapi-instance.com",
"STRAPI_ADMIN_EMAIL": "[email protected]",
"STRAPI_ADMIN_PASSWORD": "your-secure-password"
}
}
}
}You can connect to a Strapi CMS via a production-ready MCP server that exposes common blogging, tutorial, and event management operations. This enables AI assistants to manage content, fetch data, and publish items directly through Model Context Protocol requests, with secure admin authentication handled by your Strapi instance.
You interact with the MCP server by sending requests through your MCP client to perform create, read, update, and publish actions for blog posts, tutorials, and events. The server handles authentication against your Strapi instance and exposes a stable set of operations for managing content, listing authors, categories, and tags, and filtering results for targeted workflows.
Prerequisites you need before installation: Node.js and npm (or your preferred Node package manager). Ensure you have access to a Strapi instance you can authenticate against.
Install the MCP server globally so you can run the binary or command from anywhere:
npm install -g ainative-strapi-mcp-serverConfigure your MCP client to include the Strapi MCP server. Create or edit your MCP configuration file and add the following entry to enable remote interaction with your Strapi CMS:
{
"mcpServers": {
"ainative_strapi": {
"command": "ainative-strapi-mcp",
"args": [],
"env": {
"STRAPI_URL": "https://your-strapi-instance.com",
"STRAPI_ADMIN_EMAIL": "[email protected]",
"STRAPI_ADMIN_PASSWORD": "your-secure-password"
}
}
}
}Save the configuration and start using the MCP client to connect to the Strapi MCP server. If you need to switch to a different environment, adjust the STRAPI_URL and admin credentials accordingly.
The MCP server exposes a set of operations to manage content in Strapi, including creating, listing, updating, and publishing blog posts, tutorials, and events. You can also list authors, categories, and tags, and apply advanced filtering when listing items.
Use a dedicated Strapi admin account with restricted permissions for MCP operations. Store credentials securely in your MCP client’s environment or secrets manager and avoid embedding sensitive values in client code.
Ensure STRAPI_URL uses the correct production or staging Strapi instance. Validate that the admin user has the necessary permissions to perform create, update, publish, and read actions via the MCP interface.
Create a new blog post by providing a title, markdown content, description, author, category, and tags, then publish when ready.
List blog posts with filters such as status, category, and tags to surface only the content you want to review.
Create a tutorial with a specified difficulty and duration, then publish it to make it available to your audience.
Create events (webinars, workshops, or conferences) with start and end times, location, and registration details, then publish for attendee access.
If you encounter authentication issues, verify that the STRAPI_ADMIN_EMAIL and STRAPI_ADMIN_PASSWORD correspond to an active Strapi admin account with the required permissions.
Check that STRAPI_URL is reachable from the environment where the MCP client runs. Use a secure connection (https) and confirm proper TLS settings if applicable.
The MCP server is designed to be production-ready with a comprehensive test suite. It supports blog posts, tutorials, and events with advanced filtering and metadata operations for efficient content management.
Create a new blog post with title, content (markdown supported), description, author, category, and tags.
List blog posts with advanced filtering such as status, category, and tags.
Retrieve a specific blog post by its document ID.
Update fields of an existing blog post.
Publish or unpublish a blog post.
List all blog authors.
List all blog categories.
List all blog tags.
Create a step-by-step tutorial with details like difficulty and duration.
List tutorials with filtering options.
Get a specific tutorial by document ID.
Update an existing tutorial.
Publish or unpublish a tutorial.
Create a new event with details like type, dates, location, and registration.
List events with filtering.
Get a specific event by document ID.
Update an existing event.
Publish or unpublish an event.