quip-mcp: Cursor rule for Cursor

.cursorrules

cursorrules is a cursor rule for Cursor from bug-breeder/quip-mcp. It costs 1,892 tokens per session, scanned A, original, MIT.

A set of coding rules for building a Go server that connects Quip, a collaborative document app, to the Model Context Protocol (MCP), a standard for connecting AI assistants to tools.

In plain words
What is it for?
Use it when developing or reviewing the Go-based Quip MCP server and deciding how to organize packages, functions, tests, and error handling.
Why use it?
It gives the project consistent expectations for testing, structure, naming, errors, security, performance, and documentation. Test-driven development (TDD) means writing tests before the code they check.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

This is bug-breeder/quip-mcp's own configuration. It tells Cursor how to work on quip-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything quip-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to bug-breeder/quip-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.

Copy the file
curl -O https://raw.githubusercontent.com/bug-breeder/quip-mcp/main/.cursorrules
Clone the repo
git clone --depth 1 https://github.com/bug-breeder/quip-mcp

Made for: Cursor.

Wrote 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.

agentmods badge for cursorrules

README.md
[![agentmods](https://agentmods.dev/badge/rules/bug-breeder/quip-mcp/cursorrules/github.svg)](https://agentmods.dev/rules/bug-breeder/quip-mcp/cursorrules)
Your own site
<a href="https://agentmods.dev/rules/bug-breeder/quip-mcp/cursorrules"><img src="https://agentmods.dev/badge/rules/bug-breeder/quip-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.

agentmods 80×15 button for cursorrules

Your own site · 80×15
<a href="https://agentmods.dev/rules/bug-breeder/quip-mcp/cursorrules"><img src="https://agentmods.dev/badge/rules/bug-breeder/quip-mcp/cursorrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,892 This file is loaded in full into every session.
When invoked 1,892 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.01892 $0.01892
Opus 5.5 $0.00757 $0.00757
Sonnet 5.5 $0.00378 $0.00378
Haiku 4.5 $0.00189 $0.00189

Measured 2mo ago against content hash cbfc2151ec5f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

.cursorrules · 278 lines

How it starts

The opening of the file, as written. The whole thing — 278 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Quip MCP Server - Cursor Development Rules

You are an expert Go developer working on a Model Context Protocol (MCP) server for Quip integration. Follow these comprehensive guidelines to ensure code quality, maintainability, and reliability.

Development Philosophy

  • Test-Driven Development (TDD): Write tests BEFORE implementing functionality
  • SOLID Principles: Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion
  • Clean Code: Write self-documenting, readable, and maintainable code
  • Performance & Security: Optimize for both performance and security from the start
  • Documentation: Code should be self-documenting with comprehensive comments for complex logic

Go-Specific Best Practices

Code Structure & Organization

  • Use clear, descriptive package names that reflect their purpose
  • Group related functionality into appropriate packages (pkg/quip, pkg/server, pkg/config)
  • Follow Go naming conventions: PascalCase for exported, camelCase for unexported
  • Use meaningful variable and function names that explain intent
  • Keep functions small and focused on a single responsibility

Error Handling

  • Always handle errors explicitly using Go's idiomatic error handling
  • Wrap errors with context using fmt.Errorf("context: %w", err)
  • Use typed errors for domain-specific error handling
  • Log errors at appropriate levels with structured logging
  • Return early on errors (guard clauses)

HTTP & API Integration

  • Use context.Context for all HTTP requests with appropriate timeouts
  • Implement proper request/response body handling with defer close
  • Use structured logging for API requests and responses
  • Implement retry logic with exponential backoff for transient failures
  • Validate all inputs and sanitize outputs

Concurrency & Performance

  • Use goroutines and channels appropriately for concurrent operations
  • Implement proper synchronization with mutexes when needed
  • Use buffered channels to prevent goroutine leaks
  • Profile and benchmark performance-critical code paths

Read the full file on GitHub · 278 lines

Changes

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.

  1. 2mo ago First seen · 278 lines · 1,892 tokens per session scan A cbfc2151ec5f

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository bug-breeder/quip-mcp (2 stars, last pushed 1y ago), licensed MIT. It adds 1,892 tokens to every session, about $0.0076 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.

Related

cursorrules compared with cursor rules from other repositories

cursorrules next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cursorrulesbug-breeder/quip-mcpCursor rule21y agoMITA1,892Cursor
globalFreePeak/db-mcp-serverCursor rule47920d agoMITA289Cursor
code-styleEvilFreelancer/zaezdCursor rule12mo agoMITA860Cursor
zz_generated.go-llm-rulesgiantswarm/mcp-debugCursor rule38yesterdayApache-2.0A342Cursor
python-code-validatorjkanselaar/python-code-validatorCursor rule02mo agoMITA329Cursor
go-developmentmadebyaris/rakitui-aiCursor rule59mo agoMITA0Cursor
zz_generated.go-llm-rulesgiantswarm/mcp-prometheusCursor rule11yesterdayApache-2.0A342Cursor