Collect UI MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
<<<<<<< HEAD
COLLECT-UI-MCP-SERVER
=======
π¨ Collect UI MCP
Your AI assistant's personal UI component library
Collect Β· Search Β· Recall β every snippet, right inside your editor.
Quick Start Β· Features Β· Tools Β· Examples Β· Contributing
π§ Stop scrolling bookmarks. Start asking.
You: "Save this button as
neon-button, tag ittailwindanddark."Assistant: β Collected β 24 lines saved to your library.
β¨ Why Collect UI MCP?
π© The old way
π 47 bookmarks named "cool button"
π A folder called
snippets-final-v2-USE-THISπ§ You know you saved that card somewhereβ¦
π Copy-pasting from chat β files β chat β files
β¨ The new way
π£οΈ Ask your AI to save, find, or fetch components
π·οΈ Tag by framework, mood, or use-case
π Full-text search across your whole library
πΎ Everything stays local and git-friendly
Related MCP server: journey-log
π― Features
Feature | Description | |
ποΈ | Collect | Save any UI snippet with a name, tags & description |
π | Search | Find components by keyword, tag, or framework |
π·οΈ | Organize | Tag by stack β React, Vue, Tailwind, CSSβ¦ |
π§Ύ | Retrieve | Pull full source code straight into chat |
βοΈ | Update | Modify existing entries without leaving your editor |
ποΈ | Delete | Clean up entries in seconds |
πΎ | Local-first | Nothing leaves your machine. Ever. |
π§© | Framework-agnostic | Works with any UI stack you throw at it |
β‘ | Zero-config | Point at a folder. Done. |
π Quick Start
3 steps to a smarter UI library
Install β Configure β Ask
1οΈβ£ Install
# Global install
npm install -g collect-ui-mcp
# Or use on the fly
npx collect-ui-mcp2οΈβ£ Configure your MCP client
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"collect-ui": {
"command": "npx",
"args": ["-y", "collect-ui-mcp"],
"env": {
"COLLECT_UI_DIR": "/absolute/path/to/your/ui-library"
}
}
}
}Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"collect-ui": {
"command": "npx",
"args": ["-y", "collect-ui-mcp"],
"env": { "COLLECT_UI_DIR": "/absolute/path/to/your/ui-library" }
}
}
}{
"mcpServers": {
"collect-ui": {
"command": "npx",
"args": ["-y", "collect-ui-mcp"],
"env": { "COLLECT_UI_DIR": "${workspaceFolder}/.ui-library" }
}
}
}3οΈβ£ Restart your client
π Done. Your AI assistant now has the
collect-uitoolset.
π οΈ Available Tools
| Tool | Description |
π₯ |
| Save a UI snippet with name, code, tags & description |
π |
| List all components β filterable by tag |
π |
| Full-text search across names, tags, descriptions |
π€ |
| Fetch the full source + metadata of a component |
βοΈ |
| Modify an existing entry |
ποΈ |
| Remove a component from your library |
π·οΈ |
| See every tag currently in use |
π Resources
URI | Description |
| Your entire catalog as JSON |
| A single component by name |
π¬ Prompts
find-ui-componentβ Ask the AI for the best match to a design needsummarize-libraryβ Get a quick overview of what you've collected
π‘ Example Usage
You β Save this Hero section as "gradient-hero",
tagged react, tailwind, marketing.
AI β β
Collected "gradient-hero" (React Β· Tailwind)
Saved 42 lines to your library.You β What button variants do I have collected?
AI β You have 3:
β’ neon-button β Tailwind Β· dark mode glow
β’ ghost-button β CSS Β· minimal outline
β’ pill-button β React Β· styled-componentsYou β Show me the source of "neon-button".
AI β [renders full code from your library]ποΈ How Data is Stored
Everything lives in a single folder you control:
my-ui-library/
βββ neon-button/
β βββ component.tsx
β βββ meta.json β name, tags, description, timestamps
βββ gradient-hero/
β βββ component.tsx
β βββ meta.json
βββ .collect-ui-index.jsonβ Human-readable | β Git-friendly | β No database | β Yours forever |
βοΈ Configuration
Env var | Default | Description |
|
| Where components are stored |
|
| Index filename |
|
| Log level β |
π§ͺ Development
# Clone
git clone https://github.com/<your-username>/collect-ui-mcp.git
cd collect-ui-mcp
# Install & build
npm install
npm run build
# Watch mode
npm run dev
# Test
npm test㪠Debug with the MCP Inspector
npx @modelcontextprotocol/inspector node dist/index.jsπΊοΈ Roadmap
βοΈ Cloud sync β S3 / WebDAV
πΌοΈ Image & screenshot attachments
π§ Framework-aware imports
π¨ Figma plugin bridge
π Web dashboard
π‘ Have an idea? Open an issue β PRs are welcome!
π€ Contributing
Every contribution counts β bugs, docs, ideas, code.
# 1. Fork the repo, then:
git checkout -b feat/my-feature
git commit -m "feat: add my feature"
git push origin feat/my-feature
# 2. Open a Pull Request πPlease read CONTRIBUTING.md and CODE_OF_CONDUCT.md before getting started.
π Acknowledgements
𧬠Model Context Protocol β the spec that makes this possible
π’ Anthropic β for building and open-sourcing MCP
π«‘ Everyone who has a folder called
snippets-final-v3-USE-THIS-ONE
π License
MIT Β© <Your Name>
β If this saved you a bookmark, star the repo!
Made with β€οΈ and a mild obsession with clean components.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
A MCP server built for developers enabling Git based project management with project and personalβ¦
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
MCP server for AI access to Swagger by SmartBear.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA comprehensive template for building MCP servers that expose UI component registries and design systems to AI assistants. It enables users to browse, fetch, and retrieve implementation details from registries following the shadcn/ui format.177 npm2MIT
- AlicenseNot gradedqualityDmaintenanceThis MCP server integrates with Journey Log to automatically document development journeys, enabling AI assistants to create, update, and retrieve documents, capture conversations, and manage code snippets.9 npmMIT
- AlicenseAqualityDmaintenanceAn MCP server that enables AI coding tools to save, list, and read code snippets as files in the local filesystem.3MIT
- AlicenseDqualityDmaintenanceMCP server for managing Git reference repositories, enabling AI assistants to add, load, and sync reference code from any Git repository.128 npmMIT