Skip to main content

origin-mcp

origin-mcp cover

PyPI version Downloads Python 3.10+ origin-mcp MCP server License: MIT

简体中文

origin-mcp is a local Model Context Protocol (MCP) server that lets AI assistants control Origin/OriginPro on Windows. An authenticated local bridge runs inside Origin so automation stays on its UI thread. The project is still in testing; real-workflow feedback and contributions are welcome.

Highlights

  • Import, edit, transform, and export worksheet, matrix, image, and connector data.
  • Create and refine 2D, 3D, contour, statistical, and specialized plots.
  • Run fitting, signal processing, statistics, Peak Analyzer, and batch workflows.
  • Manage projects, folders, Notes, templates, analysis operations, and graph layouts.
  • Build publication figures with reusable templates, palettes, and an optional Nature-style preset.

Quick Start

You need Windows, a licensed Origin/OriginPro installation, and Python 3.10+ for the MCP server. Origin 2026/2026b is the current target family; the bridge uses the Python bundled with Origin.

  1. Install the MCP server:
pip install origin-mcp
  1. Add the MCP server to your client (use the absolute python.exe path if python points to another environment):
{
  "mcpServers": {
    "origin": {
      "command": "python",
      "args": ["-m", "origin_mcp"]
    }
  }
}
  1. Install the Origin Start/Stop Apps, follow the short registration guide, then click Origin MCP Bridge Start once per Origin session:
origin-mcp install-origin-app --force
  1. Verify the bridge and live Origin connection:
origin-mcp status
origin-mcp doctor --ping-origin

Both diagnostic commands support --json. For manual bridge startup or troubleshooting, see the bridge guide.

To let an AI agent install and configure origin-mcp, send it this instruction: Fetch and follow https://raw.githubusercontent.com/Ge-Shun/origin-mcp/main/docs/agentic/origin-mcp-bootstrap.md end to end.

Documentation

Development

From a checkout, install with pip install -e . and run the full local gate:

python scripts/dev_check.py --tests

Security

The bridge listens only on 127.0.0.1 and authenticates local requests by default with a per-session token. Treat the token as a credential, keep its handshake file in a user-private directory, and avoid ORIGIN_MCP_BRIDGE_NO_AUTH unless every local process is trusted. Set ORIGIN_MCP_ALLOWED_ROOTS to restrict which files tools may access.

License

MIT. See LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

origin_mcp-0.1.4.tar.gz (760.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

origin_mcp-0.1.4-py3-none-any.whl (351.1 kB view details)

Uploaded Python 3

File details

Details for the file origin_mcp-0.1.4.tar.gz.

File metadata

  • Download URL: origin_mcp-0.1.4.tar.gz
  • Upload date:
  • Size: 760.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for origin_mcp-0.1.4.tar.gz
Algorithm Hash digest
SHA256 57ba58ddf9f10814ed20f7678974989bfabdc28e29782515258010cbfcc0d5b2
MD5 693412088ea6c3b87e4d34391f9d2770
BLAKE2b-256 cb69c86cfa314f532109849a3a0a9a0b6e03d05d0f68c74f8bc8c159005fac33

See more details on using hashes here.

File details

Details for the file origin_mcp-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: origin_mcp-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 351.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for origin_mcp-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2a9a3a31a41b23dd0a328c1a383f819c3966d9f6de518ef08a546f3cfdf4f845
MD5 6fa31d382b9d37561f70bc88d402cfa4
BLAKE2b-256 b5dc4bb6e24c38ee27124f6bb444864b9ff08985c093503a99154eb3e5f1e811

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page