面向内容管理的人工智能
🌐 AI for content managers
Page summary:Strapi AI 帮助内容管理员设计内容 结构、翻译内容并从管理面板生成资源元数据。Strapi 还包括一个内置的 MCP 服务器,使 AI 客户端可以通过自然语言管理内容。
🌐 Strapi AI helps content managers design content structures, translate content, and generate asset metadata from the admin panel. Strapi also includes a built-in MCP server that lets AI clients manage content through natural language.
本页面介绍了 Strapi 中面向内容管理者的 AI 功能:内置于管理面板的 Strapi AI 功能,以及允许 AI 客户端管理你内容的 MCP 服务器。
🌐 This page covers the AI-powered capabilities available to content managers in Strapi: the Strapi AI features built into the admin panel, and the MCP server that lets AI clients manage your content.
Strapi 人工智能
🌐 Strapi AI
GrowthThis feature is available with a Growth plan. 5.30+This feature requires Strapi version 5.30+ or later.一些 Strapi CMS 功能可以通过 Strapi AI 得到增强,帮助内容管理者和管理员设计内容结构、自动翻译内容以及生成资源元数据,所有操作都可以在管理面板完成。
🌐 Some Strapi CMS features can be enhanced with Strapi AI, helping content managers and administrators design content structures, translate content automatically, and generate asset metadata, all from the admin panel.
激活和配置
🌐 Activation and configuration
自 Strapi 5.30 起,Strapi AI 对 Growth 计划用户可用,并且适用于 Strapi Cloud 和自托管部署。开始使用方法如下:
🌐 Strapi AI is available for Growth plan users since Strapi 5.30 and works with both Strapi Cloud and self-hosted deployments. To get started:
- 升级到 Strapi v5.30+。AI 功能在早期版本中不可用。
- 通过 CLI 或 Strapi Cloud 激活 Growth 许可证密钥,或开始 30 天免费试用。试用包括 10 个用于探索 AI 功能的免费积分。
- 可以从内容类型构建器、媒体库或内容管理器访问 AI 功能;它们默认启用。
所有 Strapi AI 功能可以通过管理员面板配置在全局范围内启用或禁用:
🌐 All Strapi AI features can be enabled or disabled globally through the admin panel configuration:
module.exports = {
// ...
ai: {
enabled: true, // set to false to disable all Strapi AI features
},
};
有关 所有配置选项,请参见 管理员面板配置 > Strapi AI。
可用功能
🌐 Available features
| 功能 | 描述 |
|---|---|
| 内容类型构建器 | AI 聊天助手,帮助设计内容类型结构,解释现有的架构,并规划数据模型。使用你现有的内容类型作为上下文。 |
| 国际化 | 当你保存条目时,会自动将内容从默认语言翻译到所有其他配置的语言。 |
| 媒体库 | 为上传的图片生成替代文本、标题和描述。 |
积分与数据处理
🌐 Credits and data handling
Strapi AI 功能会消耗 AI 积分。
🌐 Strapi AI features consume AI credits.
Strapi AI 在 Growth 计划中每月包含 1,000 个积分,并在免费试用期间提供 10 个免费积分。Strapi AI 在企业计划中不可用。
轻量级操作使用较少的积分,而更复杂的操作使用更多。
🌐 Lightweight actions use fewer credits, while more complex ones use more.
你可以在管理面板的 Settings Overview 中查看你的信用使用情况。当你的使用量达到每月配额的80%、90%和100%时,会发送通知。超额使用将产生额外费用。
积分在同一项目实例的所有用户之间共享。
🌐 Credits are shared across all users within the same project instance.
当你的积分用完时,你仍然可以继续使用 Strapi AI,超出部分将按月收费。有关 Strapi AI 的更多信息,请参阅专门的支持文章。
🌐 When your credits run out, you can keep using Strapi AI, with overages billed monthly. For more information about Strapi AI, please refer to the dedicated support article.
所有 AI 请求都是通过 Strapi 管理的基础设施处理的。内容仅在每次请求期间临时使用,不会存储在你的实例之外。Strapi AI 遵循与 Strapi Cloud 相同的符合 GDPR 的框架。
🌐 All AI requests are processed through Strapi-managed infrastructure. Content is only used temporarily during each request and is not stored outside your instance. Strapi AI follows the same GDPR-aligned framework as Strapi Cloud.
有关详细信息,请参见 使用信息 > Strapi AI 数据处理。
Strapi MCP 服务器
🌐 Strapi MCP server
Strapi 包含一个内置的 模型上下文协议 (MCP) 服务器,它允许像 Claude、Cursor 或任何 MCP 兼容工具这样的 AI 客户端通过自然语言管理你的内容。一旦启用并连接,AI 客户端可以直接通过 Strapi 的内容管理器创建、读取、更新、删除、发布和取消发布条目,所有操作都受管理员令牌权限的控制。
🌐 Strapi includes a built-in Model Context Protocol (MCP) server that lets AI clients like Claude, Cursor, or any MCP-compatible tool manage your content through natural language. Once enabled and connected, an AI client can create, read, update, delete, publish, and unpublish entries directly through Strapi's Content Manager, all gated by Admin token permissions.
MCP 服务器
了解如何启用、配置、连接和使用 Strapi 内置的 MCP 服务器。