
ParaView MCP Server
io.github.failed33由 GitHub 账号 failed33 发布v0.2.5更新于 Oct 30, 2026
Control ParaView through arbitrary Python code
概览
把 AI 助手连接到正在运行的 ParaView 会话,使其能执行 Python 代码、查看管线并截图。
- 可以做什么
- 在当前 ParaView 会话中执行任意 Python 代码
- 以 JSON 快照形式读取当前可视化管线
- 按指定尺寸把当前渲染视图截取为 PNG 图像
- 返回执行输出、诊断信息以及请求状态与 Python 状态
- 适用场景
- 适合在 ParaView 中工作时,让助手编写可视化管线脚本、查看当前管线状态或获取渲染图,而无需离开会话。适合能接受生成的 Python 代码在自己的 ParaView 进程中运行的用户。
- 运行要求
- 通过 uvx 以 stdio 在本地运行(Python 包 paraview-mcp-server)。需要 ParaView 5.13 或更新版本,以及与之匹配的 C++/Qt 插件,并在 Tools > ParaView MCP 中加载并启动。可选环境变量 PARAVIEW_HOST、PARAVIEW_PORT、PARAVIEW_AUTH_TOKEN、PARAVIEW_CONNECT_TIMEOUT_SECONDS 和 PARAVIEW_COMMAND_TIMEOUT_SECONDS 用于配置桥接,默认值适用于本地环境。
安装
在 SourceWeft 中
- 打开 控制台中的 ParaView MCP Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
ParaView MCP
[CI] [PyPI] [CodeQL] [codecov] [License: MIT]
Connect ParaView to LLM assistants through the Model Context Protocol.
The Python server is built with FastMCP 3.x. Support for the
2026-07-28 MCP specification is planned once FastMCP 4 reaches a stable release.
paraview-mcp-server has two runtime parts:
- a ParaView plugin (C++/Qt) that exposes a TCP bridge inside the ParaView GUI
- a Python MCP server that connects to the plugin and serves tools to any MCP client
Prerequisites
- ParaView ≥ 5.13. Pre-built plugins are available for the exact versions and platforms listed below; other ParaView releases require a source build against the matching SDK.
- uv
Quick Start
First set up the ParaView plugin. Then add the Python MCP server to Claude Code in one command:
Open Tools > ParaView MCP in ParaView, start the bridge, and connect from Claude Code.
Set Up the ParaView Plugin
Download a pre-built plugin binary from the latest GitHub Release. Releases provide this matrix:
Choose the package that names your exact ParaView version and platform. Download its
adjacent .sha256 file, verify the package, then open or extract it and follow the
included INSTALL.md. Pull requests also produce corresponding platform binaries as
short-lived GitHub Actions artifacts; GitHub Releases are the permanent distribution
channel.
macOS release images are Developer ID-signed, notarized by Apple, and include a stapled
notarization ticket. Open the .dmg, copy the contained plugin directory to a persistent
location, and load ParaViewMCP.so from that copied directory. Pull-request artifacts are
unsigned test builds and remain .tar.gz files.
Alternatively, build the plugin from source against a ParaView 5.13 or newer SDK. See CONTRIBUTING.md for full build instructions. Binary compatibility is release-series specific, so use a plugin built for your ParaView major.minor version.
Once installed:
- Open Tools > Manage Plugins in ParaView.
- Click Load New... and select
ParaViewMCP.so(Linux/macOS) orParaViewMCP.dll(Windows) from the plugin directory. - Enable Auto Load.
- Open Tools > ParaView MCP.
- Click Start Server.
The ParaView MCP panel shows the connection status and execution history. Non-loopback binds require an auth token.
Configure Your MCP Client
Claude Code (CLI)
Claude Desktop
Add to your claude_desktop_config.json:
Other MCP Clients
Configure a local stdio MCP server with uvx as the command and
paraview-mcp-server as its only argument:
Consult your client's documentation for the location and exact format of its MCP server configuration.
Configuration
The server connects to the ParaView plugin using these environment variables:
Defaults work for a standard local setup. Override these when connecting to ParaView on a remote machine or non-standard port:
Available Tools
One command runs at a time, up to three wait in FIFO order, and further calls report busy. This prevents concurrent mutations of ParaView's shared state.
Execution results include output, diagnostics, and separate request and Python statuses. See execution and state for cancellation, timeouts, and recovery behavior.
Design and Differences from ParaView_MCP
This project follows the approach of Blender-MCP and Slicer-MCP, both of which give LLMs direct code execution inside their respective application runtimes.
The existing ParaView_MCP implementation1 takes a different approach, exposing a fixed set of high-level tools without access to the underlying Python runtime, which limits flexibility for custom workflows. The major differences are:
- We provide an
execute_paraview_codetool that runs arbitrary Python inside the ParaView session. The plugin records each execution and, when ParaView can capture a pipeline snapshot, lets the user restore the state from immediately before that execution. This makes generated scripts easier to inspect, reuse, and adapt for tasks such as batch processing. - Architecturally, ParaView_MCP's own disclaimer
states that it relies on synchronization between
pvserverand the ParaView client. That synchronization mechanism is deprecated in recent ParaView versions and can cause incorrect application views and general stability issues. This project instead runs a plugin inside the interactive ParaView process and exposes a TCP bridge, avoiding thepvserver/client synchronization path entirely.
Contributing
See CONTRIBUTING.md for build instructions, development setup, and pull request guidelines.
License
MIT — see THIRD-PARTY-NOTICES.txt for dependency licenses.
Footnotes
-
S. Liu, H. Miao, and P.-T. Bremer, "Paraview-MCP: Autonomous Visualization Agents with Direct Tool Use," in Proc. IEEE VIS 2025 Short Papers, IEEE, 2025. ↩
来源:README.md,提交 6f61e9a
工具
0版本历史
3- v0.2.5最新Oct 29, 2026
- v0.2.4Sep 30, 2026
- v0.2.3Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分