Skip to main content
Glama

Pterasim MCP Server

README.md1.47 kB
# pterasim-mcp [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![Python](https://img.shields.io/badge/python-3.10+-brightgreen.svg)](pyproject.toml) [![CI](https://github.com/yevheniikravchuk/pterasim-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/yevheniikravchuk/pterasim-mcp/actions/workflows/ci.yml) Reusable Pterasim integration for Model Context Protocol services. It exposes typed request/response models, a FastAPI surface, and an analytic fallback when the native `pterasim` module is unavailable. ## Features - `simulate` helper that calls `pterasim.simulate_wing` when installed, otherwise returns a lift/drag/thrust estimate. - FastAPI app factory (`create_app`) for HTTP deployments. - python-sdk tool registration helper for STDIO-based agents. ## Installation ```bash pip install "git+https://github.com/yevheniikravchuk/pterasim-mcp.git" ``` ## Usage ```python from pterasim_mcp import PterasimInput, simulate_pterasim inputs = PterasimInput( span_m=0.8, mean_chord_m=0.12, stroke_frequency_hz=6.0, stroke_amplitude_rad=0.35, cruise_velocity_m_s=8.0, air_density_kg_m3=1.2, cl_alpha_per_rad=5.7, cd0=0.02, planform_area_m2=0.18, tail_moment_arm_m=0.25, ) output = simulate_pterasim(inputs) print(output.thrust_N) ``` ## Development ```bash uv pip install --system -e .[dev] uv run ruff check . uv run pytest ``` ## License MIT — see [LICENSE](LICENSE).

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yevheniikravchuk/pterasim-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server