{
  "version": "2.0",
  "site": "https://www.zengai.com",
  "description": "增AI - AI 工具导航平台，支持 AI 代理执行搜索、推荐、提交等任务。所有接口均为公开接口，无需认证。",
  "mcp_server": {
    "url": "https://www.zengai.com/mcp",
    "protocol": "2025-03-26",
    "transport": "Streamable HTTP",
    "tools": ["search_tools", "get_tool_detail", "list_categories", "recommend_tools", "get_combination_report", "search_mcp_servers"],
    "resources": ["zengai://site-info", "zengai://categories", "zengai://top-tools/{limit}"],
    "prompts": ["find-tool", "compare-tools", "tool-workflow"]
  },
  "actions": [
    {
      "id": "search-tools",
      "name": "搜索 AI 工具",
      "description": "搜索 AI 工具、MCP Server、Agent Skill，支持关键词和类型筛选",
      "method": "api",
      "endpoint": "/api/v1/tools/search?q={query}",
      "parameters": {
        "required": ["query"],
        "optional": ["type", "limit", "sortBy"]
      }
    },
    {
      "id": "get-tool-detail",
      "name": "获取工具详情",
      "description": "获取指定工具的完整信息，包括描述、评分、最佳实践、使用指南",
      "method": "api",
      "endpoint": "/api/v1/tools/{slug}",
      "parameters": {
        "required": ["slug"]
      }
    },
    {
      "id": "batch-get-tools",
      "name": "批量获取工具",
      "description": "一次获取多个工具详情，支持 ID 或 slug，最多 20 个",
      "method": "api",
      "endpoint": "/api/v1/tools/batch?slugs={slug1,slug2}",
      "parameters": {
        "optional": ["ids", "slugs"]
      }
    },
    {
      "id": "ai-recommend",
      "name": "AI 智能推荐",
      "description": "根据需求描述，AI 推荐最适合的工具，返回匹配度评分和推荐理由",
      "method": "api",
      "endpoint": "/api/v1/ai/recommend?q={query}",
      "parameters": {
        "required": ["query"]
      }
    },
    {
      "id": "ai-summary",
      "name": "站点摘要",
      "description": "获取站点精简摘要，包含 Top 20 工具和分类列表",
      "method": "api",
      "endpoint": "/api/v1/ai/summary",
      "parameters": {}
    },
    {
      "id": "ai-site-index",
      "name": "站点全貌",
      "description": "获取完整站点数据，包含所有工具名称和分类",
      "method": "api",
      "endpoint": "/api/v1/ai/site-index",
      "parameters": {}
    },
    {
      "id": "ai-llms-full",
      "name": "完整工具索引",
      "description": "获取 llms-full.txt 内容，包含所有工具的完整索引",
      "method": "api",
      "endpoint": "/api/v1/ai/llms-full",
      "parameters": {}
    },
    {
      "id": "search-mcp-servers",
      "name": "搜索 MCP Server",
      "description": "专门搜索 MCP Server 和 Agent Skill，按星标数排序",
      "method": "api",
      "endpoint": "/api/v1/ai/tools?q={query}&type=mcp_server",
      "parameters": {
        "optional": ["query", "limit"]
      }
    },
    {
      "id": "list-best-practices",
      "name": "获取最佳实践",
      "description": "获取有最佳实践的工具列表，包含使用模式和实践建议",
      "method": "api",
      "endpoint": "/api/v1/tools?hasBestPractices=true",
      "parameters": {
        "optional": ["limit", "sortBy"]
      }
    },
    {
      "id": "list-categories",
      "name": "获取分类",
      "description": "获取工具分类列表，包括 AI 写作、AI 绘画、AI 编程等",
      "method": "api",
      "endpoint": "/api/v1/categories",
      "parameters": {}
    },
    {
      "id": "get-combination-reports",
      "name": "获取组合教程",
      "description": "获取工具组合使用教程列表，展示多工具配合方案",
      "method": "api",
      "endpoint": "/api/v1/combination-reports",
      "parameters": {
        "optional": ["limit"]
      }
    },
    {
      "id": "top-tools",
      "name": "热门工具排行",
      "description": "获取热门工具排行（公开接口，无需权限）",
      "method": "api",
      "endpoint": "/api/v1/stats/top-tools?limit={limit}",
      "parameters": {
        "optional": ["limit"]
      }
    },
    {
      "id": "submit-tool",
      "name": "提交新工具",
      "description": "提交一个新的 AI 工具到导航站进行审核",
      "method": "api",
      "endpoint": "/api/v1/tools/submit",
      "parameters": {
        "required": ["name", "website", "description"],
        "optional": ["tags", "categoryId"]
      }
    }
  ],
  "discovery": {
    "llms_txt": "https://www.zengai.com/llms.txt",
    "llms_full_txt": "https://www.zengai.com/llms-full.txt",
    "ai_protocol": "https://www.zengai.com/.well-known/ai-protocol.json",
    "deepseek_tools": "https://www.zengai.com/.well-known/deepseek-tools.json",
    "openapi": "https://www.zengai.com/api/v1/openapi.json",
    "sitemap": "https://www.zengai.com/sitemap.xml"
  }
}
