RR MCP Server for .NET Analysis

MCPAI代理

提供方 RaRdq

AI代理 未标注 会话登录 社区 / 第三方 ClaudeCursorVS CodeCodex

RR MCP Server for AI agents for .NET Analysis

一句话选型结论

按资料字段整理

RR MCP Server for .NET Analysis 属于AI代理类 MCP 服务器,传输方式未标注,会话登录,可直接接入 Claude、Cursor、VS Code 等,没有现成安装命令,需按官方文档接入。接入前先确认权限范围;涉及写入、删除或付款的操作,建议先在测试环境验证。

分类AI代理 传输方式未标注 鉴权会话登录 部署方式未标注
GitHub 星标 未标注 仓库热度,无公开仓库时显示未标注
工具数 未标注 暴露给模型的工具数量
资源 / 提示词 0 / 0 资源与提示词模板数量
维护方 社区 / 第三方 核验等级 仅资料核对

工具与能力

AI代理
数量来自来源目录的标注,具体工具清单以官方文档为准
工具数量未标注暴露给模型可调用的工具个数
资源数量0可读取的资源条目
提示词数量0内置提示词模板数量

能力标签

支持客户端

适用场景

mathgptmath solvermath assistant

安装与配置

未标注 会话登录
上游未给出传输方式
  1. 1
    准备运行环境

    按官方文档确认运行环境(常见为 Node.js 或 Python),装好后再执行安装命令。

  2. 2
    安装服务

    复制上面的安装命令执行;命令里带占位符的位置,换成自己的密钥或路径。

  3. 3
    写入客户端配置

    在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4
    验证是否可用

    连接成功后随便调一个只读工具,确认能返回结果,再接入正式流程。

典型使用场景

3 类
按分类与标签整理的常见用法,具体以官方文档为准
给代理接外部能力

让代理在任务中途调用搜索、数据库等真实工具。

多步任务编排

把一串操作拆成步骤,由代理按顺序执行。

自动化重复流程

把固定流程交给代理跑,减少手工操作。

选择建议

选之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 已适配 Claude、Cursor、VS Code,换客户端不用重新研究配置。

先想清楚的地方

  • 没有现成安装命令,需要按官方文档自己填启动命令和参数。
  • 使用前要准备好会话登录对应的凭据,并按最小权限配置。
  • 资料没标注工具数量,实际能力要装好后确认。
  • 版本更新与行为细节以官方仓库为准。

更适合

  • 需要在AI代理场景里让模型直接调用外部能力的人。
  • 已经在用 Claude、Cursor 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地或自有环境跑服务的人。

不太适合

  • 不方便管理密钥或第三方授权的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
MCP 服务器工具数传输方式部署方式安装命令最后核验
RR MCP Server for .NET Analysis当前 未标注 未标注 未标注 无 未标注
Filesystem 560c4363 13 未标注 本地部署 无 2026-05-17
Server Everything (everything) 11 stdio · 本地进程 本地部署 有 2026-05-17
Time 7365cb6d 2 SSE · 服务端推送 远程部署 有 2026-05-18
Everything Claude Code 未标注 stdio · 本地进程 本地部署 有 2026-05-17
Openmemory 557e1585 未标注 stdio · 本地进程 本地部署 有 2026-05-17

服务器档案

AI代理
字段来自项目仓库与公开索引,中文说明由本站标注
提供方RaRdq上游标注的维护方 RaRdq
分类AI代理本站按上游分类展示
连接方式未标注上游未给出传输方式
鉴权方式会话登录远程服务建议用最小权限凭据
维护方社区 / 第三方核验等级 仅资料核对
包名 / 运行时未标注 · powershell本地安装时用到的包标识与运行时
部署类型未标注上游给出的部署形态
最近核验未标注上游最后核验时间

详细介绍

5.0 KB
来自项目仓库与上游目录的原文,未做删改

RR MCP Server for .NET Analysis

A generic MCP server for extracting .NET interface, OpenAPI, and data (models/entities/enums) information from any .NET solution using PowerShell scripts.
The goal is to provide AI with large project structure and abstraction w\o exposing the contents.

Will be updated with more tools for .Net solution AI management and automation.

Dependencies

  • ModelContextProtocol — Official C# SDK for Model Context Protocol servers and clients. GitHub

Features

  • Extracts Models, Entities, Enums, and Interfaces from any .NET solution
  • Gives AI agents full project structure/context to avoid redundant generation
  • Ready-to-use with Cursor, Copilot, Claude, or any MCP-compatible tool
  • Fast with caching, clean output (no stdout noise), full logging to files
  • Auto-discovers scripts, supports relative/absolute .sln paths
  • Cross-platform (Windows, macOS, Linux), requires PowerShell 7+

Output Format Examples

Data Tool (GetData)

  • Model/Entity:json { "n": "UserModel", "b": "BaseModel", "p": { "Id": "string", "Name": "string", "Age": "int" }, "prj": "My.Project.Namespace" }
  • Any class with *Entity suffix is included as an entity (no base class requirement).
  • Enum:json { "n": "StatusType", "m": { "Unknown": 0, "Active": 1, "Inactive": 2 }, "prj": "My.Project.Namespace" }

