Nifra docs — Claude Code MCP server: framework docs and API types
Serves Nifra framework documentation, runnable examples and API types to your coding assistant. Useful when an agent writes Nifra code and should not guess the contract.
claude mcp add --transport http nifra-docs https://mcp.nifra.devWhat Nifra docs does
The server runs over HTTP at https://mcp.nifra.dev and plugs into Claude, Codex, Cursor, GitHub Copilot, Gemini CLI and others. What it exposes is Nifra's reference material: typed APIs, runtime schemas, a client that needs no codegen, SSR across five UI libraries. Your assistant reads that as project context instead of inventing signatures.
In Claude the setup is one line: claude mcp add --transport http nifra-docs https://mcp.nifra.dev. Codex takes codex mcp add nifra-docs --url https://mcp.nifra.dev, Gemini CLI takes gemini mcp add -t http nifra-docs https://mcp.nifra.dev. Cursor and GitHub Copilot are configured through a JSON block in their settings files, with url and type fields.
The framework itself asks for Bun 1.3 or newer when you scaffold with bun create nifra. Docs also cover the agent layer: WebMCP, remote MCP, A2A, AG-UI, bounded agent turns and budgets. Your local runtime does not matter for the server — it is hosted remotely and answers regardless of what you have installed.
What it helps with
- wire Nifra documentation into an assistant without pasting pages by hand
- get exact API types instead of agent guesses
- learn WebMCP and predictive UI from working examples
- check a capability contract before editing code
- set up one MCP server across several editors
Example prompts for the agent
- Connect the nifra-docs MCP server and show me how to declare a capability with
defineAgentCapability - Find a Nifra example of a typed route using
t.object - How do I project a capability into Nifra's remote MCP adapter?
How to install Nifra docs
Platform CLI: remote server
claude mcp add --transport http nifra-docs https://mcp.nifra.devPlatform CLI: remote server
codex mcp add nifra-docs --url https://mcp.nifra.devConfig file
{
"mcpServers": {
"nifra-docs": {
"url": "https://mcp.nifra.dev"
}
}
}Config file
{
"servers": {
"nifra-docs": {
"type": "http",
"url": "https://mcp.nifra.dev"
}
}
}Platform CLI: remote server
gemini mcp add -t http nifra-docs https://mcp.nifra.devStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Nifra docs
How do I install Nifra docs in Claude Code?
Run claude mcp add --transport http nifra-docs https://mcp.nifra.dev. That single command registers the HTTP server in your Claude config.
What does Nifra docs do?
It hands your assistant Nifra framework documentation, runnable examples and API types, so the agent works from the real contract rather than assumptions.
Which platforms are supported?
Claude, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline and Zed. Each platform has its own command or JSON config.