Borrowing it
Nothing to install: this file belongs to mjdevaccount/AIStack-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/mjdevaccount/AIStack-MCP/main/.cursorrulesgit clone --depth 1 https://github.com/mjdevaccount/AIStack-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/mjdevaccount/aistack-mcp/cursorrules)<a href="https://agentmods.dev/rules/mjdevaccount/aistack-mcp/cursorrules"><img src="https://agentmods.dev/badge/rules/mjdevaccount/aistack-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/mjdevaccount/aistack-mcp/cursorrules"><img src="https://agentmods.dev/badge/rules/mjdevaccount/aistack-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.02545 | $0.02545 |
| Opus 5.5 | $0.01018 | $0.01018 |
| Sonnet 5.5 | $0.00509 | $0.00509 |
| Haiku 4.5 | $0.00254 | $0.00254 |
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.
How it starts
The opening of the file, as written. The whole thing — 421 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AIStack Development Standards
Project Context
You have access to the codebase via MCP protocol with these tools:
- filesystem: Read/write/search files (including .env files)
- git: View history and changes
- github: Check PRs and issues
- sequential-thinking: Break down complex tasks
- brave-search: Research best practices
Environment Files
You CAN and SHOULD read .env files when needed:
.envfile is explicitly allowed in.cursorignore- Use it to read API keys, tokens, and configuration values
- This is necessary for setting up MCP servers and services
- Example: Reading
GITHUB_PERSONAL_ACCESS_TOKENfrom.envto configure GitHub MCP server
MCP Usage Guidelines
When to Use MCP Tools
- Understanding Context: Use filesystem to read related files
- Pattern Matching: Search for similar implementations
- Change History: Use git to understand why code exists
- Research: Use brave-search for best practices
- Complex Tasks: Use sequential-thinking to plan approach
Token Optimization
- Read only necessary files (ask which files before reading)
- Use git log with --oneline for quick history
- Summarize large files before suggesting changes
- Prefer targeted searches over reading entire directories
MCP Environment Self-Test
Before starting work, verify the MCP environment is properly configured:
# Quick self-test of MCP environment
python scripts/test_mcp_environment.py
# Verbose output with details
python scripts/test_mcp_environment.py --verbose
# Test specific server only
python scripts/test_mcp_environment.py --server aistack-intelligence
What the self-test discovers automatically:
- MCP servers configured in
.cursor/mcp.json - Service dependencies (Ollama, Qdrant, etc.) from environment variables
- Service health checks (HTTP endpoints)
- Server configuration validation
- Workspace accessibility
The script follows SOLID principles:
- Single Responsibility: Each checker handles one concern
- Open/Closed: Easy to add new service checkers without modifying existing code
- Liskov Substitution: All checkers implement consistent interface
- Interface Segregation: Separate concerns (discovery, checking, reporting)
- Dependency Inversion: Depends on configuration abstraction, not hardcoded values
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 · 421 lines · 2,545 tokens per session scan A 0eeda2bcc097
cursorrules is a cursor rule published in the GitHub repository mjdevaccount/AIStack-MCP (2 stars, last pushed 19d ago), licensed MIT. It adds 2,545 tokens to every session, about $0.0102 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 |
|---|---|---|---|---|---|---|---|
| cursorrulesmjdevaccount/AIStack-MCP | Cursor rule | 2 | 19d ago | MIT | A | 2,545 | Cursor |
| swift-developmentmadebyaris/rakitui-ai | Cursor rule | 5 | 9mo ago | MIT | A | 0 | Cursor |
| lighter-safetyiamgoatedaf/lighter-mcp | Cursor rule | 2 | 6mo ago | MIT | A | 18 | Cursor |
| terminal-commandsbrettdavies/cursor-template | Cursor rule | 1 | 1y ago | none | A | 1,291 | Cursor |
| ponytailDietrichGebert/ponytail | Cursor rule | 185k | 8d ago | MIT | A | 604 | Cursor |
| angular-20angular/angular | Cursor rule | 101k | yesterday | MIT | A | 0 | Cursor |
| dev-standardapache/superset | Cursor rule | 75k | today | Apache-2.0 | A | 1,147 | Cursor |