- Home
- MCP servers
- PyVista
PyVista
- python
5
GitHub Stars
python
Language
5 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"pyvista-pyvista-mcp-server": {
"command": "<path-to-python-executable>",
"args": [
"<path-to-server-script>"
]
}
}
}You run a PyVista-based MCP server that connects 3D visualization capabilities with the Model Context Protocol, exposing tools you can invoke from an MCP client and producing interactive outputs like HTML visualizations for local viewing.
How to use
To use this MCP server, you start it locally and connect with an MCP client. The server exposes a visualization tool named hello_world that generates a 3x3 grid of 3D shapes and exports it as an interactive HTML file named a_basic.html. Open that HTML file in a web browser to explore the results.
How to install
Prerequisites: ensure you have Python installed on your system. You may also want a virtual environment to isolate dependencies.
Step 1: Create and activate a virtual environment.
Step 2: Install required dependencies (adjust if your project uses a different workflow). For example, you might install from a requirements file or a package manifest that accompanies the server.
Step 3: Run the MCP server using the local, stdio-based command shown in the configuration snippet below.
Configuration and usage notes
{
"mcpServers": {
"mcp-demo-server": {
"disabled": false,
"timeout": 600,
"command": "<path-to-python-executable>",
"args": ["<path-to-server-script>"],
"transportType": "stdio"
}
}
}
Other important content
Tools exposed by this server include the hello_world tool, which creates a 3x3 grid of 3D shapes and exports an interactive HTML file named a_basic.html in the current working directory. Use your MCP client to invoke this tool and retrieve or view the resulting HTML file.
Available tools
hello_world
Generates and exports a 3x3 grid of 3D shapes (Cylinder, Arrow, Sphere, etc.) as an interactive HTML file named a_basic.html in the current working directory.