mcp-cst-studio
MCP server for CST Studio Suite — antenna design, RF simulation, and PCB layout
Install / Use
claude mcp add RFingAdam -- npx -y github:RFingAdam/mcp-cst-studioIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of mcp-cst-studio
mcp-cst-studio scores 78/100 on our quality scale, 3639th of 4,650 Development & Engineering skills we index.
Its MCP Server is 7.9 KB long, well organised into 23 sections with 8 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 4 days ago, so mcp-cst-studio is actively maintained.
- It is released under AGPL-3.0, a copyleft license: you can use it, but modified versions you distribute must carry the same license.
- Its trust signals score 87/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
mcp-cst-studio compared with similar skills
All 4 of these similar skills score higher than mcp-cst-studio; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| mcp-cst-studio (this skill)by RFingAdam | 78 | 3 | 4d ago | MCP Server |
| taste-skillby Leonxlnx | 100 | 111.7k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 110.0k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 79.1k | today | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 70.3k | today | CLAUDE.md |
Frequently asked questions
- How do I install mcp-cst-studio?
- Run
claude mcp add RFingAdam -- npx -y github:RFingAdam/mcp-cst-studio. The install tabs above show the steps for each supported agent. - Which AI agents does mcp-cst-studio work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is mcp-cst-studio safe to use?
- It is AGPL-3.0-licensed and scores 87/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is mcp-cst-studio still maintained?
- The repository was last updated 4 days ago, so mcp-cst-studio is actively maintained.
Skill content
View source on GitHubMCP 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
- 173 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
- Denylist-validated VBA: Generated and user-supplied VBA is checked against a regex denylist of dangerous patterns
- CST VBA reference: Built-in help system for CST VBA objects and methods
Installation
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 | | Boundaries | 6 | Boundary conditions, background, symmetry, frequency range | | Mesh | 8 | Mesh type, density, refinement, adaptive meshing, hex/tet controls | | Solvers | 8 | Time domain, frequency domain, eigenmode, integral equation, asymptotic | | Simulation | 6 | Run, status, pause, resume, stop simulations | | Results | 24 | S-parameters, far-field cuts, near-field, impedance, VSWR, gain, efficiency, Smith chart, numeric curves | | Import/Export | 5 | CAD import/export, Touchstone, far-field export | | Parameters | 11 | Parametric design, sweeps, expressions, dependencies | | Antenna Templates | 13 | Parametric antenna designs with RF calculations | | Arrays | 8 | Linear / planar / circular array synthesis, element factors, beamforming | | Matching | 8 | L / Pi / T networks, Smith-chart matching, stub matching | | PCB | 12 | Stackup, traces, vias, ground planes, Gerber import, differential pairs | | Diagnostics | 5 | Connection status, model integrity, mesh quality, solver convergence | | Optimization | 4 | Goal checks, impedance guidance, Nelder-Mead refine, one-step tune | | VBA | 3 | Raw VBA execution, help reference, object listing |
Antenna Templates
Each template calculates dimensions from target frequency and generates a complete, simulatable CST model:
| Template | Type | Typical Gain | Bandwidth | |----------|------|-------------|-----------| | Patch | Planar | 5-8 dBi | 1-5% | | Dipole | Wire | 2.15 dBi | 10-20% | | Monopole | Wire | 2-5 dBi | 10-20% | | Horn | Aperture | 10-25 dBi | 50%+ | | Yagi | Array | 7-15 dBi | 3-5% | | Helix | Wire | 8-15 dBi | 50%+ | | Vivaldi | Planar | 5-12 dBi | 100%+ | | IFA/PIFA | Planar | 1-3 dBi | 5-10% |
Connected Mode Setup (Windows)
To use with a live CST Studio installation:
Prerequisites
- Windows 10/11 with CST Studio Suite 2024+ installed
- CST's Python libraries linked into the interpreter that launches the MCP server
- Python 3.12, matching the interpreter CST ships (see Help if a version allows another 3.x)
The Windows library folder is AMD64\python_cst_libraries under the CST install
(C:\Program Files\CST Studio Suite 20XX\AMD64\python_cst_libraries).
LinuxAMD64 is the Linux layout and will not import on Windows.
Setting PYTHONPATH alone is not the supported link. CST Help →
Automation and Scripting → Python gives a one-time command that registers
that folder with your interpreter. Run it once, then confirm:
python -c "import cst.interface, cst.results; print('CST available')"
Setup
# 1. Clone and install
git clone https://github.com/RFingAdam/mcp-cst-studio.git
cd mcp-cst-studio
pip install -e .
# 2. Set environment (or let auto-detect find CST)
set CST_PATH=C:\Program Files\CST Studio Suite 2026
set CST_WORK_DIR=C:\cst_projects
# 3. Add CST Python libs to PYTHONPATH
set PYTHONPATH=%CST_PATH%\AMD64\python_cst_libraries;%PYTHONPATH%
# 4. Verify
python -c "import cst.interface; print('CST available')"
mcp-cst-studio # starts stdio server
Claude Code / Claude Desktop
Add to your .mcp.json or Claude Desktop config:
{
"mcpServers": {
"cst-studio": {
"command": "mcp-cst-studio",
"env": {
"CST_PATH": "C:\\Program Files\\CST Studio Suite 2026",
"CST_WORK_DIR": "C:\\cst_projects",
"PYTHONPATH": "C:\\Program Files\\CST Studio Suite 2026\\AMD64\\python_cst_libraries"
}
}
}
}
Validation Checklist
Once connected, verify with these prompts:
- Connection: "What is the CST connection status?": should show
connectedmode - Geometry: "Create a brick from (0,0,0) to (10,10,5) in component1": should appear in CST
- Antenna: "Design a 2.4 GHz patch antenna on FR-4": should build full model
- Simulation: "Run a time-domain simulation": should start solver
- Results: "Show me the S-parameters": should extract S11 data
Security model / limitations
VBA validation is a denylist, not a sandbox. validate_vba_input() rejects known-dangerous patterns (for example Shell, CreateObject, CallByName, file I/O, and Declare statements), including line-continued (_) forms. It does not constrain VBA to an allowlist of CST statement shapes, so unknown or obfuscated calls may still pass.
Run CST Studio Suite with least privilege. Treat generated or user-supplied VBA as untrusted, and do not run the MCP server or CST under an account that can reach secrets or systems you would not want a script to touch.
Development
pip install -e ".[dev]"
pytest tests/ -v # 215 tests, all offline
ruff check src/ tests/ # linting
mypy src/mcp_cst_studio/ # type checking
License
AGPL-3.0-or-later. Relicensed from Apache-2.0 in v0.2.0 to align with the eng-mcp-suite toolkit-wide AGPL move. CST Studio Suite itself (Dassault Systèmes) is a separate commercial product invoked at runtime; this wrapper does not bundle or redistribute it.
Related Skills
taste-skill
111.7kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
110.0kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
79.1kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ai-job-search
70.3kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
