accueil / serveurs / Dev & Code / io.github.nifrajs/nifra-docs
io.github.nifrajs/nifra-docs
serveur MCP (Model Context Protocol) · nifra-docs 3.5.0
Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur.
Est-ce que io.github.nifrajs/nifra-docs est sûr ?
Au dernier audit MCP Hub, le serveur MCP « io.github.nifrajs/nifra-docs » est classé « Non encore testé ». Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur. Le verdict est réévalué en continu ; consultez la fiche pour l'état à jour.
Méthode : MCP Hub analyse la description de chaque outil (couche 1) et, pour le verdict fort, exécute le serveur dans une micro-VM isolée avec leurres et réseau bloqué (couche 2). On publie des noms et des compteurs, jamais le contenu brut renvoyé par un outil.
Les 6 outils
- nifra_docs≈ 226 tokens
Search nifra's framework documentation and get back ONLY the matching sections - auth, uploads, ISR, WebSockets, loaders, deployment, anything. Call with no query for the cheap section index; pass query (e.g. "isr revalidate") for the top matching sections. Use this instead of reading llms-full.txt (~150 KB) whole. For the EXACT TypeScript of a type/interface/function, call nifra_types instead (don't read .d.ts files).
Paramètres, retour & exemple (2)
Paramètreslimit· number · optionnel
Max sections to return (default 3, max 5).query· string · optionnel
Keywords to match against doc sections (omit for the index).
Exemple d'appel{"name": "nifra_docs", "arguments": {"limit": 1, "query": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - nifra_example≈ 224 tokens
Get a verified, copy-pasteable Nifra code example for a task - auth route, file upload, ISR page, loader/action, typed client, SSE, deployment, and more. Every snippet is typechecked against the installed Nifra version, so it compiles as-is. Returns code as text for direct use. Call with no query for the grouped index; pass query (e.g. "protected route", "upload", "isr revalidate") for matching snippets.
Paramètres, retour & exemple (2)
Paramètreslimit· number · optionnel
Max examples to return (default 3, max 5).query· string · optionnel
What you want an example of (omit for the index).
Exemple d'appel{"name": "nifra_example", "arguments": {"limit": 1, "query": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - nifra_frontend≈ 283 tokens
Diagnose a client-side Nifra problem by symptom across every adapter (React, Preact, Solid, Vue, Svelte, and vanilla). Returns the likely cause, a concrete fix, and how to verify it. Covers the Nifra server/client seam, hydration mismatches, duplicated framework runtimes, loader-data typing, and adapter-specific reactivity guidance. Call with no args for the index; pass `symptom` (e.g. "hydration mismatch", "value stopped updating") and/or `adapter` to filter.
Paramètres, retour & exemple (3)
Paramètreslimit· number · optionnel
Max entries to return (default 3, max 5).adapter· string · optionnel · react | preact | solid | vue | svelte | vanilla
Filter to one adapter's entries (plus the adapter-independent seam entries).symptom· string · optionnel
What you observe (omit for the index).
Exemple d'appel{"name": "nifra_frontend", "arguments": {"limit": 1, "adapter": "react", "symptom": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - nifra_gallery≈ 158 tokens
Open an interactive, filterable gallery of ALL of nifra's verified code examples (MCP Apps widget) - for browsing and discovering what exists. NOT for fetching one snippet as text: use nifra_example for that. Pass query to pre-filter; the widget also filters client-side.
Paramètres, retour & exemple (1)
Paramètresquery· string · optionnel
Pre-filter examples by keyword.
Exemple d'appel{"name": "nifra_gallery", "arguments": {"query": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - nifra_learn≈ 214 tokens
Walk the guided path to build a nifra app end to end - an ORDERED sequence (create → page route → loader → typed API → typed client → auth → background jobs → deploy), not the random-access search of nifra_docs/nifra_example. Call with no args for the step index; pass `step: N` for that step's goal, how to do it (which tool emits the correct artifact), and how to verify it. Use it when scaffolding a new app or learning nifra's flow - each step composes the other nifra_* tools.
Paramètres, retour & exemple (1)
Paramètresstep· number · optionnel
1-based step number to expand (omit for the index).
Exemple d'appel{"name": "nifra_learn", "arguments": {"step": 1}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - nifra_types≈ 361 tokens
Get the exact TypeScript declaration of any exported @nifrajs/* symbol - interface, type, class, function, or const. Each signature is generated from the package's built .d.ts and returns the complete declaration rather than prose. Pass `name` for an exact symbol (e.g. "RateLimitStore", "RouteSchema", "Context", "rateLimit"); pass `query` to search by keyword; omit both for the per-package index of names. A `name` lookup is always the complete declaration; a `query` returns a one-line summary plus the signature, collapsing an oversized body - pass `full: true` to override.
Paramètres, retour & exemple (4)
Paramètresfull· boolean · optionnel
Query mode only: return whole declarations instead of collapsed ones. Off by default - a search is for picking a symbol, and one match can be tens of thousands of characters.name· string · optionnel
Exact symbol name - returns its literal declaration (e.g. RateLimitStore).limit· number · optionnel
Max results for a query/search (default 5, max 8).query· string · optionnel
Keyword search over names + signatures (when you don't know the exact name).
Exemple d'appel{"name": "nifra_types", "arguments": {"full": true, "name": "texte", "limit": 1, "query": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]}
C'est votre serveur ?
Revendiquez-le sur l'espace créateur (preuve GitHub, domaine ou npm) pour afficher le badge « propriétaire vérifié » et lancer un pentest comportemental à la demande afin d'obtenir le badge « Vérifié ».