home / mcp / ainative strapi mcp server

AINative Strapi MCP Server

Provides a production-ready MCP server for Strapi-integrated blog posts, tutorials, and events with metadata operations and advanced filtering.

Installation
Add the following to your MCP client configuration file.

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.

How to use

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.

How to install

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-server

Configure 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.

Additional content you can manage with this MCP server

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.

Configuration and security notes

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.

Examples of common usage scenarios

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.

Troubleshooting tips

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.

Notes

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.

Available tools

strapi_create_blog_post

Create a new blog post with title, content (markdown supported), description, author, category, and tags.

strapi_list_blog_posts

List blog posts with advanced filtering such as status, category, and tags.

strapi_get_blog_post

Retrieve a specific blog post by its document ID.

strapi_update_blog_post

Update fields of an existing blog post.

strapi_publish_blog_post

Publish or unpublish a blog post.

strapi_list_authors

List all blog authors.

strapi_list_categories

List all blog categories.

strapi_list_tags

List all blog tags.

strapi_create_tutorial

Create a step-by-step tutorial with details like difficulty and duration.

strapi_list_tutorials

List tutorials with filtering options.

strapi_get_tutorial

Get a specific tutorial by document ID.

strapi_update_tutorial

Update an existing tutorial.

strapi_publish_tutorial

Publish or unpublish a tutorial.

strapi_create_event

Create a new event with details like type, dates, location, and registration.

strapi_list_events

List events with filtering.

strapi_get_event

Get a specific event by document ID.

strapi_update_event

Update an existing event.

strapi_publish_event

Publish or unpublish an event.