Skip to main content

Strapi MCP Server

Package: ainative-strapi-mcp-server
npm: npm install -g ainative-strapi-mcp-server
Tools: 21 across 4 content types
Auth: Strapi admin email + password

Lets AI agents create, update, filter, and publish content in Strapi CMS using natural language — blog posts, tutorials, gallery items, and events — without touching the Strapi UI.


Quick Start

Claude Code

claude mcp add ainative-strapi ainative-strapi-mcp -- \
-e STRAPI_URL=https://your-strapi.com \
-e STRAPI_ADMIN_EMAIL=admin@example.com \
-e STRAPI_ADMIN_PASSWORD=yourpassword

Manual Config

{
"mcpServers": {
"ainative-strapi": {
"command": "ainative-strapi-mcp",
"args": [],
"env": {
"STRAPI_URL": "https://your-strapi-instance.com",
"STRAPI_ADMIN_EMAIL": "admin@example.com",
"STRAPI_ADMIN_PASSWORD": "your-secure-password"
}
}
}
}

Environment Variables

VariableRequiredDescription
STRAPI_URLYesYour Strapi instance URL
STRAPI_ADMIN_EMAILYesAdmin account email
STRAPI_ADMIN_PASSWORDYesAdmin account password

Tools Reference

Blog Posts (8 tools)

ToolDescription
strapi_create_blog_postCreate a blog post (title, content, slug, categories, tags, author)
strapi_list_blog_postsList posts with filters (category, tag, author, status, date range)
strapi_get_blog_postGet a post by document ID
strapi_update_blog_postUpdate title, content, metadata
strapi_publish_blog_postPublish or unpublish a post
strapi_list_authorsList all authors
strapi_list_categoriesList all categories
strapi_list_tagsList all tags

Create blog post example:

{
"title": "Introducing ZeroDB Local",
"content": "# ZeroDB Local\n\nRun vector search offline...",
"slug": "introducing-zerodb-local",
"categories": ["Product Updates"],
"tags": ["zerodb", "open-source"],
"author": "AINative Team"
}

Tutorials (5 tools)

ToolDescription
strapi_create_tutorialCreate a tutorial (title, steps, difficulty, duration)
strapi_list_tutorialsList tutorials with filters (difficulty, category, tags)
strapi_get_tutorialGet tutorial by document ID
strapi_update_tutorialUpdate tutorial content or metadata
strapi_publish_tutorialPublish or unpublish

Difficulty values: beginner, intermediate, advanced


Events (5 tools)

ToolDescription
strapi_create_eventCreate an event (title, type, date, location, registration URL)
strapi_list_eventsList events with filters (type, date range, status)
strapi_get_eventGet event by document ID
strapi_update_eventUpdate event details
strapi_publish_eventPublish or unpublish

Event type values: webinar, workshop, meetup, conference, hackathon


ToolDescription
strapi_create_gallery_itemCreate a gallery item
strapi_list_gallery_itemsList gallery items with filters
strapi_get_gallery_itemGet item by document ID
strapi_update_gallery_itemUpdate gallery item
strapi_publish_gallery_itemPublish or unpublish

Example Workflows

Draft and publish a blog post

You: "Write a blog post about our new Agent Cloud launch and publish it"

Agent: [strapi_list_authors] Found authors: ["AINative Team", "Engineering"]
[strapi_list_categories] Found: ["Product Updates", "Engineering", "Tutorials"]

[strapi_create_blog_post] Created draft "Introducing Agent Cloud" (ID: abc123)
[strapi_publish_blog_post] Published. Live at /blog/introducing-agent-cloud

Bulk content audit

You: "List all unpublished blog posts from the last 30 days"

Agent: [strapi_list_blog_posts] Filters: status=draft, createdAt > 2026-04-09
Found 7 unpublished drafts:
- "Q2 Product Roadmap" (created 2026-04-15)
- "ZeroDB Local Tutorial" (created 2026-04-22)
...

Create an event

You: "Create a PAI Palooza event for June 15th in San Francisco"

Agent: [strapi_create_event] {
title: "PAI Palooza — SF June 2026",
type: "meetup",
date: "2026-06-15T18:00:00Z",
location: "San Francisco, CA"
}
Created (ID: xyz789). Publish it?

Installation

npm install -g ainative-strapi-mcp-server

Verify:

ainative-strapi-mcp --version