MCP.so
登录

Strapi MCP Server

@MCP-Mirror

关于 Strapi MCP Server

Mirror of

基本信息

分类

其他

许可证

MIT license

运行时

node

传输方式

stdio

发布者

MCP-Mirror

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "strapi": {
      "command": "npx",
      "args": [
        "-y",
        "@bschauer/[email protected]"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Strapi MCP Server?

A Model Context Protocol server for interacting with Strapi CMS. It enables AI assistants to interact with a Strapi instance through a standardized interface, supporting content types and REST API operations.

How to use Strapi MCP Server?

Install via npx in your Claude Desktop configuration. Create a configuration file at ~/.mcp/strapi-mcp-server.config.json with your Strapi instance's API URL and JWT token. Use the provided tools (e.g., strapi_rest, strapi_get_content_types, strapi_upload_media) to perform operations.

Key features of Strapi MCP Server

  • Schema introspection
  • REST API support with validation
  • Media upload handling with format conversion
  • JWT authentication
  • Content type management
  • Version compatibility management (v4 & v5)
  • Write protection policy

Use cases of Strapi MCP Server

  • Query and manage Strapi content types via an AI assistant
  • Create, read, update, and delete content using the REST API
  • Upload media with automatic format conversion and optimization
  • Explore schema before performing operations to validate fields

FAQ from Strapi MCP Server

What Strapi versions are supported?

Both Strapi v4 and v5 are supported. Version can be specified in the config (e.g., "5.*", "4.1.5", "v4") and the server handles API differences automatically.

How do I authenticate with my Strapi instance?

Authentication is done using a JWT token. You must create an API token in your Strapi admin panel and add it to the configuration file.

Can I use this server with multiple Strapi instances?

Yes. You can configure multiple Strapi instances by adding multiple entries to the configuration file at ~/.mcp/strapi-mcp-server.config.json.

How does write protection work?

The server implements a strict write protection policy. All write operations (POST, PUT, DELETE, media upload) require explicit authorization. Each operation is logged and validated.

What are the main differences between Strapi v4 and v5 handled automatically?

v4 uses numeric IDs and nested attribute structures with a data wrapper, while v5 uses document-based IDs, flat data direct attribute access, and enhanced JWT security with integrated i18n.

评论

其他 分类下的更多 MCP 服务器