Skip to main content
Glama

MSFS SDK MCP Server

MSFS SDK MCP Server

Node.js TypeScript MCP License Build

A modern, performant MCP server for fast, structured access to Microsoft Flight Simulator SDK documentation via natural language and structured queries.

๐Ÿš€ Features

  • โšก๏ธ Real-time documentation search in the official MSFS SDK documentation

  • ๐Ÿ“š Multiple search categories: contents, index, glossary, all

  • ๐Ÿง  Natural language processing: queries like "Search livery op msfs sdk"

  • ๐Ÿ“Š Structured results: titles, URLs, descriptions, categories

  • ๐Ÿ“„ Detailed content retrieval from specific documentation pages

  • ๐Ÿ”Œ Full MCP compatibility with AI assistants and tools

  • ๐Ÿ’พ Embedded data: no external files needed

  • ๐Ÿ›ก๏ธ Robust error handling and logging

Related MCP server: Google-Flights-MCP-Server

๐Ÿ› ๏ธ Tech Stack

  • Runtime: Node.js 18+

  • Language: TypeScript 5.0

  • Framework: Model Context Protocol (MCP)

  • HTTP Client: node-fetch

  • HTML Parser: Cheerio

  • Browser Automation: Puppeteer (optional)

  • Build Tool: TypeScript Compiler

๐Ÿ“‹ Requirements

  • Node.js 18.x or higher

  • npm 8.x or higher

  • TypeScript 5.x

๐Ÿš€ Setup

  1. Clone the repository:

    git clone https://github.com/yourusername/msfs-sdk-mcp.git cd msfs-sdk-mcp
  2. Install dependencies:

    npm install
  3. Build the project:

    npm run build
  4. Start the server:

    npm start

๐Ÿ”ง Available Tools

Tool

Description

Parameters

search_msfs_docs

๐Ÿ” Search MSFS SDK documentation

query

,

category

,

limit

get_doc_content

๐Ÿ“„ Retrieve detailed content

url

,

section

list_categories

๐Ÿ“š Show all search categories

-

list_category_items

๐Ÿ“‹ List items per category

category

natural_language_query

๐Ÿง  Natural language queries

query

๐Ÿท๏ธ Search Categories

  • contents - ๐Ÿ“– Main documentation content

  • index - ๐Ÿ“‡ Documentation index entries

  • glossary - ๐Ÿ“š Technical terms and definitions

  • all - ๐ŸŒ Search across all categories (default: index)

๐Ÿ”Œ Integration with AI Assistants

This server works with MCP-compatible AI assistants such as:

  • ๐Ÿค– Claude Desktop - Official MCP support

  • ๐ŸŒŠ Windsurf IDE - Built-in MCP integration

  • ๐Ÿ”ง Other MCP clients - All MCP-compatible tools

โš™๏ธ Configuration Example

{ "mcpServers": { "msfs-sdk": { "command": "node", "args": ["path/to/msfs-sdk-mcp/dist/index.js"] } } }

๐Ÿ“ Project Structure

msfs-sdk-mcp/ โ”œโ”€โ”€ ๐Ÿ“„ package.json # Dependencies and scripts โ”œโ”€โ”€ ๐Ÿ“„ tsconfig.json # TypeScript configuration โ”œโ”€โ”€ ๐Ÿ“„ README.md # Project documentation โ”œโ”€โ”€ ๐Ÿ“„ LICENSE # MIT License โ”œโ”€โ”€ ๐Ÿ“‚ src/ โ”‚ โ”œโ”€โ”€ ๐Ÿ“„ index.ts # ๐Ÿš€ Main MCP server โ”‚ โ””โ”€โ”€ ๐Ÿ“‚ services/ โ”‚ โ”œโ”€โ”€ ๐Ÿ“„ documentationService.ts # ๐Ÿ” Search logic โ”‚ โ””โ”€โ”€ ๐Ÿ“„ naturalLanguageService.ts # ๐Ÿง  NLP processing โ””โ”€โ”€ ๐Ÿ“‚ dist/ # ๐Ÿ—๏ธ Compiled JavaScript

๐Ÿงช Development & Scripts

Script

Description

Command

๐Ÿ—๏ธ

Build

Compile TypeScript

npm run build

๐Ÿ‘€

Dev

Watch mode development

npm run dev

๐Ÿš€

Start

Start MCP server

npm start

๐Ÿ”

Type Check

TypeScript validation

npx tsc --noEmit

๐Ÿ“š API Reference

๐Ÿ“ˆ Tool Examples

๐Ÿ” search_msfs_docs

{ "name": "search_msfs_docs", "arguments": { "query": "livery", "category": "all", "limit": 10 } }

๐Ÿ“‹ list_category_items

{ "name": "list_category_items", "arguments": { "category": "glossary" } }

๐Ÿ“„ get_doc_content

{ "name": "get_doc_content", "arguments": { "url": "https://docs.flightsimulator.com/html/...", "section": "overview" } }

๐ŸŒ Search URL Format

https://docs.flightsimulator.com/html/Introduction/Introduction.htm?rhsearch={query}&agt={category}

Parameters:

  • {query} - ๐Ÿ” Search term (URL-encoded)

  • {category} - ๐Ÿท๏ธ Optional category (index, glossary, or empty for contents)

๐Ÿ“Š Response Format

{ "content": [ { "type": "text", "text": "**Title**\n- Category: category\n- URL: url\n- Description: description" } ] }

๐Ÿค Contributing

  1. ๐Ÿด Fork this repository

  2. ๐ŸŒฑ Create a feature branch: git checkout -b feature-name

  3. โœจ Implement and test your changes

  4. ๐Ÿ“ Commit with clear message: git commit -am 'Add new feature'

  5. ๐Ÿš€ Push to your branch: git push origin feature-name

  6. ๐Ÿ“ฉ Open a Pull Request

๐Ÿ“… Commit Convention

  • feat: - New features

  • fix: - Bug fixes

  • docs: - Documentation updates

  • refactor: - Code refactoring

  • test: - Test additions

๐Ÿ“„ License

MIT License โ€“ See LICENSE file for details.

๐Ÿ“ž Support & Contact

๐Ÿ“… Changelog

v1.0.0 - ๐ŸŽ‰ Initial Release

  • โœจ Initial release - Complete MCP server implementation

  • ๐Ÿ” Real-time documentation search - Fast access to MSFS SDK docs

  • ๐Ÿ“š Multiple search categories - Contents, index, glossary support

  • ๐Ÿง  Natural language processing - Intuitive query processing

  • ๐Ÿ”Œ MCP standard support - Full compatibility

  • ๐Ÿ’พ Embedded data - No external dependencies


โš ๏ธ Disclaimer

This is an unofficial tool, not affiliated with Microsoft or Microsoft Flight Simulator. Provides access to public documentation via the official MSFS SDK website.

๐Ÿš€ Happy Flying! โœˆ๏ธ


GitHub forks โ€‚ ยฉ 90barricade93 - aero-ai-solutions.com โ€‚ GitHub stars

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/90barricade93/MSFS-SDK-MCP'

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