Cursor rule
.cursor/rules/mcp-websearch.mdcCursor rules
Quality
61/100
Scores the file, not the repository.Length
406 words
15 headings · 12 code blocksRepository
206
— · pushed 397 days agoLast changed
3 days ago
First indexed 3 days ago.1# 🔍 Web Search MCP Integration for CursorRIPER Σ2# Symbol: Λ (Lambda)3# Version: 1.0.045## 📋 Service Definition6```7service = "Web Search Operations"8symbol = "Λ"9requires = "@modelcontextprotocol/server-brave-search"10```1112## 🔧 Operation Mapping13```14Λ_ops = {15 search: {16 web: "@modelcontextprotocol-server-brave-search:brave_web_search",17 local: "@modelcontextprotocol-server-brave-search:brave_local_search"18 },19 fetch: {20 url: "mcp-server-fetch:fetch",21 content: "extract via fetch with raw=false"22 },23 cache: {24 save: "store in Γ_search_cache",25 retrieve: "get from Γ_search_cache",26 clear: "reset Γ_search_cache"27 }28}29```3031## 🔒 Mode Restrictions32```33MΛ = {34 Ω₁: [search_*, fetch_*], # RESEARCH: full access35 Ω₂: [search_*, fetch_*], # INNOVATE: full access36 Ω₃: [search_*, fetch_*, cache_*], # PLAN: search + cache37 Ω₄: [], # EXECUTE: NO SEARCH (maintain focus!)38 Ω₅: [search_web, fetch_url] # REVIEW: verification only39}40```4142## 🔑 Permission Matrix43```44ℙΛ = {45 create: [Ω₃], # Only PLAN can cache46 read: [Ω₁, Ω₂, Ω₃, Ω₅], # No reading in EXECUTE47 update: [], # No updates48 delete: [Ω₃] # Only PLAN can clear cache49}50```5152## 📍 Context Tracking53```54Γ₁₀ = search_results[] = {55 query: string,56 results: [{title, url, snippet}],57 timestamp: ISO8601,58 mode: current_Ω59}6061Γ₁₁ = search_history[] = {62 queries: [string],63 counts: {per_mode: {Ω₁: n, Ω₂: n, ...}},64 last_search: timestamp65}6667Γ_search_cache = Map<query, results>68```6970## ⚡ Command Shortcuts71```72SΛ = {73 !ws: "brave_web_search",74 !wl: "brave_local_search",75 !wf: "fetch_url",76 !wc: "clear search cache",77 !wh: "show search history"78}79```8081## 🛡️ Protection Levels82```83ΨΛ = {84 fetch_url: Ψ₃, # INFO - external content85 clear_cache: Ψ₄ # DEBUG - cache management86}87```8889## 🔄 Mode-Specific Behaviors90```91apply_search_op(op, mode) = {92 check: mode === Ω₄ ? deny("No search in EXECUTE mode!") : continue,93 validate: op ∈ MΛ[mode] ? proceed : deny("Operation not allowed in " + mode),94 track: {95 add_to_history(Γ₁₁, op),96 store_results(Γ₁₀, results)97 },98 execute: Λ_ops[category][operation]()99}100```101102## 🎯 Search Focus Rules103```104search_focus = {105 Ω₁: "broad exploration allowed",106 Ω₂: "innovation-focused queries",107 Ω₃: "implementation-specific searches",108 Ω₄: "⛔ BLOCKED - maintain execution focus",109 Ω₅: "verification searches only"110}111```112113## 📊 Search Quotas114```115quotas = {116 per_session: {117 Ω₁: unlimited,118 Ω₂: 50,119 Ω₃: 20,120 Ω₄: 0,121 Ω₅: 10122 },123 rate_limit: "10 searches per minute"124}125```126127## 🔌 Feature Detection128```129detect_search() = {130 try: tools.find("@modelcontextprotocol-server-brave-search:*"),131 catch: warn("Brave Search MCP not available. Set BRAVE_SEARCH_API_KEY"),132 fallback: suggest("Get API key at https://brave.com/search/api/")133}134```135136## 🔗 Integration with Other Services137```138Λ×Θ = search_and_clone() = {139 1: Λ.search_web(query),140 2: extract_github_urls(results),141 3: Θ.clone_repository(selected_url)142}143```144
Also in johnpeterman72/CursorRIPER.sigma
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| johnpeterman72/CursorRIPER.sigma.cursor/rules/enterprise.mdc · 206 | Cursor rules | securitydeploymentdocs | 54/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/bmad-roles.mdc · 206 | Cursor rules | securitydeployment | 54/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/codeprotection.mdc · 206 | Cursor rules | do-notagent-behaviour | 55/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/cursorriper-sigma-mcp.mdc · 206 | Cursor rules | setuptestapideployment+2 | 76/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/mcp-docker.mdc · 206 | Cursor rules | securitydeployment | 54/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/mcp-filesystem.mdc · 206 | Cursor rules | performance | 48/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/mcp-github.mdc · 206 | Cursor rules | setupgitdeployment | 50/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/mcp-puppeteer.mdc · 206 | Cursor rules | testdeployment | 66/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/prd-system.mdc · 206 | Cursor rules | archdatabaseperformancedeployment | 58/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/quality-gates.mdc · 206 | Cursor rules | deployment | 54/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma-mcp.mdc · 206 | Cursor rules | setuptestdatabaseapi+3 | 55/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma1.mdc · 206 | Cursor rules | performance | 48/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma101codeprotect.mdc · 206 | Cursor rules | performance | 48/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma102.mdc · 206 | Cursor rules | performance | 48/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma103.mdc · 206 | Cursor rules | securityperformance | 40/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma104.mdc · 206 | Cursor rules | securityperformance | 40/100 | 3 days ago | |
| johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma105.mdc · 206 | Cursor rules | securityperformance | 40/100 | 3 days ago |
Diff against .cursor/rules/enterprise.mdc Diff against .cursor/rules/bmad-roles.mdc Diff against .cursor/rules/codeprotection.mdc Diff against .cursor/rules/cursorriper-sigma-mcp.mdc Diff against .cursor/rules/mcp-docker.mdc Diff against .cursor/rules/mcp-filesystem.mdc Diff against .cursor/rules/mcp-github.mdc Diff against .cursor/rules/mcp-puppeteer.mdc Diff against .cursor/rules/prd-system.mdc Diff against .cursor/rules/quality-gates.mdc Diff against .cursor/rules/ripersigma-mcp.mdc Diff against .cursor/rules/ripersigma1.mdc Diff against .cursor/rules/ripersigma101codeprotect.mdc Diff against .cursor/rules/ripersigma102.mdc Diff against .cursor/rules/ripersigma103.mdc Diff against .cursor/rules/ripersigma104.mdc Diff against .cursor/rules/ripersigma105.mdc
