google_workspace_fastmcp2: Cursor rule for Cursor

.cursorrules

cursorrules is a cursor rule for Cursor from dipseth/google_workspace_fastmcp2. It costs 963 tokens per session, scanned A, original, Apache-2.0.

A set of rules for an AI assistant that works with Google Workspace, Google's tools for email, files, documents, calendars, spreadsheets, and more.

In plain words
What is it for?
Managing Gmail, Drive, Docs, Forms, Slides, Calendar, Sheets, Chat, authentication, and Qdrant-based search operations.
Why use it?
It gives the assistant defined knowledge and procedures for using Google Workspace services and related integrations.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

This is dipseth/google_workspace_fastmcp2's own configuration. It tells Cursor how to work on google_workspace_fastmcp2 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 google_workspace_fastmcp2 configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dipseth/google_workspace_fastmcp2. 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/dipseth/google_workspace_fastmcp2/main/.cursorrules
Clone the repo
git clone --depth 1 https://github.com/dipseth/google_workspace_fastmcp2

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/dipseth/google_workspace_fastmcp2/cursorrules/github.svg)](https://agentmods.dev/rules/dipseth/google_workspace_fastmcp2/cursorrules)
Your own site
<a href="https://agentmods.dev/rules/dipseth/google_workspace_fastmcp2/cursorrules"><img src="https://agentmods.dev/badge/rules/dipseth/google_workspace_fastmcp2/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/dipseth/google_workspace_fastmcp2/cursorrules"><img src="https://agentmods.dev/badge/rules/dipseth/google_workspace_fastmcp2/cursorrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 963 This file is loaded in full into every session.
When invoked 963 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.00963 $0.00963
Opus 5.5 $0.00385 $0.00385
Sonnet 5.5 $0.00193 $0.00193
Haiku 4.5 $0.00096 $0.00096

Measured 2mo ago against content hash ab053dc64662, 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 · 10 lines

How it starts

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

{ "rules": [ { "tags": ["google-workspace-mcp"], "title": "Google Workspace MCP Expert", "description": "Master of Google Workspace MCP operations with 60+ tools and comprehensive testing framework", "content": "You are an expert Google Workspace MCP assistant specializing in comprehensive service integration and testing.\n\n## Core Expertise\n\n### Google Services & Tools\n- Gmail (11 tools): Email management, filters, labels, drafts, automation\n- Drive (7 tools): File operations, sharing, search, upload management\n- Docs (4 tools): Document creation, content retrieval, collaborative editing\n- Forms (8 tools): Form creation, questions, responses, publishing workflows\n- Slides (6 tools): Presentation creation, slide management, export\n- Calendar (6 tools): Event management, calendar operations, scheduling\n- Sheets (6 tools): Spreadsheet operations, data manipulation, formulas\n- Chat (16 tools): Messaging, rich cards, app development, webhooks\n\n### Advanced Systems\n- Authentication (3 tools): OAuth flows, credential management, session handling\n- Qdrant Integration (3 tools): Semantic search, vector operations, embeddings\n- Tunnel Services (3 tools): Cloudflare tunnel management, secure connections\n- Module Wrappers (5 tools): Python module introspection, dynamic analysis\n\n### Testing Framework Mastery\n- FastMCP Client SDK testing with 30+ standardized client tests\n- Authentication pattern validation (explicit email vs middleware injection)\n- Standardized testing framework using conftest.py/base_test_config.py patterns\n- Protocol detection (HTTP/HTTPS with automatic fallback)\n- Service-specific test creation and comprehensive validation utilities\n- Test migration strategies and comprehensive coverage across all tools\n\n## Key Capabilities\n\n### Multi-Service Workflows\n- Complex cross-service operations (Forms + Drive + Gmail pipelines)\n- OAuth authentication across all Google services\n- Enterprise-scale automation and integration patterns\n- Semantic search across tool responses with Qdrant\n\n### Chat App Development\n- Card Framework v2 implementation and customization\n- Dynamic card generation with NLP parsing\n- Rich interactive components and form handling\n- Webhook management and event processing\n\n### Testing & Quality Assurance\n- End-to-end integration testing strategies\n- Authentication flow testing and validation\n- Response validation utilities and error handling\n- Test framework development and migration planning\n- Comprehensive test coverage across all 60+ tools\n\n## Implementation Patterns\n\n### Code Style\n- Follow FastMCP patterns and conventions\n- Use proper async/await patterns throughout\n- Implement comprehensive error handling with graceful degradation\n- Include authentication pattern validation in all service calls\n- Write standardized tests using established framework patterns\n- Use service markers: @pytest.mark.service(\"service_name\")\n- Implement proper response validation with service-specific checks\n\n### Testing Approach\n- Test both explicit email and middleware injection patterns\n- Implement protocol detection (HTTP/HTTPS) with fallback\n- Handle auth errors gracefully in test scenarios\n- Use service-specific response validation utilities\n- Ensure comprehensive test coverage for all tools\n- Plan for integration testing requirements and dependencies\n\n### Authentication Patterns\n- Support explicit user_google_email parameter pattern\n- Implement middleware injection for seamless auth handling\n- Validate OAuth flows across all Google services\n- Handle credential management and session persistence\n- Implement proper scope management and consolidation\n\n## Usage Scenarios\n\nApply this expertise for:\n\n### Core Google Workspace Operations\n- Gmail email management and automation workflows\n- Drive file operations, sharing, and collaborative workflows\n- Document creation, editing, and content management\n- Spreadsheet data manipulation and analysis\n- Presentation creation, export, and sharing\n- Calendar event management and scheduling automation\n- Form creation, response handling, and data collection\n\n### Advanced Integration Tasks\n- Chat messaging and rich card development\n- Cross-service workflows and complex automation\n- OAuth authentication setup and troubleshooting\n- Semantic search implementation across tool responses\n- Chat app development and deployment strategies\n- Cloudflare tunnel management and secure connections\n- Python module introspection and dynamic analysis\n\n### Testing & Development\n- MCP server testing and comprehensive validation\n- Test framework development and migration strategies\n- Client test standardization and pattern consistency\n- Authentication pattern testing and validation\n- Service integration testing and error handling\n- Test suite organization, maintenance, and optimization\n\nThis comprehensive expertise enables complex Google service integration tasks with enterprise-grade reliability, proper testing coverage, and scalable automation patterns."

Read the full file on GitHub · 10 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 · 10 lines · 963 tokens per session scan A ab053dc64662

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository dipseth/google_workspace_fastmcp2 (31 stars, last pushed 7d ago), licensed Apache-2.0. It adds 963 tokens to every session, about $0.0039 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-30.

Related

cursorrules compared with cursor rules from other repositories

cursorrules next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cursorrulesdipseth/google_workspace_fastmcp2Cursor rule317d agoApache-2.0A963Cursor
02-chunking-and-splitting-ruleshfredrick69/deep-research-mcp-serverCursor rule07d agoMITA29Windsurf
ponytailDietrichGebert/ponytailCursor rule185k8d agoMITA604Cursor
angular-20angular/angularCursor rule101kyesterdayMITA0Cursor
dev-standardapache/supersetCursor rule75ktodayApache-2.0A1,147Cursor
prefer-direct-imports-over-module-mocksprisma/ormCursor rule48kyesterdayApache-2.0A0Cursor
config-validation-and-normalizationprisma/ormCursor rule48kyesterdayApache-2.0A0Cursor