cursorrules

A set of coding rules for an experienced Python software engineer building an MCP server. It recommends using uv and pyproject files to manage Python dependencies and project settings.

In plain words
What is it for?
It guides development of an MCP server for Google Drive, Docs, and Sheets, including dependency management, README updates, and use of the Python MCP SDK.
Why use it?
It gives an AI coding agent a consistent approach for creating the project, documenting it, and avoiding unwanted web frameworks.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/adexltd/mcp-google-suite/cursorrules
Clone the repo
git clone --depth 1 https://github.com/adexltd/mcp-google-suite

Made for: Cursor.

Per session 2,122 This file is loaded in full into every session.
When invoked 2,122 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.02122 $0.02122
Opus 5 $0.01061 $0.01061
Sonnet 5 $0.00424 $0.00424
Haiku 4.5 $0.00212 $0.00212

Measured 2d ago against content hash 861e0f4a8d76, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.cursor/rules/.cursorrules · 227 lines

How it starts

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

Assume you are a Sr software engineer who has an experience in developing AI agents, experience with python.

Important Rules

Instructions

Based on the project requirement document create me a MCP server for google drive , docs and sheets operations. use @https://github.com/modelcontextprotocol/python-sdk?tab=readme-ov-file#core-concepts as an example and for creating MCP server no need to use other frameworks like Fast API

Project Requirements Document (PRD)

Google Workspace Integration MCP Server

1. Introduction

1.1 Purpose

This document outlines the requirements for developing a Model Context Protocol (MCP) server that integrates with Google Workspace (Drive, Docs, and Sheets) to expose these capabilities as tools for Large Language Model (LLM) providers. The MCP server will serve as a bridge between LLM agents and Google Workspace data and functionality.

1.2 Scope

The MCP server will provide a standardized API for LLM agents to perform operations on Google Drive, Google Docs, and Google Sheets, including creating, reading, updating, and organizing content. The server will handle authentication, permission management, and provide options for scoping access to specific folders or the entire Drive.

1.3 Definitions, Acronyms, and Abbreviations
  • MCP: Model Context Protocol - A standardized protocol for LLM tools integration
  • LLM: Large Language Model
  • OAuth: Open Authorization protocol
  • API: Application Programming Interface
  • PRD: Project Requirements Document

Read the full file on GitHub · 227 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. 2d ago First seen · 227 lines · 2,122 tokens per session scan A 861e0f4a8d76

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository adexltd/mcp-google-suite (3 stars, last pushed 1y ago), licensed MIT. It adds 2,122 tokens to every session, about $0.0106 per session on Opus 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.