pyvista/pyvista-mcp-server
If you are the rightful owner of pyvista-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This repository contains a PyVista-based MCP (Model Context Protocol) server, demonstrating the integration of PyVista for 3D visualization with MCP tools.
The PyVista MCP Server is a specialized server that leverages the capabilities of PyVista for 3D visualization within the framework of the Model Context Protocol (MCP). This server is designed to facilitate the creation and manipulation of 3D models, making it an ideal tool for developers and researchers working in fields that require advanced visualization techniques. The server includes a 'hello_world' tool that generates a 3x3 grid of various 3D shapes, such as cylinders, arrows, and spheres, and exports them as an interactive HTML file. This feature allows users to easily view and interact with 3D models in a web browser, enhancing the accessibility and usability of complex visual data. The server is configured using a JSON structure that specifies the command and arguments needed to run it, along with settings like timeout and transport type. This configuration ensures that the server can be easily integrated into existing workflows and customized to meet specific needs.
Features
- Integration with PyVista for advanced 3D visualization.
- Exports interactive 3D models as HTML files.
- Configurable via JSON for easy customization.
- Supports a variety of 3D shapes including cylinders, arrows, and spheres.
- Designed for use in research and development environments.
Usages
usage with stdio
{ "mcpServers": { "mcp-demo-server": { "disabled": false, "timeout": 600, "command": "<path-to-python-executable>", "args": ["<path-to-server-script>"], "transportType": "stdio" } } }
Tools
hello_world
Generates and exports a 3x3 grid of 3D shapes as an interactive HTML file.