No.JS MCP Server
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., "@No.JS MCP Server Explain how to use the 'each' directive with an example"
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.
@erickxavier/nojs-mcp
MCP (Model Context Protocol) server that provides AI assistants with deep knowledge of the No.JS framework — The HTML-First Reactive Framework.
What is this?
This MCP server gives AI assistants (GitHub Copilot, Claude, Cursor, etc.) structured access to:
80+ directives with syntax, examples, and usage notes
Head management directives (
title,meta,link,script,base) for declarative<head>controlPlugin system with lifecycle hooks, custom directives, and shared state
32 built-in filters (text, numbers, arrays, dates, utility)
Full public API reference (config, init, router, i18n, store, plugins, etc.)
23 documentation pages (getting started, routing, forms, drag-and-drop, etc.)
Template validation tool to catch NoJS syntax errors
Component scaffolding for common UI patterns
Installation
VS Code / Cursor
Add to your MCP configuration (.vscode/mcp.json or settings):
{
"mcpServers": {
"nojs": {
"command": "npx",
"args": ["-y", "@erickxavier/nojs-mcp"]
}
}
}Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"nojs": {
"command": "npx",
"args": ["-y", "@erickxavier/nojs-mcp"]
}
}
}Resources
URI | Description |
| All directives with syntax and examples |
| Complete public API reference |
| All 32 built-in filters |
| Documentation pages (getting-started, routing, forms-validation, etc.) |
Tools
validate_template
Validate a NoJS HTML template for syntax errors, typos, and best practices.
validate_template({ html: '<div bnd="name"></div>' })
// → Error: Unknown attribute "bnd" — did you mean "bind"?explain_directive
Get a detailed explanation of any NoJS directive.
explain_directive({ directive: "each" })
// → Full explanation with syntax, examples, and noteslist_directives
List all directives, optionally filtered by category.
list_directives({ category: "data" })
// → All data-fetching directives (get, post, put, patch, delete, etc.)Categories: data, state, binding, conditionals, loops, events, styling, forms, routing, animation, dnd, i18n, refs, head, misc
scaffold_component
Generate NoJS component templates.
scaffold_component({ type: "form", features: ["validation", "i18n"] })
// → Complete login form with validationTypes: form, list, detail, card, modal, nav
get_cheatsheet
Get a condensed directive cheatsheet for quick reference.
Development
# Install dependencies
npm install
# Build
npm run build
# Run locally
node dist/index.jsVersioning
This package version always matches the No.JS framework version. Current: 1.11.0
Ecosystem
No.JS Framework — The HTML-First Reactive Framework
No.JS LSP — Language Server Protocol support
No.JS Skill — AI Skill for code generation
No.JS CLI — Command-line scaffolding and tooling
License
MIT © Erick Xavier
Available Tools
5 toolsexplain_directiveB
Get a detailed explanation of a NoJS directive with syntax and examples
Inputs: directive (required).
get_cheatsheetB
Get a condensed NoJS directive cheatsheet for quick reference
Inputs: no named parameters.
list_directivesB
List all NoJS directives, optionally filtered by category
Inputs: category.
scaffold_componentC
Generate a NoJS component template following framework conventions
Inputs: type (required), features.
validate_templateC
Validate a NoJS HTML template for syntax errors, unknown directives, and best practices
Inputs: html (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose with no overlap: explain_directive provides detailed explanations, get_cheatsheet offers quick reference, list_directives enumerates available directives, scaffold_component generates templates, and validate_template checks syntax and best practices. The descriptions make it easy for an agent to select the right tool for each specific need.
All tool names follow a consistent verb_noun pattern (explain_directive, get_cheatsheet, list_directives, scaffold_component, validate_template), using clear action verbs and descriptive nouns. There are no deviations in style or convention, making the set predictable and easy to understand.
With 5 tools, this server is well-scoped for its purpose of supporting NoJS development. Each tool earns its place by covering distinct aspects: documentation (explain, cheatsheet, list), code generation (scaffold), and validation (validate). This count avoids bloat while providing complete coverage for common tasks.
The tool set provides complete coverage for the NoJS domain, including documentation lookup (explain, cheatsheet, list), component creation (scaffold), and quality assurance (validate). There are no obvious gaps; agents can access all necessary information, generate code, and validate it without dead ends.
Maintenance
Related MCP Connectors
Your prompt library inside your AI: 1,000+ pro templates, frameworks, vocab & pipelines.
Bring your Knacco library into your AI tool: browse, search, read guides and download files.
Contextual prompts and agent skills for 140+ AI platforms.
Curated knowledge API for AI agents - skill packs, semantic search, validated patterns.