@mcp-interactive-ui/server
v1.0.0
Published
LLM-agnostic MCP server exposing the mcp-interactive-ui block registry as tools.
Downloads
22
Readme
@mcp-interactive-ui/server
LLM-agnostic Model Context Protocol server exposing the @mcp-interactive-ui/core block registry as MCP tools.
Install
pnpm add @mcp-interactive-ui/server
# or run directly:
npx @mcp-interactive-ui/serverTools exposed
get_available_ui_blocks({ category? })— lists block ids, descriptions, JSON schemas, and examples.render_ui_block({ blockId, data })— validates a payload and returns a normalized block, or a structured error.
Claude Desktop configuration
{
"mcpServers": {
"mcp-interactive-ui": {
"command": "npx",
"args": ["-y", "@mcp-interactive-ui/server"]
}
}
}Programmatic
import { createMCPServer } from '@mcp-interactive-ui/server';
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
const server = createMCPServer();
await server.connect(new StdioServerTransport());Use your own registry:
import { buildRegistry } from '@mcp-interactive-ui/core';
import { createMCPServer } from '@mcp-interactive-ui/server';
const registry = buildRegistry();
const server = createMCPServer({ registry });Phase 1 supports the stdio transport only. HTTP lands in a later release.
