pycycle-mcp
Model Context Protocol server for pyCycle/OpenMDAO engine-cycle workflows, enabling lifecycle management, variable inspection, execution, sweeps, and integration with CPACS aircraft analysis pipelines.
README
pycycle-mcp
pycycle-mcp is a lightweight Model Context Protocol server for pyCycle/OpenMDAO
engine-cycle workflows. The repository includes deterministic examples/tests so
local development and CI can validate tooling contracts without requiring a full
runtime installation of pyCycle/OpenMDAO assets.
Overview
The project currently provides:
- A FastMCP-powered server with stdio and HTTP-compatible transports.
- Tooling for cycle lifecycle, variable inspection/updates, execution, sweeps, and total-derivative evaluation.
- Pydantic-backed validation with structured MCP-style error payloads.
- Deterministic examples for repository scaffolding checks and smoke tests.
Quickstart
Requires Python 3.12+.
python3 -m venv .venv
source .venv/bin/activate
make dev
make test
make ci
Start the server over stdio:
pycycle-mcp --transport stdio
Inspect the non-blocking HTTP transport configuration example:
PYTHONPATH=src python3 examples/server/http_launch_config.py
Examples
The examples are deterministic and aligned with the current repository contracts.
- Examples index:
examples/README.md - Tool discovery:
examples/client/tool_discovery.py - Session lifecycle:
examples/cpacs/session_lifecycle.py - Export snapshot:
examples/cpacs/export_snapshot.py
Docs
- Docs source:
docs/index.rst - Published docs (placeholder): https://cmudrc.github.io/pycycle-mcp/
Build the docs locally with:
make docs
Python API Rename
The package import root is now:
pycycle_mcp(new)
Legacy pre-rename import paths and CLI aliases are intentionally removed.
Shared-CPACS Integration
This MCP includes a CPACS adapter (src/pycycle_mcp/cpacs_adapter.py) that
bridges pyCycle to the shared-CPACS aircraft analysis pipeline.
What it does
The adapter reads engine parameters and aerodynamic drag from CPACS, runs a real
OpenMDAO/pyCycle turbofan cycle analysis, and writes performance results — net
thrust, TSFC, OPR, BPR, fuel flow — into //mcpResults.
| Direction | XPath |
|---|---|
| Reads | .//vehicles/engines, .//analysisResults/aero/coefficients/CD |
| Writes | .//vehicles/engines/engine/analysis/mcpResults (Fn, TSFC, OPR, BPR, fuel flow) |
Running as part of the pipeline
python pipeline/shared_cpacs_orchestrator.py D150_v30.xml --mcps tigl su2 pycycle mission
See cmudrc/aircraft-analysis for full pipeline documentation, versioning details, and installation instructions.
Related MCP servers
| MCP | Repository |
|---|---|
| TiGL (geometry) | cmudrc/tigl-mcp |
| SU2 (CFD aerodynamics) | cmudrc/su2-mcp |
| Mission (trajectory/fuel) | cmudrc/mission-mcp |
Contributing
Contribution guidelines live in CONTRIBUTING.md.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.