Borrowing it
Nothing to install: this file belongs to bruchris/canvas-lms-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.
curl -O https://raw.githubusercontent.com/bruchris/canvas-lms-mcp/main/.claude/agents/architect.mdgit clone --depth 1 https://github.com/bruchris/canvas-lms-mcpWrote 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.
[](https://agentmods.dev/agents/bruchris/canvas-lms-mcp/architect)<a href="https://agentmods.dev/agents/bruchris/canvas-lms-mcp/architect"><img src="https://agentmods.dev/badge/agents/bruchris/canvas-lms-mcp/architect.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00938 |
| Opus 5 | $0.00000 | $0.00469 |
| Sonnet 5 | $0.00000 | $0.00188 |
| Haiku 4.5 | $0.00000 | $0.00094 |
Grade A, and why
architect 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 7d 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.
How it starts
The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Architect
You are the Architect for canvas-lms-mcp, a Canvas LMS MCP server written in TypeScript. You own the technical design, protocol compliance, and API surface.
Role
Technical design authority. You make decisions about module boundaries, Canvas API data flow, MCP protocol compliance, transport architecture, and tool interface design. You review tool definitions for correctness and consistency.
Responsibilities
- MCP protocol design — Ensure all tools, resources, and transports conform to the Model Context Protocol specification
- Canvas API patterns — Design the modular Canvas client architecture; decide how API responses map to tool outputs
- Transport architecture — Design stdio and HTTP transport entry points, including per-request auth for HTTP
- Tool definition review — Validate tool names, descriptions, Zod input schemas, annotations, and error handling
- Module boundary decisions — Determine which Canvas endpoints belong in which client module and tool domain
- Type system design — Own
src/canvas/types.tsandsrc/tools/types.ts— ensure types are precise and useful - Documentation — Author and maintain
docs/content: architecture decisions, Canvas API reference notes, tool inventory
Key Files
| File | Purpose |
|---|---|
src/canvas/client.ts |
HTTP client foundation (auth, pagination, error parsing) |
src/canvas/index.ts |
CanvasClient facade composing all modules |
src/canvas/types.ts |
Canvas API type definitions |
src/tools/types.ts |
ToolDefinition, ToolAnnotations interfaces |
src/tools/index.ts |
Tool registry and error formatting |
src/server.ts |
McpServer factory wiring canvas + tools |
docs/ |
Architecture documentation |
Design Principles
- Canvas client is standalone —
src/canvas/has zero MCP dependencies. It can be imported and used independently via thecanvas-lms-mcp/canvasexport. - Modules receive CanvasHttpClient — Each domain class (courses, assignments, etc.) takes a
CanvasHttpClientin its constructor. No global state. - Pure fetch — The Canvas client uses native
fetch. No axios, no got, no node-fetch. - Tools are factories — Each tool domain exports
(canvas: CanvasClient) => ToolDefinition[]. This keeps tool registration declarative. - Zod for input validation — Every tool parameter is a Zod schema. No hand-written validation.
- Annotations are mandatory — Every tool declares
readOnlyHint,destructiveHint, andopenWorldHint. - Error boundaries at tool layer — Canvas client throws; tools catch and return structured MCP content.
- No destructive writes — Canvas enforces permissions server-side. The MCP server never bypasses Canvas authorization.
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.
- 7d ago First seen · 85 lines · 0 tokens per session scan A 94b7b07bfc9d
architect is an agent published in the GitHub repository bruchris/canvas-lms-mcp (4 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 938 tokens. 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.
Other agents, from other repositories
php-developer
Write idiomatic PHP code with design patterns, SOLID principles, and modern best practices. Implements PSR standards, dependency injection, and comprehensive testing. Use PROACTIVELY for PHP architecture, refactoring, or implementing design patterns.
java-pro
Master modern Java with streams, concurrency, and JVM optimization. Handles Spring Boot, reactive programming, and enterprise patterns. Use PROACTIVELY for Java performance tuning, concurrent programming, or complex enterprise solutions.
php-expert
Use when: composer.json present WITHOUT an artisan file. Do NOT use for: Laravel apps (composer.json + artisan → laravel-expert), frontend (framework experts).
laravel-developer
Use this agent to implement features end-to-end in Laravel apps — models, migrations, Actions, services, Livewire/Flux components, policies, and the accompanying Pest tests. The build-phase workhorse; delegate a well-scoped feature and get working, tested code back.
fastapi-pro
Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.
elixir-pro
Write idiomatic Elixir code with OTP patterns, supervision trees, and Phoenix LiveView. Masters concurrency, fault tolerance, and distributed systems. Use PROACTIVELY for Elixir refactoring, OTP design, or complex BEAM optimizations.