CM

cclyliuyi/mcp-cst-studio

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

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
GitHub에서 전체 README 보기

설치

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" } } } }