Microsoft Flight Simulator SDK
Provides TypeScript-based access to Microsoft Flight Simulator SDK documentation through web scraping and natural language processing, enabling flight simulation developers to search and retrieve API references, code examples, and technical specifications through conversational queries.
Ask AI about Microsoft Flight Simulator SDK
Powered by Claude Β· Grounded in docs
I know everything about Microsoft Flight Simulator SDK. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
MSFS SDK MCP Server
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
π οΈ 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
-
Clone the repository:
git clone https://github.com/yourusername/msfs-sdk-mcp.git cd msfs-sdk-mcp -
Install dependencies:
npm install -
Build the project:
npm run build -
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 contentindex- π Documentation index entriesglossary- π Technical terms and definitionsall- π 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
- π΄ Fork this repository
- π± Create a feature branch:
git checkout -b feature-name - β¨ Implement and test your changes
- π Commit with clear message:
git commit -am 'Add new feature' - π Push to your branch:
git push origin feature-name - π© Open a Pull Request
π Commit Convention
feat:- New featuresfix:- Bug fixesdocs:- Documentation updatesrefactor:- Code refactoringtest:- Test additions
π License
MIT License β See LICENSE file for details.
π Support & Contact
- π Issues: GitHub Issues
- π MSFS SDK Docs: Official documentation
- β New issue? Provide clear information and reproducible steps
π 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! βοΈ
