@ringpublishing/mui-components-mcp
v2.0.7
Published
MCP server for Ring Publishing MUI Components documentation
Downloads
1,920
Readme
@ringpublishing/mui-components-mcp
MCP server providing documentation knowledge base for Ring Publishing MUI Components.
Usage in Claude Desktop / Cursor / VS Code / Copilot
Add to your MCP config:
{
"mcpServers": {
"ring-mui": {
"command": "npx",
"args": ["-y", "@ringpublishing/mui-components-mcp"]
}
}
}Available tools
| Tool | Description |
| ----------------------- | -------------------------------------------------------------------------------------------------------- |
| list_components | List all components with name, description, story names, and argTypes count, and the library release the knowledge base was generated from |
| get_component_details | Structured component data: description, argTypes (with type, default, options), and story names |
| get_component_docs | Full prose documentation for a component: usage guidelines, behavior descriptions, and code examples |
Versions
The server is released on its own schedule, so its version is not the version of @ringpublishing/mui-components. list_components returns libraryVersion, the library release the knowledge base was generated from, next to serverVersion; the server's instructions name that release too. Compare libraryVersion with the release installed in your project: props and defaults can differ between releases. Every entry in CHANGELOG.md names the library release it was generated from.
Data pipeline
Knowledge is generated from Storybook source files (MDX + stories) by scripts/generate-knowledge.ts; libraryVersion is the newest release in the CHANGELOG.md of @ringpublishing/mui-components.
Storybook of @ringpublishing/mui-components: stories/**/*.mdx + stories/**/*.stories.tsx
↓ generate-knowledge.ts (tsc → dist-scripts/generate-knowledge.js)
dist/data/knowledge.json
↓ index.ts (MCP server)
list_components / get_component_details / get_component_docsScripts
| Script | Description |
| ---------------------------- | -------------------------------------------------------------------------------------- |
| npm run build | Regenerate dist/data/knowledge.json (prebuild) and compile TypeScript |
| npm run build:scripts | Compile TypeScript scripts from scripts/ to dist-scripts/ |
| npm run generate-knowledge | Compile and run the generator, then regenerate dist/data/knowledge.json |
| npm run dev | Watch mode for TypeScript compilation |
| npm run start | Run the MCP server |
Testing with MCP Inspector
MCP Inspector is a web UI for interacting with MCP servers — useful for verifying tool responses during development.
Local development
# Build first
npm run build
# Run inspector against local build
npx @modelcontextprotocol/inspector node dist/index.jsInspector opens at http://localhost:6274. Use it to call list_components, get_component_details, and get_component_docs and verify responses.
Published package
npx @modelcontextprotocol/inspector npx -y @ringpublishing/mui-components-mcp