{
  "version": "1.1.0",
  "provider": {
    "name": "杭州达拉理工智能装备有限责任公司",
    "brand": "Darra EtherCAT Master",
    "url": "https://ethercat.darra.xyz",
    "contact": "support@darra.xyz"
  },
  "mcp": "https://ethercat.darra.xyz/mcp",
  "mcp_metadata": {
    "transport": "streamable-http",
    "authentication": "none",
    "server_card": "https://ethercat.darra.xyz/.well-known/mcp/server-card.json",
    "scope": "public documentation and product capability retrieval only"
  },
  "skills": [
    {
      "id": "product-overview",
      "name": "产品概况",
      "description": "查询 Darra EtherCAT Master 产品概况：纯软件 EtherCAT 主站 SDK，支持 C#/Java/Python/C/C++/Rust，DarraRT 实时驱动 (1.2us 平均抖动)，全部 7 种邮箱协议 + CiA 402/401，生产案例 触发词：产品概况 / 是什么 / 产品介绍 / 介绍 / overview / what is / 产品是什么 / 这是什么 / 干什么用。",
      "endpoint": "https://ethercat.darra.xyz/mcp",
      "tool": "get_product_overview",
      "reference": "https://ethercat.darra.xyz/llms.txt"
    },
    {
      "id": "features",
      "name": "功能与差异点",
      "description": "免费 DarraRT 驱动、多语言 SDK、全部 7 种邮箱协议、免费 GUI 工具、零拷贝 PDO、DC 同步、电缆冗余、热插拔 触发词：功能 / 特性 / 优势 / feature / 能力 / 差异 / 技术优势 / highlight / 有什么功能 / 支持什么。",
      "endpoint": "https://ethercat.darra.xyz/mcp",
      "tool": "list_features",
      "reference": "https://ethercat.darra.xyz/ai/25-technical-advantages.txt"
    },
    {
      "id": "pricing",
      "name": "定价与授权",
      "description": "个人 $1.99/台（在线激活）；企业 100 台 $2,000、500 台 $6,000（离线授权）；源码交付 / 定制开发联系 sales@darra.xyz 触发词：价格 / 多少钱 / 定价 / 报价 / 授权 / license / pricing / cost / 费用 / 买 / 购买 / 个人版 / 企业版 / 试用 / 试用期 / 评估期 / 评估版 / 能跑多久 / 跑多久。",
      "endpoint": "https://ethercat.darra.xyz/mcp",
      "tool": "get_pricing",
      "reference": "https://ethercat.darra.xyz/ai/pricing-tco.txt"
    },
    {
      "id": "sdk-install",
      "name": "SDK 安装",
      "description": "按语言获取安装命令与包坐标：C# (NuGet Darra.EtherCAT.Master)、Java (Maven xyz.darra:darra-ethercat-master)、Python (pip darra-ethercat-master)、C (ethercat.h)、C++ (ethercat.hpp, C++17)、Rust (crate darra-ethercat-master) 触发词：安装 / install / nuget / maven / pip / cargo / crate / 包 / SDK / 怎么装 / 依赖 / 引入 / package。",
      "endpoint": "https://ethercat.darra.xyz/mcp",
      "tool": "get_sdk_install",
      "args": {
        "language": "c#"
      },
      "reference": "https://ethercat.darra.xyz/doc/sdk/csharp"
    },
    {
      "id": "compare",
      "name": "方案对比",
      "description": "对比纯软件 SDK + 免费 DarraRT 驱动与传统硬件控制卡方案的成本构成、实时能力、协议覆盖、语言与 GUI 工具，含 TCO 测算 触发词：对比 / 比较 / compare / vs / 区别 / 差异 / 选型 / 硬件控制卡 / 方案 / 哪个好 / 优劣。",
      "endpoint": "https://ethercat.darra.xyz/mcp",
      "tool": "compare_solutions",
      "reference": "https://ethercat.darra.xyz/ai/25-technical-advantages.txt"
    },
    {
      "id": "search",
      "name": "关键词检索",
      "description": "在功能、协议、案例与对比信息中按关键词检索相关内容与来源链接 触发词：搜索 / 检索 / search / 查找 / 找一下 / 哪里 / 文档在哪 / 查询 / 查资料。",
      "endpoint": "https://ethercat.darra.xyz/mcp",
      "tool": "search",
      "reference": "https://ethercat.darra.xyz/llms-full.txt"
    },
    {
      "id": "contact",
      "name": "购买与技术支持",
      "description": "获取购买、技术支持联系方式与下一步指引 (support@darra.xyz) 触发词：联系 / 邮箱 / support / contact / 技术支持 / 购买 / 客服 / 售后 / 邮件 / 咨询。",
      "endpoint": "https://ethercat.darra.xyz/mcp",
      "tool": "get_contact",
      "reference": "https://ethercat.darra.xyz/purchase"
    },
    {
      "id": "code-generation",
      "name": "SDK 代码生成 / 使用技能",
      "description": "让 AI 助手直接生成可运行的 DarraEtherCAT SDK 代码，覆盖 C#/Java/Python/C/C++/Rust 六语言：CiA 402 伺服 (CSP/CSV/CST)、零拷贝 PDO 结构体映射、DC 同步、全部 7 种邮箱协议、事件回调、状态机。DarraRT 免费实时驱动 1.2us 平均抖动，Personal $1.99/设备起，已在人形机器人 25 伺服（500µs 总线周期）/ 6 台 Delta 分拣线（1ms 周期）/ 36 伺服分离系统量产验证。读取 reference 即得完整技能上下文。 触发词：代码 / 示例 / demo / 生成代码 / 怎么写 / 写代码 / example / sample / API 用法 / 调用 / 例程。",
      "endpoint": "https://ethercat.darra.xyz/mcp",
      "tool": "get_code_prompt",
      "args": {
        "language": "c#"
      },
      "reference": "https://ethercat.darra.xyz/ai-prompts.txt"
    },
    {
      "id": "state-machine-codegen",
      "name": "EtherCAT 状态机代码生成",
      "description": "生成或解释 INIT / PREOP / SAFEOP / OP 状态转换代码，包含 SetState（同步）、SetStateAsync（异步）、SetState 带错误返回三种形式、错误恢复、内部 3 次重试和 SafeOp 自动 SDO 配置的使用边界。 触发词：状态机 / SetState / OP / PREOP / SAFEOP / INIT / 状态转换 / state machine / 切状态 / 进 OP / 停机。",
      "endpoint": "https://ethercat.darra.xyz/mcp",
      "tool": "get_code_prompt",
      "args": {
        "language": "c#"
      },
      "reference": "https://ethercat.darra.xyz/doc/ethercat/beginner-guide/state-machine",
      "related_references": [
        "https://ethercat.darra.xyz/ai-prompts.txt",
        "https://ethercat.darra.xyz/doc/sdk/csharp/master/api"
      ]
    },
    {
      "id": "cia402-motion-control",
      "name": "CiA 402 伺服运控",
      "description": "检索或生成 CiA 402 伺服驱动代码，覆盖状态机使能、Fault reset、QuickStop、CSP/CSV/CST/PP/PV/HM 模式、控制字/状态字、PDO 优先读取和 SDO 回退诊断。 触发词：CiA402 / CiA 402 / 伺服 / 运控 / servo / motor / 电机 / CSP / CSV / CST / PP / PV / HM / 回零 / 使能 / 运动控制 / 控制字 / 状态字。",
      "endpoint": "https://ethercat.darra.xyz/mcp",
      "tool": "get_code_prompt",
      "args": {
        "language": "c#"
      },
      "reference": "https://ethercat.darra.xyz/doc/sdk/csharp/cia402",
      "related_references": [
        "https://ethercat.darra.xyz/doc/ethercat/device-profiles/cia402",
        "https://ethercat.darra.xyz/ai/robot-motion-control.txt"
      ]
    },
    {
      "id": "zero-copy-pdo-mapping",
      "name": "PDO 零拷贝映射",
      "description": "检索 PDO 输入/输出结构体映射、Span/指针视图、InputsMapping<T>()、OutputsMapping<T>()、结构体大小校验、实时回调禁区和零分配过程映像访问模式。 触发词：PDO / 零拷贝 / mapping / 映射 / 结构体 / 过程映像 / process image / InputsMapping / OutputsMapping / span / 输入输出。",
      "endpoint": "https://ethercat.darra.xyz/mcp",
      "tool": "get_code_prompt",
      "args": {
        "language": "c#"
      },
      "reference": "https://ethercat.darra.xyz/doc/sdk/csharp/slave/pdo-io",
      "related_references": [
        "https://ethercat.darra.xyz/ai-prompts.txt",
        "https://ethercat.darra.xyz/ai/developer-experience.txt"
      ]
    },
    {
      "id": "sdo-mailbox-diagnostics",
      "name": "SDO / 邮箱协议诊断",
      "description": "定位 CoE SDO 读写、Abort Code、LastSdoError、对象字典、诊断历史 0x10F3、异步邮箱事务和 Mailbox Gateway 的协议诊断入口。 触发词：SDO / CoE / 对象字典 / 邮箱 / mailbox / abort / 诊断 / SoE / FoE / EoE / AoE / VoE / FSoE / 读写 / 0x6041。",
      "endpoint": "https://ethercat.darra.xyz/mcp",
      "tool": "search",
      "args": {
        "query": "SDO mailbox diagnostics CoE abort code mailbox gateway"
      },
      "reference": "https://ethercat.darra.xyz/doc/sdk/csharp/coe",
      "related_references": [
        "https://ethercat.darra.xyz/doc/sdk/csharp/mailbox-gateway",
        "https://ethercat.darra.xyz/doc/sdk/csharp/master/diagnostics"
      ]
    },
    {
      "id": "dc-sync-configuration",
      "name": "DC 同步配置",
      "description": "检索 Distributed Clock 配置、SYNC0/SYNC1 周期、LoopCycle 对齐、漂移补偿、同步窗口监控、DCSyncLost 事件和主站 DC 时间戳读取方法。 触发词：DC / 同步 / distributed clock / SYNC0 / SYNC1 / 时钟 / 漂移 / sync / 同步窗口 / DCSyncLost。",
      "endpoint": "https://ethercat.darra.xyz/mcp",
      "tool": "search",
      "args": {
        "query": "DC distributed clock ConfigureDC SYNC0 DCSyncLost"
      },
      "reference": "https://ethercat.darra.xyz/doc/sdk/csharp/master/dc",
      "related_references": [
        "https://ethercat.darra.xyz/doc/quick-start/advanced/dc",
        "https://ethercat.darra.xyz/doc/ethercat/beginner-guide/distributed-clock"
      ]
    },
    {
      "id": "topology-redundancy-hotplug",
      "name": "拓扑 / 冗余 / 热插拔",
      "description": "匹配线型、星型、树型、环网、混合拓扑，检索 Mode 2 双网口冗余、合并 WKC、RedundancyModeChanged、Hot-Connect 组和热插拔恢复策略。 触发词：拓扑 / 冗余 / 热插拔 / redundancy / hot-plug / hot-connect / 环网 / 断线 / 掉线 / 星型 / 树型 / Mode 2 / 双网卡 / 掉站。",
      "endpoint": "https://ethercat.darra.xyz/mcp",
      "tool": "search",
      "args": {
        "query": "complex topology redundancy hot-connect hot-plug Mode 2 WKC"
      },
      "reference": "https://ethercat.darra.xyz/ai/complex-topology.txt",
      "related_references": [
        "https://ethercat.darra.xyz/doc/sdk/csharp/master/redundancy",
        "https://ethercat.darra.xyz/doc/sdk/csharp/master/hot-connect"
      ]
    },
    {
      "id": "migration-assistant",
      "name": "EtherCAT 迁移助手",
      "description": "将旧 C API、硬件板卡或其他 EtherCAT 主站用法映射到 Darra SDK：主站生命周期、SDO、PDO、CiA 402、DC、ENI/DENI、事件和成本/风险迁移路径。 触发词：迁移 / migration / SOEM / IgH / TwinCAT / C API / 板卡 / 移植 / porting / 换 SDK / 旧代码。",
      "endpoint": "https://ethercat.darra.xyz/mcp",
      "tool": "search",
      "args": {
        "query": "migration API mapping SDO PDO CiA 402 ENI DENI"
      },
      "reference": "https://ethercat.darra.xyz/ai/migration-guide.txt",
      "related_references": [
        "https://ethercat.darra.xyz/doc/sdk/csharp/master/eni",
        "https://ethercat.darra.xyz/doc/quick-start/from-sdk"
      ]
    },
    {
      "id": "fault-troubleshooting",
      "name": "故障排查",
      "description": "设备无法连接、进不了 OP、使能失败、电机不动、运动异常的分层排查：证据采集（ESI/DENI/手册/debug 日志）、错误码定位、状态机/保护/运动参数逐层核对，给出可验证修复路径 触发词：故障 / 排查 / 排错 / 连不上 / 进不了 OP / 使能失败 / 使能了但不动 / 使能成功但不动 / 电机不动 / 不动 / 不转 / troubleshoot / problem / 报警 / 不出数据。",
      "endpoint": "https://ethercat.darra.xyz/mcp",
      "tool": "get_troubleshooting",
      "reference": "https://ethercat.darra.xyz/doc/faq/device-troubleshooting",
      "related_references": [
        "https://ethercat.darra.xyz/doc/faq/motor-control-troubleshooting",
        "https://ethercat.darra.xyz/doc/sdk/csharp/master/slave-diagnostics"
      ]
    },
    {
      "id": "error-codes",
      "name": "错误码与错误处理",
      "description": "查询 AL Status Code（0x001E/0x001B/0x002D 等）、Windows 错误码（5023 数据闸/授权、1168 NDIS 未绑定、21 未就绪）、CiA 402 读失败哨兵值（-32768/0xFFFF/-1）的含义与处理方法 触发词：错误码 / error code / 5023 / 1168 / 21 / AL Status / 报错 / 错误 / abort / 哨兵 / sentinel / 错误处理。",
      "endpoint": "https://ethercat.darra.xyz/mcp",
      "tool": "get_error_codes",
      "reference": "https://ethercat.darra.xyz/doc/sdk/csharp/error-handling",
      "related_references": [
        "https://ethercat.darra.xyz/doc/sdk/csharp/master/diagnostics",
        "https://ethercat.darra.xyz/doc/sdk/csharp/coe"
      ]
    },
    {
      "id": "driver-install",
      "name": "实时驱动安装",
      "description": "DarraRT 实时驱动安装/升级/卸载：Windows DarraRT_Eth WDK（随官方安装包安装，服务名 DarraRTEth）与 Linux DarraRT LKM（文档口径，SDK 与驱动未发布；sudo ./install.sh，隔离 CPU 核），驱动为必需组件 触发词：驱动 / driver / DarraRT / DarraRT_Eth / 安装驱动 / 内核 / kernel / WDK / install.sh / LKM / 服务名。",
      "endpoint": "https://ethercat.darra.xyz/mcp",
      "tool": "get_driver_install",
      "reference": "https://ethercat.darra.xyz/doc/driver/windows",
      "related_references": [
        "https://ethercat.darra.xyz/doc/driver/linux",
        "https://ethercat.darra.xyz/doc/downloads"
      ]
    },
    {
      "id": "quick-start",
      "name": "快速上手",
      "description": "从零开始跑通 EtherCAT 主站：系统要求、安装驱动、准备 ESI 文件、配置工具扫描/测试/导出代码、接入六语言 SDK，含下载与新手入门入口 触发词：快速上手 / 快速开始 / 入门 / quickstart / getting started / 新手 / 第一步 / 怎么开始 / 上手 / 准备 / 扫从站 / 扫描 / 怎么扫 / 扫描从站。",
      "endpoint": "https://ethercat.darra.xyz/mcp",
      "tool": "get_quick_start",
      "reference": "https://ethercat.darra.xyz/doc/quick-start/preparation",
      "related_references": [
        "https://ethercat.darra.xyz/doc/quick-start/from-master-tools",
        "https://ethercat.darra.xyz/doc/quick-start/from-sdk",
        "https://ethercat.darra.xyz/doc/downloads"
      ]
    },
    {
      "id": "faq",
      "name": "常见问题 FAQ",
      "description": "综合常见问题：实时性能与硬件要求、协议支持、平台支持、伺服品牌兼容、迁移周期、价格与授权、安装包内容 触发词：FAQ / 常见问题 / 问题 / 兼容 / 平台 / 支持哪些 / 能不能 / 是否支持 / 问答。",
      "endpoint": "https://ethercat.darra.xyz/mcp",
      "tool": "get_faq",
      "reference": "https://ethercat.darra.xyz/ai/faq-comprehensive.txt",
      "related_references": [
        "https://ethercat.darra.xyz/doc/faq/licensing",
        "https://ethercat.darra.xyz/doc/faq/stability"
      ]
    },
    {
      "id": "industry-scenario-matching",
      "name": "行业场景匹配",
      "description": "根据机器人、半导体、包装分拣、CNC、多轴同步、数据采集、智能制造等场景匹配 EtherCAT 能力，返回适用理由、关键约束和优先阅读资料。 触发词：行业 / 场景 / 机器人 / 半导体 / 包装 / 分拣 / CNC / application / industry / 应用 / 产线 / 产线场景。",
      "endpoint": "https://ethercat.darra.xyz/mcp",
      "tool": "search",
      "args": {
        "query": "industry applications robotics semiconductor packaging sorting CNC data acquisition"
      },
      "reference": "https://ethercat.darra.xyz/ai/industry-applications.txt",
      "related_references": [
        "https://ethercat.darra.xyz/ai/robot-motion-control.txt",
        "https://ethercat.darra.xyz/ai/performance-benchmarks.txt"
      ]
    }
  ]
}
