MCP.so
ログイン
サーバー

Strapi MCP Server

@misterboe

概要

What is Strapi MCP Server?

A Model Context Protocol server that enables AI assistants to interact with Strapi CMS through a standardized interface. It supports content type management, REST API operations, and media uploads, and is intended for development and learning purposes.

How to use Strapi MCP Server?

Install via npx and configure by creating a JSON file at ~/.mcp/strapi-mcp-server.config.json with your Strapi instance’s API URL and JWT token. Multiple Strapi instances can be added. Invoke MCP tools like strapi_get_content_types, strapi_rest, and strapi_upload_media to perform operations.

Key features of Strapi MCP Server

  • Schema introspection for content types and components
  • REST API with CRUD operations and validation
  • Media upload with image optimization (WebP, quality)
  • JWT authentication with token management
  • Write protection policy for security
  • Version compatibility for Strapi v4 and v5
  • Multiple server configuration support
  • Structured error handling and Zod validation

Use cases of Strapi MCP Server

  • AI assistant querying and filtering Strapi content types
  • Creating, updating, or deleting articles via natural language
  • Uploading and optimizing images to a Strapi media library
  • Managing multiple Strapi instances from a single interface

FAQ from Strapi MCP Server

How do I get a JWT token for authentication?

Log into your Strapi admin panel, create an API token with appropriate permissions, and add the token to your config file under the server name.

What Strapi versions are supported?

Both v4 and v5 are supported. The server automatically handles differences in IDs (numeric vs document-based), data structure, and JWT security.

Does this server work in production?

No. The software is provided as-is and should NOT be used in production without thorough testing. It may contain errors, security vulnerabilities, or unexpected behavior; use only for research, learning, or development.

What is the write protection policy?

All write operations (POST, PUT, DELETE, media upload) require explicit authorization. Each operation is logged and validated, and unauthorized writes are blocked.

What dependencies are required?

Node.js and npx. The server runs as an MCP tool via the command npx -y @bschauer/[email protected] and uses a local configuration file for credentials.

「その他」の他のコンテンツ