Add it to Claude Code
claude mcp add pyvista -- "<path-to-python-executable>" "<path-to-server-script>"Make your agent remember this setup
pyvista's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.
npx conare@latestFree · one command · indexes the sessions already on disk. Set up in the browser instead →
What it does
- Generates 3D shape grids including cylinders, arrows, and spheres.
- Exports interactive 3D visualizations as HTML files.
- Integrates PyVista visualization capabilities directly into MCP.
Tools 1
hello_worldGenerates and exports a 3x3 grid of 3D shapes like cylinders, arrows, and spheres as an interactive HTML file.Try it
Original README from pyvista/pyvista-mcp-server
PyVista MCP Server
This repository contains a PyVista-based MCP (Model Context Protocol) server. It demonstrates the integration of PyVista for 3D visualization with MCP tools.
Features
- hello_world Tool: A tool that generates and exports a 3x3 grid of 3D shapes (Cylinder, Arrow, Sphere, etc.) as an interactive HTML file.
Output
The hello_world tool exports an HTML file named a_basic.html in the current working directory. Open this file in a web browser to view the interactive 3D visualization.
Configuration
To configure the MCP server, use the following JSON structure in your settings:
{
"mcpServers": {
"mcp-demo-server": {
"disabled": false,
"timeout": 600,
"command": "",
"args": [""],
"transportType": "stdio"
}
}
}
This configuration specifies the command and arguments to run the MCP server, along with other settings like timeout and transport type.
Example Usage
https://github.com/user-attachments/assets/244d7f7d-1432-4d11-8b12-b0138e97746a