rvt-mcp AGENTS.md

rvt-mcp AGENTS.md is an instructions file for Codex, OpenCode from bimwright/rvt-mcp. It costs 3,721 tokens per session, scanned A, original, Apache-2.0.

Installation instructions for rvt-mcp, a bridge that lets AI coding agents work with Autodesk Revit, a program for building design and construction models.

In plain words
What is it for?
Use them to install the Revit add-in, connect supported MCP clients to it, check the connection, and undo the setup if it fails.
Why use it?
They describe the required Revit versions, correct release to install, client setup, verification, and rollback steps, reducing configuration mistakes.

Instructions file for CodexOpenCode

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 instructions/bimwright/rvt-mcp/agents-md
Clone the repo
git clone --depth 1 https://github.com/bimwright/rvt-mcp

Made for: Codex, OpenCode.

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 rvt-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/bimwright/rvt-mcp/agents-md.svg)](https://agentmods.dev/instructions/bimwright/rvt-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/bimwright/rvt-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/bimwright/rvt-mcp/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,721 This file is loaded in full into every session.
When invoked 3,721 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.03721 $0.03721
Opus 5 $0.01861 $0.01861
Sonnet 5 $0.00744 $0.00744
Haiku 4.5 $0.00372 $0.00372

Measured 4d ago against content hash ca61d7d7ce83, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

rvt-mcp AGENTS.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 4d 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.

AGENTS.md · 319 lines

How it starts

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

AGENTS.md — rvt-mcp install guide for AI agents

This file is machine-readable install instructions for AI coding agents (Claude Code, Cursor, Cline, VS Code Copilot, Gemini CLI, Antigravity, OpenCode, Codex, and any other stdio MCP client). A user pointed you here because they want rvt-mcp (a Revit MCP server) wired up without hand-editing config files themselves.

What you can do:

  • Install the client setup ZIP from GitHub Releases (RvtMcp.Setup-*-win-x64.zip).
  • Deploy the bundled plugin into %APPDATA%\Autodesk\Revit\Addins\<year>\ for every installed Revit year.
  • Wire supported MCP hosts with the bundled self-contained server executable.
  • Verify the handshake and roll back on failure.

Current status — 2026-08-28: latest published release is v0.6.1. Use /repos/bimwright/rvt-mcp/releases/latest. Do not install v0.5.0 or earlier tags.

What you cannot do:

  • Install Revit, manage Revit licensing, or launch Revit for the first time. If Revit 2022–2027 is not installed, stop and tell the user.
  • Install from unpublished/old tags or old RvtMcp.Setup-*.zip URLs for v0.5.0 and earlier.
  • Use NuGet as the client installer. Bimwright.Rvt.Server (0.1–0.3) is obsolete. RvtMcp.Server is server-only (no Revit add-in). Only run dotnet tool install -g RvtMcp.Server if the user explicitly asked for a global .NET tool and plugins are already installed from the GitHub Release ZIP.
  • Install the .NET 8 SDK, clone the repo, restore NuGet packages, or build source for a client install. If the user did not explicitly ask for a developer setup, use the GitHub Release ZIP only.

Rules for agents

Read these before touching anything. They exist so rvt-mcp stays predictable, auditable, and reversible.

  1. Preview every change. Use -WhatIf, --dry-run, or a printed diff before any write. Tell the user the exact file path and the exact change.
  2. Install from the latest GitHub Release ZIP only for a Revit client machine. Do not fall back to dotnet tool install, v0.5.0 or earlier tags, source build, or repo clone unless the user explicitly asks for developer installation. If they explicitly asked for the NuGet global tool: RvtMcp.Server 0.6.1+, never Bimwright.Rvt.Server, and they still need the ZIP for plugins.
  3. Two explicit approval gates — do not collapse without the user saying so:
    • Before running install.ps1 without -WhatIf.
    • Before editing any MCP host config file outside the setup installer's own preview/apply flow.
  4. Never bypass the Revit undo stack at runtime. rvt-mcp's design guarantee is that every edit is reviewable and reversible. Don't advise users to work around transaction wrapping or disable batch_execute safety.
  5. On any failure, offer rollback. Config edits are auto-backed up to <file>.bimwright.bak. The full stack comes off with the bundled uninstall.ps1 -Yes.
  6. Verify before claiming done. After wiring, run tools/list in the host and confirm the single rvt-mcp entry responds, then call get_current_view_info with no args.

Read the full file on GitHub · 319 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. 4d ago First seen · 319 lines · 3,721 tokens per session scan A ca61d7d7ce83

Subscribe to this mod's changes

rvt-mcp AGENTS.md is an instructions file published in the GitHub repository bimwright/rvt-mcp (19 stars, last pushed 6d ago), licensed Apache-2.0. It adds 3,721 tokens to every session, about $0.0186 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-30.