vrc-udon-mcp-nllabs
Provides tools for UdonSharp development in VRChat, including searching documentation, validating code, retrieving templates, and accessing SDK compatibility matrices.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@vrc-udon-mcp-nllabs Search UdonSharp docs for syncing variables over the network"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
VRC Udon NLLabs
NeuraLive Labs · Udon MCP for VRChat
MCP server for VRChat UdonSharp development — exposes the agent-skills-vrc-udon knowledge base to AI assistants via the Model Context Protocol.
Documentation
Language | README | Description |
English | Full guide — installation, MCP setup, tools | |
Español | Guía completa en español | |
Français | Guide complet en français | |
Japanese | Full guide in Japanese | |
Korean | Full guide in Korean |
Related MCP server: EmbeDocs-MCP
What is this?
vrc-udon-mcp-nllabs (vrchat-udon-mcp) is a stdio MCP server that indexes, searches, and validates UdonSharp documentation from the agent-skills-vrc-udon repository at runtime. No hardcoded docs — the remote repo is the single source of truth.
18 MCP tools | Search, explain, validate, templates, SDK matrix |
Dynamic resources | Skills, rules, cheatsheets, templates |
Live indexing | MiniSearch with weighted ranking + file watcher |
IDE / agent support | Cursor, Claude Desktop, ChatGPT Desktop, Codex — via MCP + |
Quick start
One-click install opens Cursor and adds the portable npx MCP entry. Or install from the CLI (merge-safe):
npx -y github:NeuraLive-Labs/vrc-udon-mcp-nllabs -- installThen Refresh MCP in Cursor (CLI install only). Optional: add --claude for Claude Desktop.
Develop from source:
git clone https://github.com/NeuraLive-Labs/vrc-udon-mcp-nllabs.git
cd vrchat-udon-mcp
pnpm install
pnpm update-docs && pnpm build-index && pnpm build
pnpm startSee docs/mcp-config.example.json and the language READMEs for workspace, npx, global install, submodule, and git dependency options.
Agent workflow for accurate Udon code
Works with Cursor, Claude, Codex, ChatGPT (any MCP client). Same strong rules everywhere:
Entry | Role |
Canonical agent instructions (Codex, Cursor agents, …) | |
Claude Code / Desktop project context | |
MCP resource | SSOT summary any MCP client can fetch |
MCP prompt | Same workflow as a prompt (Claude-friendly) |
Cursor-only bonus; mirrors |
Flow: template ? validate ? fix — consult MCP first (search_constraints / search_networking / get_template or search_examples), adapt (never invent networking), then validate_code ? explain_validation ? fix until clean.
Table of contents
Contributing
Forks and contributions are welcome. Cualquier fork y ayuda son bienvenidos.
See CONTRIBUTING.md for guidelines.
License
MIT — Documentation and skills by niaka3dayo/agent-skills-vrc-udon. MCP server by NeuraLive Labs / MauDevVR.
Available Tools
18 toolsexplain_topicA
WHEN: user needs a cited explanation of a Udon/VRChat topic. HOW: returns sections with path and line numbers — use citations, do not paraphrase away constraints.
Inputs: topic (required), depth, sdkVersion.
explain_validationA
WHEN: validate_code returned issues. HOW: call once per unique ruleId from the result, read the cited rule/docs, apply the fix, then re-run validate_code. Part of the fix loop — do not guess fixes.
Inputs: ruleId (required).
get_templateA
WHEN: before writing UdonSharp. HOW: use the returned source as the BASE — adapt fields/logic; do NOT invent networking (ownership, Manual sync, RequestSerialization). After adapting, call validate_code.
Inputs: templateId (required).
list_rulesA
WHEN: you need the set of UdonSharp rules before coding. HOW: list then read_rule for any rule that applies to the feature.
Inputs: skillId.
list_skillsA
WHEN: starting an Udon session or discovering available skills. HOW: list skills from the repo before reading one with read_skill.
Inputs: no named parameters.
list_templatesA
WHEN: about to write UdonSharp — first step of template→validate→fix. HOW: list .cs templates, then get_template for the closest match and adapt it.
Inputs: skillId.
read_ruleB
WHEN: implementing something covered by a named rule (constraints, networking, etc.). HOW: apply purpose/constraints/examples from the rule; do not skip constraints.
Inputs: ruleId (required).
read_skillA
WHEN: you need the full skill contract (rules, refs, templates). HOW: call after list_skills; follow linked rules before writing code.
Inputs: skillId (required).
sdk_matrixB
WHEN: checking which APIs exist for a target SDK version. HOW: read the matrix before using version-specific features.
Inputs: no named parameters.
search_antipatternA
WHEN: BEFORE using unfamiliar C# patterns or when validate_code fails with a common mistake. HOW: check anti-patterns to avoid; prefer documented alternatives.
Inputs: query (required), limit.
search_best_practiceB
WHEN: refining structure, performance, or idiomatic UdonSharp. HOW: apply recommended patterns from the repo after drafting from a template.
Inputs: query (required), limit.
search_constraintsA
WHEN: BEFORE using any C# feature in UdonSharp (List, Dictionary, Coroutine, LINQ, async, generics, etc.). HOW: check constraints and use documented alternatives. Skipping this causes invalid Udon.
Inputs: query (required), limit.
search_documentationA
WHEN: before answering any Udon/VRChat docs question. HOW: keyword/fuzzy search the indexed agent-skills repo. Prefer this over inventing APIs from general C# knowledge.
Inputs: query (required), limit, sdkVersion.
search_examplesA
WHEN: before writing UdonSharp (prefer with get_template). HOW: use matching examples as the code BASE — adapt, do not invent APIs or networking patterns. Then validate_code.
Inputs: query (required), limit.
search_networkingB
WHEN: any ownership, sync mode, late joiners, serialization, or RPC work. HOW: search before writing synced fields; prefer Manual + RequestSerialization patterns from docs/templates.
Inputs: query (required), limit.
search_referenceB
WHEN: looking up API/reference docs in references/. HOW: search before inventing method names or event signatures.
Inputs: query (required), limit, skillId.
search_sdk_featureB
WHEN: unsure if a feature (NetworkCallable, PlayerData, PhysBones, etc.) exists or how it works. HOW: search before coding against that feature.
Inputs: query (required), limit, sdkVersion.
validate_codeA
WHEN: after writing or editing any UdonSharp script (mandatory). HOW: pass full code. If issues: call explain_validation for each unique ruleId, fix, then re-run validate_code until valid. Never ship code that failed validation.
Inputs: code (required), sdkVersion.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 18 tools
The tools are mostly distinct, but the eight search_* variants (documentation, reference, sdk_feature, constraints, networking, examples, best_practice, antipattern) share a common action and could be confused at a glance. Descriptions clearly differentiate them by target, so an agent can usually select correctly, but the overlap prevents a perfect score.
The vast majority of tools follow a consistent verb_noun snake_case pattern (search_*, list_*, read_*, get_*, validate_*, explain_*). The one outlier is sdk_matrix, which is a noun_noun pair without a verb, a minor deviation from the otherwise uniform scheme.
18 tools is on the heavy side, falling in the 16–25 'borderline' range. The domain is specialized and each tool has a real use case, but several search tools could potentially be consolidated into a more generic search with filters, making the set feel slightly over-scoped.
The tool surface covers the full Udon development workflow: discovering skills/rules/templates, reading detailed references, searching for constraints/networking/sdk features, validating code, explaining validation failures, and checking SDK compatibility. No obvious dead ends or missing lifecycle steps remain.
Maintenance
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
Versioned documentation registry and semantic search for AI tools and coding assistants.
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to intelligently search and reference documentation using hybrid semantic + keyword search via MCP protocol.-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to access up-to-date documentation by indexing GitHub repositories and official docs, providing semantic search through MCP.40 npm7MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that exposes the agent-skills-vrc-udon repository as an interface for UdonSharp development in VRChat. It provides tools for searching documentation, reading skills, validating code, and more.181MIT
- AlicenseBqualityCmaintenanceMCP server that provides UdonSharp development tools for VRChat by indexing and searching the agent-skills-vrc-udon repository, enabling AI agents to access skills, rules, templates, and validate code.182MIT