Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BASE_URLNoDocs base URL for scraping. Default: https://documentation.help/gmat/
GMAT_BINYesPath to GMAT bin folder containing GmatConsole(.exe). Required for runGmat/samples tools.
MCP_PORTNoPort for wrappers/adapters that expose this stdio server via TCP/SSE. Server itself uses stdio.
NODE_ENVNoSet to 'test' to use pages-test.json during setup.
CACHE_DIRNoDirectory for embeddings.json. Default: ./data
GMAT_IDIOMSNoPath to idioms file. Default: ./data/gmat_idioms.md
GMAT_SAMPLESNoPath to GMAT samples directory. Default: <GMAT_BIN>\..\samples
OPENAI_API_KEYNoOpenAI API key, only needed to rebuild the docs-embedding cache (setup).

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
searchDocsA

Semantic search over GMAT documentation. Returns relevant sections with full content and sources.

runGmatA

Run a GMAT mission script (text) headless and return the validated outcome: {ok, stage, errors, reports, raw_tail}. This is the validation loop - write a script, run it, read the errors/results, fix, repeat. 'stage' is one of completed | parse | convergence | run.

getGmatIdiomsA

Return the curated GMAT idioms & gotchas knowledge base - hard-won rules that prevent common script errors (parameter dependencies, ElapsedSecs being cumulative, no parentheses in conditionals, ImpulsiveBurn vs FiniteBurn, Propagate Synchronized for two-spacecraft burns, etc.). Read this before writing GMAT scripts.

listGmatSamplesA

List the available known-good GMAT sample scripts, each tagged with the techniques it demonstrates (targeting, optimization, finite-burn, OD/estimation, B-plane, interplanetary, libration-point, drag, attitude, ...). Covers NASA's official samples plus a locally validated community corpus (real-mission scripts harvested from public repos that pass a headless run; prefixed 'community/'). Scan the tags to pick the right seed for a mission, then getGmatSample to read it.

getGmatSampleA

Return the full text of one NASA sample script by file name (from listGmatSamples). Use as a known-good template to seed a phase.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/ginomoretta-creator/gmat-mcp-server'

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