Skip to content
Prompt

mcp — Cursor Rules

by 8bit-wraith

AI Summary

A Cursor IDE prompt booster providing structured Python API development guidelines, repository organization patterns, and best practices for building modular FastAPI servers with extensions. Teams and solo developers using Cursor will benefit from having consistent, opinionated code standards and project structure templates.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "mcp — Cursor Rules" prompt rules to my project.
Repository: https://github.com/8bit-wraith/mcp

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

Essential MCP to ATC (Awesome Tool Collection) Python Bridge

📐 Code Style and Structures

This outlines how we build structured perfection for [Project Name] with a Python-based API server, extensions, and more.

🖊️ **General Guidelines**:

• Keep code concise and technical while providing meaningful inline comments. • Use functional programming patterns and avoid unnecessary duplication. • Python APIs must follow clean modular design principles (don’t repeat yourself, even in error handling). • Use descriptive variable names throughout (e.g., is_valid_user, has_token_expired). ---

🗂️ Repository Structure and Organization

Here’s the shiny, revised structure focusing on Python APIs in server/: `bash server/ ├── src/ │ ├── api/ # RESTful API endpoints (FastAPI preferred) │ ├── models/ # ORM models (e.g., SQLAlchemy, Pydantic) │ ├── schemas/ # Input/output validation schemas (e.g., Pydantic) │ ├── services/ # Business logic and service layer │ ├── utils/ # Reusable helper functions │ ├── middleware/ # Custom FastAPI middleware │ ├── tests/ # Unit and integration tests │ └── __init__.py # Make folders Python modules extension/ ├── src/ │ ├── background/ │ ├── content/ │ ├── popup/ │ ├── options/ │ ├── components/ │ ├── hooks/ │ ├── utils/ │ ├── lib/ │ ├── types/ │ └── storage/ shared/ ├── src/ │ ├── types/ # Shared TypeScript types │ └── utils/ # Shared utilities (e.g., date formatting) ` 👀 Important: Add .venv to .gitignore (we don’t want Hue accidentally version-controlling the virtual environment)! A sample .gitignore for Python: `gitignore

Ignore common Python artifacts

*.pyc __pycache__/ ` ---

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 1y ago
Dead
AdoptionUnder 100 stars
5 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Stars5
Forks3
Issues2
Updated1y ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more