一个现代、高性能的MCP服务器,用于通过自然语言和结构化查询快速、有组织地访问Microsoft Flight Simulator SDK文档。
<a href="https://glama.ai/mcp/servers/@90barricade93/MSFS-SDK-MCP"> <img width="380" height="200" src="https://gips1.baidu.com/it/u=402634499,1624296546&fm=3081&app=3081&f=PNG?w=760&h=400" alt="MSFS SDK Server MCP服务器" /> </a>克隆仓库:
git clone https://github.com/yourusername/msfs-sdk-mcp.git
cd msfs-sdk-mcp
安装依赖项:
npm install
构建项目:
npm run build
启动服务器:
npm start
| 工具 | 描述 | 参数 |
|---|---|---|
search_msfs_docs | 🔍 搜索MSFS SDK文档 | query, category, limit |
get_doc_content | 📄 获取详细内容 | url, section |
list_categories | 📚 显示所有搜索类别 | - |
list_category_items | 📋 列出每个类别的项目 | category |
natural_language_query | 🧠 自然语言查询 | query |
contents - 📖 主要文档内容index - 📇 文档索引条目glossary - 📚 技术术语和定义all - 🌐 搜索所有类别(默认:索引)此服务器与支持MCP的AI助手兼容,例如:
{
"mcpServers": {
"msfs-sdk": {
"command": "node",
"args": ["path/to/msfs-sdk-mcp/dist/index.js"]
}
}
}
msfs-sdk-mcp/
├── 📄 package.json # 依赖项和脚本
├── 📄 tsconfig.json # TypeScript配置
├── 📄 README.md # 项目文档
├── 📄 LICENSE # MIT许可证
├── 📂 src/
│ ├── 📄 index.ts # 🚀 主MCP服务器
│ └── 📂 services/
│ ├── 📄 documentationService.ts # 🔍 搜索逻辑
│ └── 📄 naturalLanguageService.ts # 🧠 NLP处理
└── 📂 dist/ # 🏗️ 编译后的JavaScript
| 脚本 | 描述 | 命令 |
|---|---|---|
| 🏗️ 构建 | 编译TypeScript | npm run build |
| 👀 开发 | 监控模式开发 | npm run dev |
| 🚀 开始 | 启动MCP服务器 | npm start |
| 🔍 类型检查 | TypeScript验证 | npx tsc --noEmit |
{
"name": "search_msfs_docs",
"arguments": {
"query": "livery",
"category": "all",
"limit": 10
}
}
{
"name": "list_category_items",
"arguments": {
"category": "glossary"
}
}
{
"name": "get_doc_content",
"arguments": {
"url": "https://docs.flightsimulator.com/html/...",
"section": "overview"
}
}
https://docs.flightsimulator.com/html/Introduction/Introduction.htm?rhsearch={query}&agt={category}
参数:
{query} - 🔍 搜索词(URL编码){category} - 🏷️ 可选类别(index,glossary,或为空表示内容){
"content": [
{
"type": "text",
"text": "**标题**\n- 类别:类别\n- URL:URL\n- 描述:描述"
}
]
}
git checkout -b feature-namegit commit -am '添加新功能'git push origin feature-namefeat: - 新功能fix: - 错误修复docs: - 文档更新refactor: - 代码重构test: - 测试增加MIT许可证 - 详情见LICENSE文件。
这是一个非官方工具,不隶属于Microsoft或Microsoft Flight Simulator。 提供通过官方MSFS SDK网站访问公共文档的功能。
🚀 祝飞行愉快! ✈️