Token导航 LogoToken导航TokenDH.com
Iwsdk MCP logo
搜索检索未说明官方级别未说明来源级核验

Iwsdk MCP

MCP Server

一个基于RAG技术的沉浸式Web SDK开发工具,提供文档查询、代码生成、验证和故障排除等功能。

工具数

19

提示词数

0

GitHub Stars

0

资源数

0
RAGTypeScript代码生成文档查询

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

nparashuram

提供方

nparashuram

最后核验

2026/5/17 20:20

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

IWSDK MCP Server

RAG-powered Model Context Protocol server for Immersive Web SDK development

Setup

Prepare the RAG System

# Clone the IWSDK repository (if you don't have it)
git clone https://github.com/meta-quest/immersive-web-sdk.git

# Prepare the RAG system (single command)
npm run prepare /path/to/immersive-web-sdk

This single command prepares the complete RAG (Retrieval Augmented Generation) system by:

  1. Ingesting IWSDK source code - Extracts components, systems, types, examples from the SDK
  2. Fetching official documentation - Downloads official IWSDK docs from Meta's developer portal
  3. Building the project - Compiles TypeScript to JavaScript

Telemetry

The MCP server automatically logs all tool calls to telemetry.jsonl for usage tracking and debugging. Each line contains:

  • timestamp - ISO 8601 timestamp
  • tool - Tool name that was called
  • params - Parameters passed to the tool (long strings truncated to 500 chars)

The telemetry file is excluded from git via .gitignore.

Example telemetry entry:

{
  "timestamp": "2025-11-15T21:18:25.883Z",
  "tool": "get_component_schema",
  "params": { "componentName": "OneHandGrabbable" }
}

Configuration

After running npm run prepare, configure the MCP server in your client:

{
  "mcpServers": {
    "iwsdk": {
      "command": "node",
      "args": ["/absolute/path/to/iwsdk-mcp/build/index.js"]
    }
  }
}

Tools

The MCP server provides 18 tools organized by category:

Documentation & Reference:

  • get_api_documentation - Query API documentation for classes/methods
  • get_component_schema - Get component field definitions with JSDoc, requirements, and relationships
  • get_system_info - Get system documentation with methods, properties, and queried components
  • search_code_examples - Find relevant code examples
  • explain_concept - Get explanations of IWSDK concepts
  • lookup_package_exports - List all exports from a package

Code Generation:

  • generate_system_template - Generate boilerplate for custom ECS systems
  • scaffold_project - Generate complete project structure
  • compose_feature - Compose complete feature implementations with all necessary components/systems
  • find_similar_code - Find similar code examples by description

Validation & Troubleshooting:

  • validate_code - Validate code against best practices and detect missing components/systems
  • get_validation_rules - Get validation rules for components/systems
  • check_component_order - Check correct component ordering constraints
  • get_common_mistakes - Search common mistakes with wrong/correct code examples

Implementation Guides:

  • find_implementation_pattern - Get implementation guides for common features
  • get_setup_guide - Get project setup instructions
  • explain_asset_pipeline - Get asset handling guidance
  • get_best_practices - Get recommended patterns and anti-patterns
  • troubleshoot_error - Get diagnostic steps for errors

目录标签

目录标签

RAGTypeScript代码生成文档查询本地部署沉浸式Web开发验证工具

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

19

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP