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.
git clone --depth 1 https://github.com/VuDZ/RoslynMcpServerWrote 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/rules/vudz/roslynmcpserver/roslyn-mcp-overview)<a href="https://agentmods.dev/rules/vudz/roslynmcpserver/roslyn-mcp-overview"><img src="https://agentmods.dev/badge/rules/vudz/roslynmcpserver/roslyn-mcp-overview/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.
<a href="https://agentmods.dev/rules/vudz/roslynmcpserver/roslyn-mcp-overview"><img src="https://agentmods.dev/badge/rules/vudz/roslynmcpserver/roslyn-mcp-overview.svg" alt="Reviewed on agentmods" width="80" 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.01205 | $0.01205 |
| Opus 5 | $0.00602 | $0.00602 |
| Sonnet 5 | $0.00241 | $0.00241 |
| Haiku 4.5 | $0.00120 | $0.00120 |
Grade A, and why
roslyn-mcp-overview 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 2d 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 — 52 lines — stays where its author put it; the contents beside it link to each section on GitHub.
RoslynMcpServer overview
MCP server (stdio) for C# analysis: Roslyn workspaces + ILSpy decompile. TFM net10.0, version in RoslynMcpServer.csproj (currently 1.1.0). Package id SampleMcpServer. Self-contained publish for win/osx/linux RIDs.
Layout
Program.cs— MSBuild bootstrap, optionalROSLYN_MCP_WORKSPACE→ cwd, Serilog tologs/mcp-*.logunderAppContext.BaseDirectoryHosting/— DI (AddRoslynMcpServerTools),McpToolRegistryTools/— MCP tool classes (Workspace, CodeAnalysis, Skeleton, Build, Run, Test, NuGet, Utility, …)Services/—SolutionManager, decompile/resolve, DotNet CLI, healthDiagnostics/— parsers (build, VSTest, NuGet audit), SDK mismatch, MSBuild locatorRoslynMcpServer.Tests/— xUnit;InternalsVisibleTo- Docs:
README.md(EN+RU),AGENTS.md.sample(copy to app repos asAGENTS.md)
DI / tools
Tools are singletons registered in RoslynMcpServiceCollectionExtensions. Inject SolutionManager — do not new workspaces/HTTP. Heavy services via constructor.
Related consumer
Real-world validation often uses BrqMover (c:\Devel\BrqMover) — app repo with its own AGENTS.md; do not hardcode that path into this repo’s docs/rules.
Version history (agent-relevant)
- 1.1.0 — disk watcher: saved
.cs(IDE/git) sync into MSBuildWorkspace before symbol search; no keystroke/unsaved buffers;.csprojchanges skip load cache, not OpenSolutionAsync from the watcher - 1.0.35 — Roslyn 5.9.0; dedicated VS 2026 / MSBuild 18 BuildHost (
XMakeElements) load/symbol failure (not SDK mismatch) - 1.0.34 —
load_workspace: wrapped design-time MSBuild warnings (ASPDEPR007 / IncludeOpenAPIAnalyzers, MSB3270, analyzer metadata refs) are warnings, not hard Failure - 1.0.33 —
load_workspaceoptionaltargetFramework(inner TFM for CrossTargeting /TargetFrameworks); dedicated missing-Compileload report - 1.0.32 —
run_specific_test: VSTest Passed/Failed lines accept[1 s]/[1 m 28 s]durations (not onlyms) - 1.0.31 —
run_dotnet_test/run_specific_test: separate incrementaldotnet buildthendotnet test --no-build(parser sees test output only) - 1.0.30 —
apply_patchreplaceAll: advance past inserted text (hang when newString contains oldString) - 1.0.29 —
load_workspaceoptional Configuration/Platform (cached for build/test); empty-TFM ResolvePackageAssets dedicated fail - 1.0.28 —
run_dotnet_test: infer Passed when.slnxVSTest omits thePassed:line - 1.0.27 —
load_workspace: NU1701 / TFM-compat restore warnings soft (not fatal);Msbuild failedwrapper wordfailedis not blocking by itself - 1.0.26 — agent diagnostics: client-abort
load_workspace, emptyget_test_list,run_specific_testpath/filter mismatch hints - 1.0.25 —
run_dotnet_build: default--no-incremental; effective exit = last build step (restore cannot mask) - 1.0.22 —
run_specific_test: VSTest-safe method filters (~, no(), no bogus leading.on dotted FQNs) - 1.0.21 —
load_workspace: NuGet prune / unused PackageReference advisories soft (warnings), not hard Failure - 1.0.20 — optional
configuration(-c) onrun_dotnet_build/run_dotnet_test/run_specific_test - 1.0.19 —
.slnxaccepted byload_workspace/ build / test / discovery (prefer solution files for multi-config) - 1.0.18 — tool
[Description]accuracy pass (build probe, decompile resolve, NuGet timeouts, AST params) - 1.0.17 —
run_dotnet_test/run_specific_testoptionalnoBuild/noRestore - 1.0.15 —
search_codecaseSensitive; no-workspace candidate paths;rename_project; branding recipe in AGENTS - 1.0.14 —
run_dotnet_run,run_nuget_audit,get_changed_files, workspace health onload_workspace - 1.0.13 — exact assembly resolve (deps.json + NuGet), no fuzzy
Contains - 1.0.10+ — SDK pin from
global.json, build probe, VSTest parser,MCP_MSBUILD_SDK_MISMATCH
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.
- 2d ago First seen · 52 lines · 1,205 tokens per session scan A e4172684c8e5
roslyn-mcp-overview is a cursor rule published in the GitHub repository VuDZ/RoslynMcpServer (7 stars, last pushed yesterday), licensed MIT. It adds 1,205 tokens to every session, about $0.0060 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-09-14.
Other cursor rules, from other repositories
aspnet-abp-cursorrules-prompt-file
Cursor rules for Aspnet Abp.
python-app
Here's how the python application is organized.
typescript
Here's how frontend code is organized in web/app/.
pn-php-backend
PHP backend style, env, and error handling. Use for API and server code (Laravel, Slim).
pn-ruby-backend
Ruby backend style, env, and error handling. Use for API and server code (Rails, Sinatra).
pn-rust-backend
Rust backend style, env, and error handling. Use for API and server code (Actix-web, Axum).