a

ainative-strapi-mcp-server

@AINative-Studio/ainative-strapi-mcp-server
0 Stars 176 次浏览 AINative-Studio 更新于 2026-08-23

MCP 服务配置

复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用

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

服务介绍

AINative Strapi MCP Server

npm version

Natural language blog publishing and content management for Strapi CMS. Production-ready MCP (Model Context Protocol) integration for AI assistants.

Features

  • Blog Post Management: Create, read, update, publish blog posts with markdown support
  • Tutorial System: Create step-by-step tutorials with difficulty levels and duration tracking
  • Event Management: Manage webinars, workshops, meetups, and conferences
  • Advanced Filtering: Search and filter by categories, tags, authors, difficulty, event types
  • Metadata Operations: List authors, categories, and tags
  • Production Ready: Tested with 100% pass rate on comprehensive test suite

Installation

Global Installation

npm install -g ainative-strapi-mcp-server

For MCP-Compatible AI Assistants

Add to your MCP configuration file:

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

Environment Variables

Variable Required Description
STRAPI_URL Yes Your Strapi instance URL (e.g., https://cms.example.com)
STRAPI_ADMIN_EMAIL Yes Admin email for authentication
STRAPI_ADMIN_PASSWORD Yes Admin password for authentication

Available Operations

Blog Post Operations (6)

  1. strapi_create_blog_post - Create a new blog post
  2. strapi_list_blog_posts - List blog posts with advanced filtering
  3. strapi_get_blog_post - Get a specific blog post by document ID
  4. strapi_update_blog_post - Update an existing blog post
  5. strapi_publish_blog_post - Publish or unpublish a blog post
  6. strapi_list_authors - List all authors
  7. strapi_list_categories - List all blog categories
  8. strapi_list_tags - List all blog tags

Tutorial Operations (5)

  1. strapi_create_tutorial - Create a step-by-step tutorial
  2. strapi_list_tutorials - List tutorials with filtering
  3. strapi_get_tutorial - Get a specific tutorial by document ID
  4. strapi_update_tutorial - Update an existing tutorial
  5. strapi_publish_tutorial - Publish or unpublish a tutorial

Event Operations (5)

  1. strapi_create_event - Create a new event
  2. strapi_list_events - List events with filtering
  3. strapi_get_event - Get a specific event by document ID
  4. strapi_update_event - Update an existing event
  5. strapi_publish_event - Publish or unpublish an event

Usage Examples

Creating a Blog Post

strapi_create_blog_post({
  title: "Getting Started with AI Development",
  content: "# Introduction\n\nLet's explore AI development...",
  description: "A beginner's guide to AI development",
  author_id: 1,
  category_id: 2,
  tag_ids: [1, 3, 5]
})

Listing Blog Posts with Filters

strapi_list_blog_posts({
  status: "published",
  category_id: 2,
  page: 1,
  pageSize: 10,
  sort: "publishedAt:desc"
})

Creating a Tutorial

strapi_create_tutorial({
  title: "Building Your First AI Agent",
  content: "# Step 1: Setup\n\nFirst, install the required packages...",
  description: "Learn to build AI agents from scratch",
  difficulty: "beginner",
  duration: 30,
  author_id: 1
})

Creating an Event

strapi_create_event({
  title: "AI Development Workshop",
  description: "Hands-on workshop for building AI applications",
  event_type: "workshop",
  start_date: "2025-02-15T10:00:00Z",
  end_date: "2025-02-15T16:00:00Z",
  location: "Virtual - Zoom",
  registration_url: "https://example.com/register",
  max_attendees: 50
})

Version History

v1.0.0 (2025-12-13)

  • Initial release
  • Support for blog posts, tutorials, and events
  • 18 operations with full CRUD capabilities
  • Advanced filtering and search
  • Production-ready with comprehensive testing

License

MIT License - see LICENSE file for details

Support

For issues, questions, or contributions:

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Acknowledgments

Built by AINative Studio for the Model Context Protocol ecosystem.

相关 MCP 服务