Borrowing it
Nothing to install: this file belongs to Forge-Space/ui-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Forge-Space/ui-mcp/main/.cursorrulesgit clone --depth 1 https://github.com/Forge-Space/ui-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/forge-space/ui-mcp/cursorrules)<a href="https://agentmods.dev/rules/forge-space/ui-mcp/cursorrules"><img src="https://agentmods.dev/badge/rules/forge-space/ui-mcp/cursorrules/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/forge-space/ui-mcp/cursorrules"><img src="https://agentmods.dev/badge/rules/forge-space/ui-mcp/cursorrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00306 | $0.00306 |
| Opus 5.5 | $0.00122 | $0.00122 |
| Sonnet 5.5 | $0.00061 | $0.00061 |
| Haiku 4.5 | $0.00031 | $0.00031 |
Grade A, and why
cursorrules scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
UIForge MCP Cursor Rules
Environment Setup
- Always load environment variables from .env file
- Set FIGMA_ACCESS_TOKEN for Figma integration
- Use NODE_ENV=development for local development
Development Guidelines
- Follow TypeScript strict mode
- Use semantic HTML5 elements
- Implement proper error handling
- Write comprehensive tests
- Follow MCP server patterns
Component Library Integration
- Test component library integration thoroughly
- Verify shadcn/ui, Radix UI, Headless UI, Material UI imports
- Check responsive design on multiple viewports
- Ensure accessibility compliance (WCAG 2.1)
Figma Integration
- Always validate FIGMA_ACCESS_TOKEN before use
- Handle Figma API rate limits gracefully
- Test bidirectional token flow
- Verify design token mapping
Code Quality
- Run ESLint and Prettier before commits
- Maintain test coverage above 80%
- Use proper TypeScript types
- Follow established naming conventions
MCP Server Development
- Use proper error handling for all tools
- Implement input validation with Zod schemas
- Provide helpful error messages
- Test all tool edge cases
Debugging
- Use LOG_LEVEL=debug for troubleshooting
- Check environment variable loading
- Test with different Node.js versions
- Verify MCP tool responses
Security
- Never commit FIGMA_ACCESS_TOKEN to version control
- Use environment variables for sensitive data
- Validate all external API calls
- Implement proper error boundaries
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 50 lines · 306 tokens per session scan A 89ae19d8f31c
cursorrules is a cursor rule published in the GitHub repository Forge-Space/ui-mcp (2 stars, last pushed 6mo ago), licensed MIT. It adds 306 tokens to every session, about $0.0012 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
cursorrules compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cursorrulesForge-Space/ui-mcp | Cursor rule | 2 | 6mo ago | MIT | A | 306 | Cursor |
| sheleg-designssheleg/sheleg-design-skill | Cursor rule | 4 | 4d ago | MIT | A | 40 | Cursor |
| external-scaleOcean-Industries-Concept-Lab/openbridge-webcomponents | Cursor rule | 106 | yesterday | none | A | 0 | Cursor |
| building-blocksOcean-Industries-Concept-Lab/openbridge-webcomponents | Cursor rule | 106 | yesterday | none | A | 0 | Cursor |
| taste-enforcementKevin-Liu-01/Sigil-UI | Cursor rule | 10 | 15d ago | MIT | A | 2,171 | Cursor |
| mimic-aimiapre/mimic-ai | Cursor rule | 15 | 28d ago | MIT | A | 49 | Cursor |
| 20-frontend-uiMazalucas/El-DT-Lightweight-Army | Cursor rule | 4 | yesterday | MIT | A | 0 | Cursor |