← 返回 Skills 市场
leima-max

Origin Pro MCP

作者 leima-max · GitHub ↗ · v0.2.1 · MIT-0
win32 ⚠ suspicious
42
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install origin-pro-mcp
功能描述
Control OriginLab Origin Pro through the origin-pro MCP server for worksheets, graphs, publication styling, fitting, LabTalk, and verified figure export. Use...
使用说明 (SKILL.md)

Origin Pro MCP Skill / Origin Pro MCP 技能

\r

English\r

\r Use this skill when the user wants to create, edit, style, fit, or export Origin Pro worksheets and figures through the origin-pro MCP server.\r \r

Scope\r

\r

  • Create and manage Origin projects.\r
  • Create worksheets, write JSON column arrays, read worksheet data, and import numeric CSV files.\r
  • Create scatter, line, line+symbol, bar, histogram, box, contour, pie, bubble, and selected 3D graph types.\r
  • Apply publication-style formatting with one tool call.\r
  • Run linear and nonlinear curve fitting.\r
  • Execute LabTalk for advanced Origin operations.\r
  • Export verified image files from Origin graph pages.\r \r

Prerequisites

  • Windows with Origin Pro 2020 or newer.
  • Windows Python 3.10 or newer.
  • Package installed with python -m pip install -e ..
  • MCP server configured as origin-pro.
  • Origin Pro started before COM-dependent operations.

OpenClaw Setup

Install the package from the checked-out skill folder:

python -m pip install -e .

Register the MCP server with OpenClaw:

openclaw mcp set origin-pro '{"command":"origin-pro-mcp"}'
openclaw mcp show origin-pro

If the console command is not on PATH, register the local server file instead:

openclaw mcp set origin-pro '{"command":"python","args":["-u","PATH_TO_REPO/server.py"]}'

Run the fast package check without Origin:

python -m pytest -q

Run real Origin COM integration tests only when Origin Pro is installed, started, and disposable test projects are acceptable:

$env:ORIGIN_MCP_RUN_ORIGIN="1"; python -m pytest -q

Default Workflow

\r

  1. Confirm Origin Pro is running.\r
  2. Use new_project only when it is acceptable to clear the current Origin session.\r
  3. Load data with create_worksheet + set_worksheet_data or import_csv_to_worksheet.\r
  4. Use create_graph and add_plot_to_graph.\r
  5. Use apply_publication_style for journal-ready formatting.\r
  6. Use curve_fit when fitting is requested.\r
  7. Use export_graph or export_all_graphs, then verify the returned file path and size.\r \r

Tool List\r

\r Project:\r \r

  • new_project\r
  • save_project\r
  • load_project\r \r Worksheet and data:\r \r
  • create_worksheet\r
  • set_worksheet_data\r
  • get_worksheet_data\r
  • import_csv_to_worksheet\r
  • list_worksheets\r \r Graphing:\r \r
  • create_graph\r
  • add_plot_to_graph\r
  • set_axis_labels\r
  • set_axis_range\r
  • export_graph\r
  • export_all_graphs\r \r Styling:\r \r
  • apply_publication_style\r
  • set_plot_style\r
  • set_graph_font\r
  • set_legend\r
  • set_tick_style\r \r Analysis:\r \r
  • curve_fit\r
  • list_fitting_functions\r \r Advanced:\r \r
  • run_labtalk\r
  • get_labtalk_variable\r \r

Safety Rules\r

\r

  • Do not include local API keys, token files, Zotero settings, or workspace-specific MCP config in shared outputs.\r
  • Ask before calling new_project if the user may have unsaved Origin work.\r
  • Treat a successful export as valid only when the tool reports a generated file with non-trivial size.\r
  • If a tool hangs, check whether Origin is showing a modal dialog.\r \r

中文\r

\r 当用户希望通过 origin-pro MCP server 创建、编辑、排版、拟合或导出 Origin Pro 工作表和图像时,使用本技能。\r \r

能力范围\r

\r

  • 创建和管理 Origin 项目。\r
  • 创建工作表、写入 JSON 列数组、读取工作表数据、导入数值型 CSV 文件。\r
  • 创建 scatter、line、line+symbol、bar、histogram、box、contour、pie、bubble 和部分 3D 图。\r
  • 一键应用论文图样式。\r
  • 执行线性和非线性曲线拟合。\r
  • 通过 LabTalk 执行高级 Origin 操作。\r
  • 从 Origin 图页导出经过文件校验的图片。\r \r

前置条件\r

\r

  • Windows,安装 Origin Pro 2020 或更高版本。\r
  • Windows Python 3.10 或更高版本。\r
  • 已执行 python -m pip install -e .。\r
  • MCP server 已配置为 origin-pro。\r
  • 依赖 COM 的操作前请先启动 Origin Pro。\r \r

默认流程\r

\r

  1. 确认 Origin Pro 正在运行。\r
  2. 只有在可以清空当前 Origin 会话时才调用 new_project。\r
  3. 使用 create_worksheet + set_worksheet_dataimport_csv_to_worksheet 加载数据。\r
  4. 使用 create_graphadd_plot_to_graph 绘图。\r
  5. 使用 apply_publication_style 完成论文图样式。\r
  6. 需要拟合时调用 curve_fit。\r
  7. 使用 export_graphexport_all_graphs 导出,并检查返回的路径和文件大小。\r \r

工具清单\r

\r 项目管理:\r \r

  • new_project\r
  • save_project\r
  • load_project\r \r 数据与工作表:\r \r
  • create_worksheet\r
  • set_worksheet_data\r
  • get_worksheet_data\r
  • import_csv_to_worksheet\r
  • list_worksheets\r \r 绘图:\r \r
  • create_graph\r
  • add_plot_to_graph\r
  • set_axis_labels\r
  • set_axis_range\r
  • export_graph\r
  • export_all_graphs\r \r 样式:\r \r
  • apply_publication_style\r
  • set_plot_style\r
  • set_graph_font\r
  • set_legend\r
  • set_tick_style\r \r 分析:\r \r
  • curve_fit\r
  • list_fitting_functions\r \r 高级:\r \r
  • run_labtalk\r
  • get_labtalk_variable\r \r

安全规则\r

\r

  • 不要在共享输出中包含本地 API key、token 文件、Zotero 设置或工作区专用 MCP 配置。\r
  • 如果用户可能有未保存的 Origin 工作,调用 new_project 前先确认。\r
  • 只有当导出工具报告生成了非空文件时,才视为导出成功。\r
  • 如果工具卡住,先检查 Origin 是否弹出了模态对话框。\r
安全使用建议
Install only if you intentionally want an AI agent to control an active Origin Pro session. Keep important Origin projects saved, avoid broad implicit use, review any LabTalk before execution, and prefer a version that disables implicit invocation or adds confirmation gates for new_project and raw LabTalk.
能力标签
requires-oauth-tokenrequires-sensitive-credentials
能力评估
Purpose & Capability
The skill coherently targets Origin Pro automation and discloses worksheet, graph, fitting, export, project, and LabTalk capabilities, but those capabilities include high-impact mutation of an active local Origin session and unrestricted LabTalk execution.
Instruction Scope
The documentation includes user-facing safety notes, but the MCP tools themselves do not enforce confirmation, allowlists, or narrow scoping for raw LabTalk, generated LabTalk strings, or new-project actions.
Install Mechanism
Installation uses normal editable Python package setup and OpenClaw MCP registration. This is expected for an MCP server, but the metadata/frontmatter does not fully declare the shell, environment, and file-write authority involved in setup and testing.
Credentials
Windows Python, pywin32, and Origin COM access are proportionate to the purpose, but the active Origin session may contain valuable unsaved scientific/business data and the tool can read, write, export, load, save, and overwrite local files through user-supplied paths.
Persistence & Privilege
The package registers a local MCP server and enables implicit invocation for a powerful COM automation surface. There is no evidence of hidden persistence or credential theft, but the automatic invocation setting is under-scoped for this level of local authority.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install origin-pro-mcp
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /origin-pro-mcp 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.2.1
OpenClaw frontmatter, UI metadata, opt-in Origin COM tests, and COM initialization hardening.
元数据
Slug origin-pro-mcp
版本 0.2.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Origin Pro MCP 是什么?

Control OriginLab Origin Pro through the origin-pro MCP server for worksheets, graphs, publication styling, fitting, LabTalk, and verified figure export. Use... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 42 次。

如何安装 Origin Pro MCP?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install origin-pro-mcp」即可一键安装,无需额外配置。

Origin Pro MCP 是免费的吗?

是的,Origin Pro MCP 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Origin Pro MCP 支持哪些平台?

Origin Pro MCP 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(win32)。

谁开发了 Origin Pro MCP?

由 leima-max(@leima-max)开发并维护,当前版本 v0.2.1。

💬 留言讨论