CM

cclyliuyi/mcp-cst-studio

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

2 stars 8 forks Качество 75 Тренд 12AGPL-3.0

MCP server for CST Studio Suite — antenna design, RF simulation, and PCB layout

Обзор

A Model Context Protocol (MCP) server providing AI-driven access to CST Studio Suite for antenna design, RF/microwave simulation, and PCB layout. - across 20 categories: geometry, materials, ports, boundaries, mesh, solvers, simulation, results, parameters, antenna templates, arrays, matching networks, diagnostics, optimization, PCB, and more - : Connected mode (direct CST execution on Windows) and Offline mode (VBA script generation on any OS) - : Patch, dipole, monopole, horn, Yagi, helix, Vivaldi, slot, IFA, PIFA, spiral, bowtie — with automatic dimension calculations from target frequency - : Stackup creation, trace routing with impedance calculation, via modeling, ground planes - : 30+ metals, dielectrics, and RF substrates with accurate electromagnetic properties - : All generated VBA passes through security validation - : Built-in help system for CST VBA objects and methods Works without CST installed. Tools generate VBA scripts that can be executed in CST Studio Suite.

README

Показан фрагмент оригинального README. Открыть оригинал.

MCP Server for CST Studio Suite

A Model Context Protocol (MCP) server providing AI-driven access to CST Studio Suite for antenna design, RF/microwave simulation, and PCB layout.

Features

  • 170 tools across 20 categories: geometry, materials, ports, boundaries, mesh, solvers, simulation, results, parameters, antenna templates, arrays, matching networks, diagnostics, optimization, PCB, and more
  • Dual-mode operation: Connected mode (direct CST execution on Windows) and Offline mode (VBA script generation on any OS)
  • 13 parametric antenna templates: Patch, dipole, monopole, horn, Yagi, helix, Vivaldi, slot, IFA, PIFA, spiral, bowtie — with automatic dimension calculations from target frequency
  • PCB/SI tools: Stackup creation, trace routing with impedance calculation, via modeling, ground planes
  • Material database: 30+ metals, dielectrics, and RF substrates with accurate electromagnetic properties
  • VBA injection prevention: All generated VBA passes through security validation
  • CST VBA reference: Built-in help system for CST VBA objects and methods

Installation

pip install mcp-cst-studio

Or from source:

git clone https://github.com/RFingAdam/mcp-cst-studio.git
cd mcp-cst-studio
pip install -e ".[dev]"

Configuration

Claude Code (.mcp.json)

{
  "mcpServers": {
    "cst-studio": {
      "command": "mcp-cst-studio",
      "env": {
        "CST_PATH": "C:\\Program Files\\CST Studio Suite 2026",
        "CST_WORK_DIR": "C:\\cst_projects"
      }
    }
  }
}

Environment Variables

Variable Description Default
CST_PATH CST installation directory Auto-detected on Windows
CST_WORK_DIR Project working directory ~/cst_projects
CST_VERSION CST version year 2026

Usage

Offline Mode (Any OS)

Works without CST installed. Tools generate VBA scripts that can be executed in CST Studio Suite.

"Design a 2.4 GHz rectangular patch antenna on FR-4 substrate"
→ Returns calculated dimensions + complete VBA script for CST

Connected Mode (Windows with CST)

When the CST Python library is available, tools execute directly:

"Create the antenna, run the time-domain simulation, and show me the S-parameters"
→ Builds geometry, configures solver, runs simulation, extracts results

Tool Categories

Category Tools Description
Project 8 Create, open, save, close, export projects
Geometry 13 Brick, cylinder, sphere, cone, torus, extrude, loft, wire, polygon
Boolean 4 Add, subtract, intersect, insert operations
Transforms 4 Translate, rotate, mirror, scale
Materials 15 Create, load, assign materials; built-in material database; lossy metals; anisotropic
Ports 8 Waveguide, discrete, lumped, plane wave, Floquet ports
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "cst-studio": { "command": "mcp-cst-studio", "env": { "CST_PATH": "C:\\Program Files\\CST Studio Suite 2026", "CST_WORK_DIR": "C:\\cst_projects" } } } }