Nifra docs

Nifra docs, runnable examples, and API types as an MCP server for any AI assistant.

사용해야 할까요

품질 및 안전성

A
설명 품질
100%
스키마 완전성
90%
이름 품질
80%
오염 위험
100%
권한 일치
100%
프로토콜 준수
100%

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~1,624토큰 (도구 정의)
~949 B일반적인 응답 크기
중간 정도의 주의 영향 (128k 컨텍스트의 1.27%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "nifra-docs": {
      "url": "https://mcp.nifra.dev"
    }
  }
}

원격 엔드포인트

https://mcp.nifra.devstreamable-http

할 수 있는 일

도구 목록

도구 (7)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟢nifra_docs(query, limit)

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).

입력 스키마

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "maxLength": 256,
      "description": "Keywords to match against doc sections (omit for the index)."
    },
    "limit": {
      "type": "number",
      "description": "Max sections to return (default 3, max 5)."
    }
  },
  "additionalProperties": false
}
🟢nifra_example(query, limit)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "maxLength": 256,
      "description": "What you want an example of (omit for the index)."
    },
    "limit": {
      "type": "number",
      "description": "Max examples to return (default 3, max 5)."
    }
  },
  "additionalProperties": false
}
🟢nifra_types(name, query, limit, full)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Exact symbol name - returns its literal declaration (e.g. RateLimitStore)."
    },
    "query": {
      "type": "string",
      "maxLength": 256,
      "description": "Keyword search over names + signatures (when you don't know the exact name)."
    },
    "limit": {
      "type": "number",
      "description": "Max results for a query/search (default 5, max 8)."
    },
    "full": {
      "type": "boolean",
      "description": "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."
    }
  },
  "additionalProperties": false
}
🟢nifra_learn(step)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "step": {
      "type": "number",
      "description": "1-based step number to expand (omit for the index)."
    }
  },
  "additionalProperties": false
}
🟢nifra_frontend(symptom, adapter, limit)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "symptom": {
      "type": "string",
      "maxLength": 256,
      "description": "What you observe (omit for the index)."
    },
    "adapter": {
      "type": "string",
      "enum": [
        "react",
        "preact",
        "solid",
        "vue",
        "svelte",
        "vanilla"
      ],
      "description": "Filter to one adapter's entries (plus the adapter-independent seam entries)."
    },
    "limit": {
      "type": "number",
      "description": "Max entries to return (default 3, max 5)."
    }
  },
  "additionalProperties": false
}
🟢nifra_runtime(symptom, runtime, limit)

Explain a behavior that differs between Bun, Node, Deno and Cloudflare Workers by symptom. These are runtime behaviors, not Nifra's: request-target and Host handling, pipelining, JSON content-type, engine error messages, recursion depth, .env loading, and runtime-specific APIs. Returns what each runtime does, the fix (and the Nifra option that decides it when there is one), how to verify it, and the versions it was measured on. Call with no args for the index; pass `symptom` (e.g. "path guard skipped", "env var undefined") and/or `runtime` to filter.

입력 스키마

{
  "type": "object",
  "properties": {
    "symptom": {
      "type": "string",
      "maxLength": 256,
      "description": "What you observe (omit for the index)."
    },
    "runtime": {
      "type": "string",
      "enum": [
        "bun",
        "node",
        "deno",
        "workerd"
      ],
      "description": "Filter to one runtime's entries."
    },
    "limit": {
      "type": "number",
      "description": "Max entries to return (default 3, max 5)."
    }
  },
  "additionalProperties": false
}
🟢nifra_gallery(query)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Pre-filter examples by keyword."
    }
  },
  "additionalProperties": false
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 7개
검증됨버전이 기록되지 않음도구 7개
검증됨버전이 기록되지 않음도구 6개
검증됨버전이 기록되지 않음도구 6개
검증됨버전이 기록되지 않음도구 6개
검증됨버전이 기록되지 않음도구 6개
검증됨버전이 기록되지 않음도구 5개
검증됨버전이 기록되지 않음도구 5개