MCP Server
A hosted Model Context Protocol server that exposes Volt UI components, usage examples, theme info, and CLI commands as tools any compatible agent can call.
What is MCP?
https://volt-ui.pages.dev/api/mcp and exposes a spec-compliant Streamable HTTP endpoint. Agents can list components, read detailed metadata, fetch usage examples, and even retrieve reusable prompts.
Quick Setup
Run the interactive installer from your project directory:
npx volt-ui-mcpIt asks which agent(s) to set up, then writes the right config files automatically. You can also pass the agent directly:
# one agentnpx volt-ui-mcp claudenpx volt-ui-mcp cursor# multiplenpx volt-ui-mcp cursor copilotSupported Agents
Claude
MCP nativeClaude Desktop and Claude Code — full tool access via the hosted MCP server.
npx volt-ui-mcp claude.claude/mcp.json and patches the Claude Desktop global config if found.
Cursor
MCP native.cursorrules file with component context for inline suggestions.
npx volt-ui-mcp cursor.cursor/mcp.json and .cursorrules .
Windsurf
MCP nativeCodeium's Windsurf editor with native MCP support.
npx volt-ui-mcp windsurf.codeium/windsurf/mcp_config.json .
GitHub Copilot
instructionsCopilot doesn't support MCP HTTP yet — the installer writes a Copilot instructions file and VS Code snippets instead.
npx volt-ui-mcp copilot.github/copilot-instructions.md and .vscode/volt-snippets.code-snippets .
Manual Configuration
For MCP-native agents, add this entry to your config file: