neon3-mcp
Neon3 AI Authoring MCP
AIにNeon3のインターフェースを正しく構築させ、その結果をNeon3自身に証明させつガ。
Neon3向けのMCPサーバー、詳細なオーシング・Skill、そしてPython/Nodeスタータキットです。3つのレイヤーを組み合わせたものです:
Skill durable NUI Flow rules and design boundaries
MCP resources/tools searchable references, live capability discovery, orchestration
Neon3 runtime authoritative parser, compiler, revision, and renderer feedbackこのMCPは、決して第二のUI言語を生み出しません。neon_nui_validateは本番のneon-ui-runtimeパーサー/コンパイラを呼び出し、ライブでの変更は既存の長さプレフックス付きneon.rpc規約を使用します。
主な特長
カテゴリ | 含まれる内又 |
NUI Flow | V1グラマ、型付き入力、レイアウト、コントロル、イベンー、ブランチ、スートチャート、ドラッグ&ドロップ、ワールド・パネル |
AI ワークフロー | validate、inspect、submit、snapshots、capabilities、diagnostics |
ランタイム安全性 | ループバックRPC、リクエストID、制限されたアプリパス、固定されたプロセスのプロファイル、タイムアウト |
アプリ型の | 公式Neon3エンベロープを使用するPython/Nodeテンプレート |
ドキュメンテョン | MCPリソースに加えて、スタンドアロンのOpenCode互換Skill |
Related MCP server: Flowcore Platform MCP Server
必要して
Node.js 20 l 以 do。
Windowsでは
D:\Neon3にNeon3がチェックアウト済みであること(NEON3_ROOTで別のチェックアウトを設定する)。以下のコマンドでNeon3オーシング・プローブを一度ビルドする:
cd D:\Neon3
cargo build -p neon-ui-runtime --bin neon3_authoring_probeこのプローブは、このMCPパッケージと個々のNeOn3チェックアウトの間の互換性を橋渡しするものです。構造化されたJSONLを返し、実行中のUIラタイムと同じパーサー/コンパイラを使用します。
ソースからのインストール
git clone https://github.com/unco999/neon3-ai-authoring-mcp.git
cd neon3-ai-authoring-mcp
npm install
npm linkコマンドはneon-mcpとして利用可能になります。
npmからのインストール
公開後:
npm install -g @neon3/ai-authoring-mcp
neon3-mcpバージョン固定のローカルインストール:
npm install --save-dev @neon3/ai-authoring-mcp
npx neon3-mcpOpenCodeの設定
OpenCodeの設定にMCPエントリーを追加してください:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"neon3": {
"type": "local",
"command": ["neon3-mcp"],
"enabled": true,
"environment": {
"NEON3_ROOT": "D:\\Neon3",
"NEON3_UI_ENDPOINT": "127.0.0.1:39102",
"NEON3_WGPU_ENDPOINT": "127.0.0.1:39103",
"NEON3_PROJECTD_ENDPOINT": "127.0.0.1:39104"
}
}
}
}skill/SKILL.mdをホストのSkillディレクトリにコピーするか、このリポジトリをSkillソースとして追加してください。このSkillはMCPサーバーとは別体なので、Neon3がオフラインでもオーサリングルールが利用できます。
MCPは、同じ内容をリソースとしても公開しています:
neon3://skill
neon3://references/overview
neon3://references/grammar
neon3://references/components
neon3://references/statecharts
neon3://references/interactions
neon3://references/diagnosticsClaude Desktop / MCPクライアント
{
"mcpServers": {
"neon3": {
"command": "neon3-mcp",
"env": {
"NEON3_ROOT": "D:\\Neon3",
"NEON3_UI_ENDPOINT": "127.0.0.1:39102"
}
}
}
}ツール
ツール | 目的 |
| 正確で詳細な構文トピックを読む |
| Neon3を変更せずに構文解析・コンパイルを実行する |
| 正規IR、スキーマ、安定アす。 |
| 検証後、 |
| 現在のサービスの機能(caps;abilities)とエポックを問い合わせる |
| UI状態とリビジョン情報を取得する |
| プロジェクト概要と安定した项目を読む |
| サービスのスナショットとインタラクションを照合する |
| 制限されたPython/Nodeアプリを作成する |
| タイムアウト付きで固定プロセス・プロファイルを実行する |
| 決定論的なローカルアプリ検証を実行する |
オーシングループ
reference -> capabilities -> generate NUI -> validate -> inspect -> submit -> diagnose有効で型付き・意味的に正しいNUIの例:
version 1
surface surface.example revision 1
budget nodes=32 bindings=16 instances=16 text=16 glyphs=1024 events=8 clips=64
input title text default text:empty
input can_save bool default false
surface root column w 520 h 240 gap 8 pad 16
text heading value $title
button save value "Save" enabled $can_save event document.saveNUI Flowにfetch、コールバック、Pythonコード、ファイルパス、座標、GPUハンドル、任意の式を含めではけません。
テンプレート
templates/python-appとonノ、templates/node-appには以下が含まれています:
****---
neon3.app.json— アプリのメタデータui/main.nui— 型付き・宣言的
型の説明: not required, but I need to output the bulleted not hanging.
Let me write properly:
ui/main.nuiの型付き宣言的UI最小限の長さプレフィックス付きRPCクライアント
Stan...
Let me redo the list properly:
neon3.app.jsonのアプリのメタデータui/main.nui型付き宣言的UI最小限の長さプレフィックス付きRPCクライアンー
決定論的なプリテスト(または構文チェック)
neon3_app_initツールは、NEON3_APP_ROOTの配下(変国未設定の場合は現在のワーキング・ディレクトリ)にのみ書き込みます。
ランタイムなしでNUIを検証する
$source = [string]::Join("`n", (Get-Content .\templates\node-app\ui\main.nui))
$request = @{ request_id = "manual-1"; operation = "validate"; sequence = 1; source = $source } | ConvertTo-Json -Compress
$request | cargo run --quiet -p neon-ui-runtime --manifest-path D:\Neon3\Cargo.toml --bin neon3_authoring_probeこのプロセスはJSONLを出力します。パーサーまたはコンパしに失敗した場合、終了コード1を返し、安定して診断メッセージとソーススパンを含みます。
Neon3ヘッドレス・サービスの起動
既存のNeon3ランチャーを使用してください。MCPは黙って第2のレンダラを作成しません:
cd D:\Neon3
scripts\run-neon-services.ps1その後、AIクライアンーからneon3_capabilities、neon3_ui_napshot、またはne_on3_nui_submitを呼び出してください。
設定
変数 | デフォルト | 説明 |
|
| オーシング・プローブのビルド/実行に使用するNeon3チェックアウト |
| auto | プローブの実行ファイルの絶対パス指定を上書 |
|
| UIラタイムのRPCエンドポイント |
|
| WGPUランタイム・RPCエンドポイント |
|
| プロジェクト(authority)のRPCエンドポイント |
| 現在のディレクトリ | 生成したアプリ・プロセスに許可されルルート |
ライブのエンドポイントはすべてループバックである必要があります。MCPは任意のシェル・コマンドを実行するツールを提んしていません。
トラブルシューティング
オーシング・プローブが起動できない
cd D:\Neon3
cargo build -p neon-ui-runtime --bin neon3_authoring_probe
$env:NEON3_ROOT = 'D:\Neon3'revision_conflict
neon3_ui_snapshotを呼び出し、返された正しいリビジョンを使用してや送信してください。古いミューションを盲目的にリトライしないでください。
サービスに到達できない
neon3_capabilitiesでエンドポイントを確認してください。Neon3はscripts\run-ne3-services.ps1で起動するか、ウィンドウ表示に必要: neon-devを使用します。
開発
npm install
npm test
node --check src/index.js
npm pack --dry-runプロトコルテストは決定的なローカルフェイクのNeon3エンドポイントを使用し、リクエストID、フレーミング、構造化されたJSON出力を検証します。実際のNUI境界は、Neon3リポジトリ内のneon3_authoring_probeにより検証されます。
プロジェクトの関係
このリポジトリはAI統合レイヤです。Neon3がプロトコル、NUIグラフ、UIランタイム、WGPUランタイム、プロジェクトのオーソリティを引き続き所有します:
MCP: [https]:En即... , keep URL:
https://github.com/unco999/neon3-ai-authoring-mcpNeon3:
https://github.com/unco999/Neon3-CiJian
ライセンス
MIT。 LICENSEを参照してください。
Available Tools
11 toolsneon3_app_initB
Create a bounded Python or Node Neon3 application template. Files are written only below NEON3_APP_ROOT.
Inputs: runtime (required), destination (required), overwrite.
neon3_app_runC
Run a generated Python or Node app with a fixed executable profile and bounded timeout.
Inputs: cwd (required), runtime (required), args, entry, +1 more.
neon3_app_testA
Run the generated app's deterministic local protocol checks without contacting a live Neon3 service.
Inputs: cwd (required), runtime (required), timeout_ms.
neon3_capabilitiesC
Query service.describe from Neon3 services and return their current capabilities and epochs.
Inputs: ui_endpoint, wgpu_endpoint, projectd_endpoint.
neon3_diagnoseC
Aggregate service snapshots, UI revisions, and interaction trace for a Neon3 authoring issue.
Inputs: ui_endpoint, wgpu_endpoint, interaction_id.
neon3_nui_inspectC
Return the canonical IR, typed input schema, state machines, stable node outline, bindings, and budgets for NUI Flow.
Inputs: source (required).
neon3_nui_referenceB
Read the authoritative Neon3 NUI Flow V1 reference. Topics: overview, grammar, components, statecharts, interactions, diagnostics.
Inputs: topic (required).
neon3_nui_submitC
Validate NUI Flow locally, then submit it through ui-runtime to the WGPU runtime.
Inputs: source (required), ui_endpoint, idempotency_key, expected_revision.
neon3_nui_validateB
Parse and compile NUI Flow with Neon3's production parser/compiler. Never submit automatically.
Inputs: source (required).
neon3_project_assetsC
Read project summary and stable AssetRef entries from projectd.
Inputs: projectd_endpoint.
neon3_ui_snapshotC
Read the current UI runtime snapshot, including active fragment and input revisions.
Inputs: ui_endpoint.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Each tool addresses a distinct stage or resource: reference docs, validation, IR inspection, submission, project assets, capabilities, UI snapshot, app template lifecycle, and diagnostics. There is no meaningful overlap, and validate/inspect/submit are clearly separated by compile, inspect, and runtime submission roles.
All tool names share the neon3_ prefix and use snake_case, which is consistent and readable. However, the set mixes noun-style names like nui_reference and ui_snapshot with verb-style names like nui_validate and app_run, so the naming pattern is not perfectly uniform.
11 tools is a well-scoped count for a Neon3 authoring/debugging server. Each tool provides a distinct capability needed for the domain without redundant or superfluous entries.
The core workflow is well covered: reference, validate, inspect, submit, create/run/test app templates, and diagnose issues. Minor gaps exist, such as no explicit update/delete for app templates and no write access to project assets, but these do not block the primary authoring flow.
Maintenance
Related MCP Connectors
Build, validate, deploy — HTTP APIs, cron jobs, webhooks and MCP tools — from your AI client.
Deploy and manage Jade Hosting projects from AI clients. Jade account and OAuth required.
Build, run, inspect, and continue AgentScript workflows on connected Super Chrome and Mac clients.
Create, test, publish, and manage Dreamlit notification workflows from AI clients.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables the management of AI-powered VibeKit apps, allowing users to control deployments, monitor logs, and perform database operations directly from MCP-compatible clients. It facilitates interaction with hosted AI agents and the execution of headless coding tasks through natural language.4946 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to query and manage Flowcore resources through a structured API.10-
- AlicenseBqualityDmaintenanceConnects AI assistants to the Node-RED Admin API, enabling flow inspection, node management, graph analysis, debug capture, and rollback operations through natural language.37MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to manage Flow Relay projects, generate handoffs and insights, and interact with integrations like Discord through natural language.181,100 npmAGPL 3.0