originpro-mcp
Automates and controls OriginPro 2025 via COM/originpro, including project and workbook management, data import, matrix and graph operations, linear/nonlinear fitting, and graph export to PowerPoint/OLE.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
originpro-mcp
Windows MCP (Model Context Protocol) server for OriginPro 2025 automation via the official originpro (OriginExt) Python package and COM.
Features
Safe COM serialization: Dedicated worker thread with
pythoncom.CoInitialize()/CoUninitialize(), bounded timeouts, and an unknown-outcome lock hold so mutating calls never overlap.Non-intrusive startup:
origin_statusnever launches OriginPro;ensure_originattaches to a running instance or launchesOrigin64.exewithout stealing focus.Lock-free dialog diagnostics:
get_origin_stateandget_origin_dialogsinspect Origin processes and modal dialogs via Win32 without acquiring COM or worker locks.dismiss_origin_dialogsonly clicksCancel/Close(orOKif requested) or postsWM_CLOSE—neverSave,Yes, orDelete.Progress heartbeats: Long-running tools emit 2-second MCP progress notifications when a
progressTokenis supplied.Bundled Markdown knowledge: Deterministic heading-aware search and bounded document reader, plus
scripts/update_knowledge.pyto refresh local OriginPro reference manuals into.local/knowledge/.PowerPoint OLE export:
copy_graph_olecopies a graph to the clipboard as an editable OLE object, andsend_graphs_to_powerpointinserts up to 30 graphs as centered, aspect-ratio-preserved OLE slides in Microsoft PowerPoint.Session memory: Bounded, sanitized JSONL tool-call logging and explicit Markdown session summaries.
Related MCP server: Origin Pro MCP Server
Prerequisites
Windows (COM automation via
originproandpywin32)Python 3.10+
OriginPro 2025 (or compatible OriginPro installation with Python
originprosupport)Microsoft PowerPoint (optional, required only for
send_graphs_to_powerpoint)
Setup (Windows)
Run the setup script from PowerShell:
.\setup.ps1This creates .venv, installs originpro-mcp in editable mode (pip install -e .), builds the local knowledge corpus in .local/knowledge/ (pass -SkipKnowledge to skip), and generates .local/mcp-config.example.json and .local/mcp-config.codex.toml.
To install into your system Python instead (or specify a custom Python executable):
.\setup.ps1 -UseSystemPython
# or
.\setup.ps1 -PythonExe "C:\Path\To\python.exe"MCP Client Configuration
Add the following to your MCP client configuration (see .local/mcp-config.example.json generated by setup.ps1):
{
"mcpServers": {
"originpro": {
"command": "C:\\Users\\<you>\\Desktop\\originpro-mcp\\.venv\\Scripts\\python.exe",
"args": ["-m", "originpro_mcp"],
"env": {
"ORIGIN_TOOL_PROFILE": "full"
}
}
}
}Or run via the installed console script: originpro-mcp.
Environment Variables
Variable | Default | Description |
| Auto-detected under | Explicit path to |
|
|
|
|
| Override directory for Markdown knowledge documents and |
|
| Override directory for JSONL tool-call logs and Markdown session summaries. |
|
| Override path for persistent figure defaults and publication color palettes. |
Tool Overview (41 tools in full, 38 in core)
Control & Execution:
ensure_origin,origin_status,execute_labtalk,run_xfunction,open_project,save_project,import_delimited_text,import_multiple_filesInspection & Data:
inspect_project,list_workbooks,manage_sheet,list_matrices,list_columns,get_column_data,set_column_data,read_variable,list_windows,capture_window,get_system_informationGraphing & Analysis:
create_graph,set_graph_axes,inspect_graph,linear_fit,nonlinear_fitPreferences:
get_user_preferences,set_user_preferencesPowerPoint / OLE Export:
copy_graph_ole,send_graphs_to_powerpointNotes:
list_notes,read_note,write_noteDialogs & Diagnostics:
get_origin_state,get_origin_dialogs(supportsinclude_uia=True),dismiss_origin_dialogsKnowledge:
search_origin_knowledge,query_origin_help,read_origin_document,list_origin_guidesSession Memory (
fullprofile):search_session_memory,read_session_memory,capture_session
Refreshing Local Knowledge Manuals
Run scripts/update_knowledge.py to populate or update .local/knowledge/ with OriginPro reference manuals (queried via query_origin_help):
.\.venv\Scripts\python.exe scripts\update_knowledge.pyRunning Tests
Run the unit test suite (uses mocks for COM/OriginPro so it runs without OriginPro open):
.\.venv\Scripts\python.exe -B -m unittest discover -s tests -vTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Generate, edit, merge, translate and PDF-convert PowerPoint (.pptx) over MCP. 8 tools.
Read surfaces, alignments, corridors and pipes in Civil 3D 2020–2027 on your PC. Needs Civil 3D MCP.
자동화하여 HWPX 문서의 로딩, 탐색, 편집, 검증을 한 번에 처리합니다. 문단·표·주석 추가, 텍스트 일괄 치환, 머리말·꼬리말 설정 등 반복 작업을 신속히 수행합니다. 기…
Excel analytics: inspect, query (JSON rows), charts, and JSON-to-xlsx workbook writing.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI assistants to control Origin/OriginPro on Windows, including data import, worksheet editing, graphing, analysis, and figure export.25184 PyPI172MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to control OriginLab Origin Pro via COM automation for data analysis, graphing, and styling, with real-time GUI updates.256161 PyPI53MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI clients to drive a running OriginLab Origin instance, allowing LabTalk scripting, worksheet read/write, and project management.-
- AlicenseNot gradedqualityCmaintenanceEnables agent sessions to drive OriginPro via COM for plotting XY data, performing linear fits with R2, and exporting PNG images.MIT