Skip to main content
Glama
shoff

msfs2024-mcp

by shoff

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MSFS_ENABLE_FSUIPCNoEnable FSUIPC7 layer (requires FSUIPC7 running)false
MSFS_ENABLE_MEMORYNoEnable raw memory layer (requires admin rights and opt-in)false

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
connection_statusA

Report health of all three layers (enabled, imported, connected).

connect_simA

Connect the SimConnect layer to a running MSFS. Idempotent.

get_simvarA

Read any SimVar by its exact SDK name. Supports indices, e.g. 'TURB_ENG_N1:1'.

get_simvarsA

Read several SimVars at once. Returns a name->value map; failures are inline.

set_simvarC

Write a settable SimVar (e.g. AUTOPILOT_HEADING_LOCK_DIR). Check 'settable' in the catalog.

get_aircraft_stateA

Bundled snapshot: position, attitude, speeds, engine/fuel, config, autopilot, status.

trigger_eventA

Fire a SimConnect Event (a control/command). Pass 'value' for events that take a parameter.

Examples: trigger_event('GEAR_TOGGLE'); trigger_event('HEADING_BUG_SET', 270).

autopilot_set_headingA

Set the autopilot heading bug (0-359 degrees).

autopilot_set_altitudeC

Set the autopilot target altitude in feet.

autopilot_set_vertical_speedB

Set the autopilot target vertical speed in feet per minute (negative = descend).

autopilot_toggle_masterA

Toggle the autopilot master on/off.

list_simvarsA

Search the SimVar catalog by keyword and/or category. Empty args list everything.

Categories: position, attitude, speed, engine, fuel, config, autopilot, systems, environment, status.

list_eventsA

Search the Event catalog by keyword and/or category. Empty args list everything.

Categories: engine, config, autopilot, controls, systems, sim.

fsuipc_statusA

FSUIPC layer health plus the list of built-in known offset keys.

fsuipc_read_offsetA

Read a raw FSUIPC offset. offset_hex like '0x0560'; type_code one of b/B/h/H/d/u/l/L/f/s.

For strings use type_code='s' and pass a length.

fsuipc_read_knownC

Read one of the built-in known offsets by key (see fsuipc_status.known_offsets).

fsuipc_write_offsetB

Write a raw FSUIPC offset. Use deliberately — offsets are global sim state.

memory_statusA

Raw-memory layer health (enabled flag, attach state, target process/pid).

memory_attachB

Attach to the MSFS process for raw reads. Off unless MSFS_ENABLE_MEMORY=true.

memory_module_baseA

Return the base address of a loaded module (defaults to the main executable).

memory_readB

Read a typed value at an absolute address. type_name: int32/uint32/int64/uint64/float/double/byte/ubyte.

memory_read_pointer_chainB

Resolve a pointer chain from a base address, then read the typed value at the end.

memory_writeB

Write to an absolute address. Double-gated: needs MSFS_ENABLE_MEMORY=true AND allow_write=true.

Prompts

Interactive templates invoked by user choice

NameDescription
preflight_briefingGenerate a preflight briefing from current sim state.
fly_to_heading_altitudeSet up the autopilot to fly a heading and altitude.

Resources

Contextual data attached and managed by the client

NameDescription
telemetry_stateLive aircraft-state snapshot as a resource (mirrors get_aircraft_state).
resource_simvarsThe full SimVar catalog as a resource.
resource_eventsThe full Event catalog as a resource.

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/shoff/MSFS-MCP'

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