@wrnexus/mcp
Model Context Protocol tools for WRNexus projects.
Install the package
After WorkRoot approves private registry access, install the release-aligned package:
bun add @wrnexus/mcp@0.8.7Request preview access. Never put registry tokens in source control.
Editor-neutral Model Context Protocol server for AI development tools.
bunx wrnexus-mcp --root=.
It exposes current routes, components with props/events, database schema files, compiler diagnostics, runtime errors, dev-server health, framework documentation and installed packages. Files are resolved inside the configured application root and returned as bounded structured JSON.
Complete TypeScript API
Generated from the exact installed package declarations.
interface McpTool {
name: string;
description: string;
inputSchema: {
type: "object";
properties?: Record<string, unknown>;
additionalProperties?: boolean;
};
}
interface McpServerOptions {
maxFiles?: number;
maxFileBytes?: number;
fetch?: typeof fetch;
devServerUrl?: string;
runtimeErrors?: () => unknown[] | Promise<unknown[]>;
}
interface McpServer {
tools(): McpTool[];
call(name: string, args?: Record<string, unknown>): Promise<unknown>;
handle(message: unknown): Promise<Record<string, unknown> | null>;
}
declare function createFrameworkMcpServer(appRoot: string, options?: McpServerOptions): McpServer;
export { type McpServer, type McpServerOptions, type McpTool, createFrameworkMcpServer };
Examples
Copy-ready examples from the installed package documentation.
Editor-neutral Model Context Protocol server for AI development tools.
bunx wrnexus-mcp --root=.Install @wrnexus/mcp
bun add @wrnexus/mcp