canvas-mcp: Instructions file for Claude Code

CLAUDE.md

canvas-mcp CLAUDE.md is an instructions file for Claude Code from vishalsachdev/canvas-mcp. It costs 2,926 tokens per session, scanned A, original, MIT.

A repository guide for developers working on Canvas MCP, a server that connects AI tools to Canvas. It explains setup, commands, configuration, and the project’s folder structure.

In plain words
What is it for?
Use it when developing or troubleshooting Canvas MCP, including setting environment variables, starting the server, running tests, and finding its main components.
Why use it?
It gives coding agents the project-specific instructions needed to install, test, configure, and navigate the codebase correctly.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Codex.

This is vishalsachdev/canvas-mcp's own configuration. It tells Claude Code how to work on canvas-mcp 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 canvas-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to vishalsachdev/canvas-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.

Copy the file
curl -O https://raw.githubusercontent.com/vishalsachdev/canvas-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/vishalsachdev/canvas-mcp

Made for: Claude Code.

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 canvas-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/vishalsachdev/canvas-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/vishalsachdev/canvas-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/vishalsachdev/canvas-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/vishalsachdev/canvas-mcp/claude-md/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 canvas-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/vishalsachdev/canvas-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/vishalsachdev/canvas-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,926 This file is loaded in full into every session.
When invoked 2,926 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.02926 $0.02926
Opus 5.5 $0.01170 $0.01170
Sonnet 5.5 $0.00585 $0.00585
Haiku 4.5 $0.00293 $0.00293

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

Security

Grade A, and why

canvas-mcp CLAUDE.md 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 10d 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.

CLAUDE.md · 86 lines

How it starts

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

CLAUDE.md

Guidance for developing the Canvas MCP server. Agents using the server: see AGENTS.md. Design: internal/architecture.md. Long-form rules and the reasons behind them: internal/dev-reference.md. Completed work: internal/project-history.md, CHANGELOG.md. Codex reads AGENTS.md, not this file; its "Developing this server" section points here, so keep development rules in this file only. Paths, flags, symbols and issue states below were checked on 2026-09-30.

Commands

  • Install uv pip install -e .; run canvas-mcp-server (--test, --config); .env holds CANVAS_API_TOKEN and CANVAS_API_URL.
  • Before committing: uv run python -m pytest tests/ -v -rf. TypeScript changes: npm test and npm run build.

Git Workflow - ASK FIRST

  • Before a feature or significant change, ask: feature branch or main? Defaults: new tool feature/, bug fix/, docs or typo may go straight to main. Prefixes: feature/, fix/, docs/, refactor/.
  • The primary checkout stays on main, clean and read-only. One PR = one sibling worktree canvas-mcp-<slug> from origin/main; never reuse it for another issue; remove it and the branch (local and remote) after merge.
  • After a sibling PR merges, rebase surviving worktree branches and rerun tests. Before tagging, run the suite in the primary checkout on the merged commit (its .env sets a token that worktrees and CI lack).
  • main requires a PR plus test-enhancements and lint; the admin can bypass the review requirement.
  • Run ./scripts/install-hooks.sh once per clone. fixes|closes|resolves #N mid-sentence in a commit or PR body closes the issue on merge: rephrase (closed [issue 172]) or set ALLOW_CLOSING_KEYWORD=1. A trailer that opens a line (Closes #173) is allowed.
  • Release steps and publish-race fixes: internal/release-checklist.md. Breaking changes need a minor bump.

Read the full file on GitHub · 86 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. 10d ago Changed · -2 lines · -219 tokens per session d446cc0b2867
  2. 10d ago Changed · +67 tokens per session 03068f896ed7
  3. 12d ago Changed · +4 lines · +287 tokens per session ebec87bf8c10
  4. 13d ago Changed · +113 tokens per session 5d43caebe428
  5. 14d ago Changed · +2 lines · +380 tokens per session b16582809b67
  6. 16d ago Changed · -15 tokens per session 8e3ab01cada0
  7. 18d ago Changed · -1 lines · -29 tokens per session scan B → A b4bc1a4867f4
  8. 20d ago Changed · -1 lines · -215 tokens per session scan A → B aef1f9baaaa0
  9. 29d ago Changed · +2 lines · +296 tokens per session c4c6f6600879
  10. 1mo ago First seen · 82 lines · 2,261 tokens per session scan A d35753b558c2

Subscribe to this mod's changes

canvas-mcp CLAUDE.md is an instructions file published in the GitHub repository vishalsachdev/canvas-mcp (317 stars, last pushed yesterday), licensed MIT. It adds 2,926 tokens to every session, about $0.0117 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

canvas-mcp CLAUDE.md compared with instructions from other repositories

canvas-mcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
canvas-mcp CLAUDE.mdvishalsachdev/canvas-mcpInstructions file317yesterdayMITA2,926Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode