Skip to main content

An MCP server with tools for CAD interaction and knowledge base retrieval.

Project description

Creo MCP

An MCP (Machine-Collaboration-Platform) server with tools for CAD interaction and knowledge base retrieval. This project exposes several functions as tools that a larger agent or system can call, including interacting with Creo and querying a Volcengine knowledge base.


⚙️ Key Features

  • CAD Integration: Opens .STEP files directly in Creo Parametric.
  • Knowledge Base Retrieval: Connects to and queries a Volcengine knowledge base.
  • Code Execution: Provides a tool to execute arbitrary Python code remotely.
  • Command-Line Interface: Runs as a standalone server application with configurable credentials.

📦 Installation & Setup

Prerequisites

  • Python 3.12 or newer

  • uv package manager:

    • On macOS:
      brew install uv
      
    • On Windows (PowerShell):
      powershell -c "irm [https://astral.sh/uv/install.ps1](https://astral.sh/uv/install.ps1) | iex"
      
      You may need to add uv to your Path manually:
      # Add this line to your PowerShell profile
      $env:Path = "C:\Users\YOUR_USERNAME\.local\bin;" + $env:Path
      
    • For other systems, see the official uv installation instructions.

    ⚠️ Do not proceed before installing uv.

Claude for Desktop Integration

  1. Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json.
  2. Add the following configuration to the mcpServers object:
    {
        "mcpServers": {
            "creo_mcp": {
                "command": "uvx",
                "args": [
                    "creo-mcp",
                    "--authorization",
                    "YOUR_TOKEN_HERE",
                    "--service-resource-id",
                    "YOUR_ID_HERE"
                ]
            }
        }
    }
    
    This allows Claude to automatically start your server when needed.

Cursor Integration

  1. Go to Settings > MCP in Cursor.
  2. Add a new server configuration.
    • For macOS: Use "add new global MCP server" or create a .cursor/mcp.json file in your project with the following content:
      {
          "mcpServers": {
              "creo_mcp": {
                  "command": "uvx",
                  "args": [
                      "creo-mcp",
                      "--authorization",
                      "YOUR_TOKEN_HERE",
                      "--service-resource-id",
                      "YOUR_ID_HERE"
                  ]
              }
          }
      }
      
    • For Windows: Add a new server with the following settings:
      {
          "mcpServers": {
              "creo_mcp": {
                  "command": "cmd",
                  "args": [
                      "/c",
                      "uvx",
                      "creo-mcp",
                      "--authorization",
                      "YOUR_TOKEN_HERE",
                      "--service-resource-id",
                      "YOUR_ID_HERE"
                  ]
              }
          }
      }
      

⚠️ Only run one instance of the MCP server (either via Cursor or Claude Desktop), not both simultaneously.


▶️ Manual Execution

If you need to run the server manually for debugging, first install it locally:

# Clone the repo
git clone [https://github.com/yangkunyi/creo-mcp.git](https://github.com/yangkunyi/creo-mcp.git)
cd creo-mcp

# Create a virtual environment and install in editable mode
uv venv
source .venv/bin/activate
uv pip install -e .

Then, run the server with your credentials:

creo-mcp --authorization YOUR_TOKEN_HERE --service-resource-id YOUR_ID_HERE

🛠️ Available Tools

The following tools are exposed by the server for remote execution:

  • execute_python_code: Executes a given string of Python code.
  • open_file_in_cad: Imports a .STEP file into Creo and opens it.
  • retrieve_from_knowledge_base: Performs a retrieval query against the configured Volcengine knowledge base.
  • print_something: Prints a given string to the server's console.
  • do_nothing: A simple tool that does nothing.

🙏 Acknowledgements

The structure and setup instructions for this project were heavily inspired by the blender-mcp project. Many thanks to its contributors for paving the way.


📄 License

This project is licensed under the MIT License. See the LICENSE file for more details.

Project details


Download files

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

Source Distribution

creo_mcp-0.1.1.tar.gz (105.9 kB view details)

Uploaded Source

Built Distribution

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

creo_mcp-0.1.1-py3-none-any.whl (124.0 kB view details)

Uploaded Python 3

File details

Details for the file creo_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: creo_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 105.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for creo_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bf5c061077c9e63749bcca62190174ebf1dd44ce704b98137a5a96c1f898c753
MD5 8d67705295b1c56beb3bf4246fefc9d9
BLAKE2b-256 8a77e22ad28d4eff4bbf11e8a596b2884a65e1f4ca6f8ed495c5f4ea372b8225

See more details on using hashes here.

File details

Details for the file creo_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: creo_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 124.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for creo_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 504b63242f081e0ec092faa44947e58b1ddc14803131839c7a8a932c6530c3c7
MD5 a42d89d2fd149c5f2e1fdc0fe689ac6c
BLAKE2b-256 dfbc79d549b1256d2b707db52961474610eb9ae02c14ac4819a1f482cb75f56f

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 Pingdom Monitoring Sentry Error logging StatusPage Status page