@nyxis/mcp-server
v0.2.0
Published
MCP server that exposes the Nyxis registry to AI coding assistants (Claude Code, Cursor, Windsurf, etc.).
Maintainers
Readme
@nyxis/mcp-server
MCP server that exposes the
Nyxis registry to AI coding
assistants. Once configured in your editor, the assistant can browse the Nyxis
catalog, read the full source of any component or backend recipe, and suggest
the right npx shadcn@latest add command — all without leaving the chat.
Tools exposed
list_components— Browse the catalog. Optionalcategoryandtypefilters.search_components— Free-text search over names, titles, descriptions, and categories. Ranked top-N matches.get_component— Read the full metadata plus inlined source of a single item by slug, ready to copy or pipe intonpx shadcn add.
Configure your assistant
The server speaks MCP over stdio. Add it to your assistant's MCP config; it will be launched on demand.
Claude Code
{
"mcpServers": {
"nyxis": {
"command": "npx",
"args": ["-y", "@nyxis/mcp-server"]
}
}
}Or, project-scoped, in .mcp.json at the repo root.
Cursor
{
"mcpServers": {
"nyxis": {
"command": "npx",
"args": ["-y", "@nyxis/mcp-server"]
}
}
}Windsurf
{
"mcpServers": {
"nyxis": {
"command": "npx",
"args": ["-y", "@nyxis/mcp-server"]
}
}
}Usage
Ask the assistant in natural language:
"Make me a chat surface using Nyxis. Use the streaming markdown renderer."
The assistant will:
- Call
search_componentswithquery: "chat streaming markdown". - Call
get_componenton each match to read the source. - Suggest
npx shadcn@latest add <url>commands for each item. - Wire them up in your codebase.
Local development
To point the server at your own dev instance of the registry instead of the
production deploy, set NYXIS_REGISTRY_URL:
NYXIS_REGISTRY_URL=http://localhost:4321/r npx @nyxis/mcp-serverUseful when iterating on registry items locally.
License
MIT © Julio César Daal
