Skip to main content
Glama
tool.py890 B
"""python-sdk MCP integration helper for Flappy.""" from __future__ import annotations from mcp.server.fastmcp import FastMCP from .core import execute_flappy from .models import FlappyRequest, FlappyResponse def build_tool(app: FastMCP) -> None: """Register the Flappy tool on the given MCP instance.""" @app.tool( name="flappy.simulate", description=( "Run the Flappy dynamics simulator for a mission profile. " "Provide wing morphology, control schedule, and duration. " "Returns pose histories, energy metrics, and solver provenance. " "Example: {\"scenario_id\":\"demo\",\"duration_s\":8.0}" ), meta={"version": "0.1.0", "categories": ["simulation", "dynamics"]}, ) def run(request: FlappyRequest) -> FlappyResponse: return execute_flappy(request) __all__ = ["build_tool"]

Implementation Reference

Latest Blog Posts

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/flappy-mcp'

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