Nifra docs
Measured conclusion: Deep-tested. L2 outcome: tools_ok.
Nifra docs, runnable examples, and API types as an MCP server for any AI assistant.
| Author | io.github.nifrajs |
|---|---|
| Access | remote |
| Publisher key required | No |
| Measured state | Deep-tested |
| L1 liveness | alive |
| L1 latency | 477 ms |
| Last measured | 2026-10-26 |
Add to your agent
Copy this into your MCP client config:
{
"mcpServers": {
"Nifra docs": {
"url": "https://mcp.nifra.dev",
"transport": "streamable-http"
}
}
}
Measured tools (6)
nifra_docsread-onlySearch 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).
Parameters:
limit— number — Max sections to return (default 3, max 5).query— string — Keywords to match against doc sections (omit for the index).
Hints: read-only yes · destructive no · idempotent yes · open-world no
nifra_exampleread-onlyGet 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.
Parameters:
limit— number — Max examples to return (default 3, max 5).query— string — What you want an example of (omit for the index).
Hints: read-only yes · destructive no · idempotent yes · open-world no
nifra_typesread-onlyGet 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.
Parameters:
full— boolean — 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 — Exact symbol name - returns its literal declaration (e.g. RateLimitStore).limit— number — Max results for a query/search (default 5, max 8).query— string — Keyword search over names + signatures (when you don't know the exact name).
Hints: read-only yes · destructive no · idempotent yes · open-world no
nifra_learnread-onlyWalk 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.
Parameters:
step— number — 1-based step number to expand (omit for the index).
Hints: read-only yes · destructive no · idempotent yes · open-world no
nifra_frontendread-onlyDiagnose 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.
Parameters:
limit— number — Max entries to return (default 3, max 5).adapter— string — Filter to one adapter's entries (plus the adapter-independent seam entries).symptom— string — What you observe (omit for the index).
Hints: read-only yes · destructive no · idempotent yes · open-world no
nifra_galleryread-onlyOpen 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.
Parameters:
query— string — Pre-filter examples by keyword.
Hints: read-only yes · destructive no · idempotent yes · open-world no
Measured by MCPYP probing. Untested fields are omitted, never estimated. Listing is always free; MCPYP never proxies calls or stores user tokens.