project-architecture

project-architecture is a cursor rule for Cursor from ekakit/lightfast-mcp. It costs 494 tokens per session, scanned A, original, MIT.

A set of rules for how the Lightfast MCP project arranges its source code, shared utilities, server implementations, and command-line entry points.

In plain words
What is it for?
Organising MCP servers, development tools, shared code, configuration, and command-line programs in the Lightfast project.
Why use it?
It gives contributors a consistent place for each kind of file, making the project easier to navigate and extend.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Organising MCP servers, development tools, shared code, configuration, and command-line programs in the Lightfast project.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/ekakit/lightfast-mcp/project-architecture
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.

Clone the repo
git clone --depth 1 https://github.com/ekakit/lightfast-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 project-architecture

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/ekakit/lightfast-mcp/project-architecture"><img src="https://agentmods.dev/badge/rules/ekakit/lightfast-mcp/project-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 494 This file is loaded in full into every session.
When invoked 494 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.00494 $0.00494
Opus 5.5 $0.00198 $0.00198
Sonnet 5.5 $0.00099 $0.00099
Haiku 4.5 $0.00049 $0.00049

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

Security

Grade A, and why

project-architecture 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.

.cursor/rules/project-architecture.mdc · 50 lines

What it actually says

Project Architecture

Core Structure

src/lightfast_mcp/          # Core MCP server implementations
├── core/                   # Base classes (BaseServer, ServerConfig), shared server utilities
├── servers/                # MCP server implementations
│   ├── blender/            # Blender MCP server
│   │   ├── server.py
│   │   └── __init__.py
│   ├── mock/               # Mock MCP server for testing
│   │   ├── server.py
│   │   ├── tools.py
│   │   └── __init__.py
│   ├── blender_mcp_server.py  # Blender server entry point script
│   └── mock_mcp_server.py     # Mock server entry point script
└── utils/                  # Shared utilities for MCP servers (e.g., logging)

src/tools/                  # Development and orchestration tools
├── orchestration/          # Multi-server orchestration (ServerOrchestrator, ServerRegistry, ConfigLoader)
├── ai/                     # AI integration tools (ConversationClient, AI providers)
├── common/                 # Common utilities specific to the tools package
└── __init__.py             # Tools package exports

Entry Points

  • lightfast-mcp-orchestrator: Main CLI for orchestrating multiple servers
  • lightfast-blender-server: Direct Blender server entry point
  • lightfast-mock-server: Direct mock server entry point

File Patterns

  • servers/{app}_mcp_server.py: Entry point scripts
  • servers/{app}/server.py: Main server implementation
  • servers/{app}/tools.py: Tool implementations
  • servers/{app}/resources.py: Resource implementations (if applicable)
  • config/servers.yaml: Server configuration
  • tests/unit/test_{module}.py: Unit tests
  • tests/integration/test_{feature}.py: Integration tests
  • tests/e2e/test_{workflow}.py: End-to-end tests

Configuration Files

  • .cursor/mcp.json: Cursor MCP integration config
  • pyproject.toml: Project configuration and dependencies
  • config/servers.yaml: Server configuration
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 · 50 lines · 494 tokens per session scan A 11d650f870ff

Subscribe to this mod's changes

project-architecture is a cursor rule published in the GitHub repository ekakit/lightfast-mcp (2 stars, last pushed 1y ago), licensed MIT. It adds 494 tokens to every session, about $0.0020 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.