Interfaces Tool (GetInterfaces)

  • Interface:json { "n": "IMyService", "b": "IBaseService", "d": "Service for handling user operations.", "m": [ "Task DoWork(string arg);", { "s": "Task<int> GetCount();", "d": "Gets the count." } ], "prj": "My.Project" }
  • n: interface name
  • b: base interface (optional)
  • d: interface documentation (optional)
  • m: methods (string for signature, or object with doc)
  • prj: project name

Naming Conventions

  • Models: *Model
  • Entities: *Entity
  • Enums: *Type
  • Interfaces: I*Service, I*Repository, etc.

Manual Script Run (for cache warmup or debugging)

You can run the PowerShell scripts directly to pre-warm the cache or debug output. Run from the repo root or RR.MCP directory:

For interfaces:```sh
pwsh -File RR.MCP/GetInterfacesPwsh.ps1 -SolutionFile MySolution.sln


**For data (models/entities/types):**```sh
pwsh -File RR.MCP/GetDataPwsh.ps1 -SolutionFile MySolution.sln
  • On Windows, macOS, or Linux, ensure pwsh (PowerShell 7+) is in your PATH.
  • You can specify a different solution file if needed.
  • Output will be written to .cache/ and logs to mcp_debug.log/mcp_data_debug.log.

Requirements

  • .NET 9.0 SDK or later
  • PowerShell 7.0+ (pwsh must be set in PATH system variable)

Setup

  1. Clone and buildsh git clone cd RR.MCP dotnet build

  2. Configure your MCP client
    Add a stdio MCP server entry, e.g.:json { "mcpServers": { "rr-mcp": { "command": "dotnet", "args": ["run", "--project", "<absolute-path-to>/RR.MCP/RR.MCP.csproj"] } } }
    - The server will auto-register all available tools (interfaces, data, etc).

  3. Usage
    Simply add these rules for your agents to call the tools:
    - Call the GetInterfaces tool to extract interfaces/OpenAPI info.
    - Call the GetData tool to extract all Models, Entities, and Types (enums) with structure.
    - Pass the path to your .sln file as the solutionFile parameter (absolute or relative to the server working directory).

Logging & Debugging

  • All C# errors are logged to mcp_errors.log (in the output directory).
  • All PowerShell script activity and errors are logged to mcp_debug.log (interfaces) and mcp_data_debug.log (data) next to the script.
  • The PowerShell scripts will log and return an error if run with PowerShell < 7.

PowerShell Scripts

  • Scripts are always copied to the output directory and invoked with pwsh -File ....
  • They log all key steps, parameters, and errors.
  • They will fail gracefully and log if the solution file is not found or if no data is detected.
  • Caching is per-project and hash-based for fast repeated runs. (first run will be slow on big projects, you should manually run the scripts)

Customization

  • To adapt for other code analysis, edit GetInterfacesPwsh.ps1 or GetDataPwsh.ps1.
  • To add more tools, add new [McpServerTool] methods in the C# tool files.

Integration with Any AI IDE

  • This MCP server is fully generic and can be integrated with any AI IDE or tool that supports MCP stdio transport.
  • Tools are auto-discovered and described via OpenAPI for easy consumption.
  • No IDE-specific logic is present; all output is protocol-compliant.

Cursor Integration Example

If using Cursor, add the following to your .cursor/mcp.json:json { &quot;mcpServers&quot;: { &quot;rr-mcp&quot;: { &quot;command&quot;: &quot;dotnet&quot;, &quot;args&quot;: [&quot;run&quot;, &quot;--project&quot;, &quot;&lt;absolute-path-to&gt;/RR.MCP/RR.MCP.csproj&quot;] } } }

Contributing

  • PRs and issues welcome!
  • Please ensure all output is protocol-compliant and all logs go to file only.

License

MIT

常见问题

7 问
答案由本站依据条目字段整理,不引用上游原文
RR MCP Server for .NET Analysis 怎么安装?

资料没有给出安装命令,请到官方仓库或文档按说明接入;这类条目多数是生态应用,或尚未发布可安装包。

RR MCP Server for .NET Analysis 怎么在 Claude、Cursor、VS Code 里配置?

它的传输方式未标注,在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,配置才会生效。

RR MCP Server for .NET Analysis 收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

RR MCP Server for .NET Analysis 需要 API Key 吗?

资料标注需要会话登录认证,使用前准备好对应凭据,并按最小权限配置。

RR MCP Server for .NET Analysis 支持哪些客户端?

资料标注支持 Claude、Cursor、VS Code、Codex、Zed;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

RR MCP Server for .NET Analysis 能提供哪些能力?

资料显示能力标签包括 mathgpt、math solver、math assistant。具体工具清单以官方文档为准。

RR MCP Server for .NET Analysis 需要什么运行环境?

运行时为 powershell。

热门专题

按标签挑服务器
全部专题 →

服务器信息以作者仓库与官方文档为准;分类、传输方式与鉴权方式的中文说明为中文整理,最近核验 未标注。