Skip to main content

配置模板

以下模板可以直接复制使用。将 {{占位符}} 替换为你的实际信息即可。

1. llms.txt 模板

电商网站

SaaS/服务类网站

部署路径: https://你的域名/llms.txt

2. agent.json 模板

基础版(仅商品展示)

完整版(多协议支持)

部署路径: https://你的域名/.well-known/agent.json

3. Schema.org Product 模板


4. Schema.org Organization 模板


5. robots.txt 模板(AI友好版)


6. DMARC DNS记录模板

7. SPF DNS记录模板

常用邮件服务商SPF:
  • Google Workspace: include:_spf.google.com
  • Microsoft 365: include:spf.protection.outlook.com
  • Zoho: include:zoho.com
  • Amazon SES: include:amazonses.com

UCP Profile 配置骨架

部署在 /.well-known/ucp,声明商家支持的UCP能力:
部署要求: HTTPS、不允许3xx重定向、Cache-Control public, max-age=60 以上。 详细说明: Book 3 第7章

ACP Product Feed JSON模板

ACP商品数据的最小可用JSON格式(一个Product含一个Variant):
注意: amount 使用ISO 4217最小货币单位。¥399.00 = 39900 详细说明: Book 4 第2章

MCP Server配置模板

Claude Desktop的MCP Server连接配置(claude_desktop_config.json):
详细说明: Book 5 第4章