Token导航 LogoToken导航TokenDH.com
csharpdllmetadataextractor logo
数据服务未说明官方级别未说明来源级核验

csharpdllmetadataextractor

MCP Server

DllMetadataExtractor是一个.NET工具,用于从.NET程序集文件(.dll)中提取完整的公共API信息,包括类、方法、属性、签名和XML文档注释,并以JSON格式返回结果。

工具数

1

提示词数

0

GitHub Stars

0

资源数

0
C#数据分析API集成

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

Reekin

提供方

Reekin

最后核验

2026/5/17 20:23

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

简体中文

DllMetadataExtractor

DllMetadataExtractor is a .NET tool designed to extract complete public API information from .NET assembly files (.dll).

It can parse detailed metadata including classes, methods, properties, signatures, and XML documentation comments, returning the result as a JSON string.

The primary use case for this tool is to provide an accurate, real-time library API definition for AI or other development tools, thereby helping to analyze and correct code, especially when API calls fail or usage is unclear.

✨ Features

  • Complete API Extraction: Extracts classes, methods, properties, events, fields, and their signatures.
  • XML Documentation Support: If a corresponding .xml documentation file exists alongside the .dll file, the tool will automatically parse and include the XML comments.
  • JSON Output: Outputs metadata in a structured JSON format for easy programmatic parsing.
  • MCP Server: Runs as an MCP (Model Context Protocol) server, allowing for easy integration with tools that support this protocol.

🚀 How to Build

You can use the build.bat script located in the project root to build this tool.

.\build.bat

After a successful build, all necessary files will be output to the publish directory.

🔧 How to Use

The tool is designed to run as an MCP server over standard input/output (stdio). It listens for requests and invokes the ExtractMetadata method accordingly.

Method: ExtractMetadata

Analyzes a .NET assembly file (.dll) to extract its complete public API information.

Parameters:

  • dllPath (string, required): The absolute path to the target library's DLL file.

Returns:

A JSON string containing the detailed API definition.

Example Invocation (via MCP)

Here is a JSON-RPC example of how to call the tool via the MCP protocol:

{
  "jsonrpc": "2.0",
  "method": "ExtractMetadata",
  "params": {
    "dllPath": "C:\\Path\\To\\Your\\Library.dll"
  },
  "id": 1
}

🤝 Contributing

Contributions to this project are welcome! If you have any ideas, suggestions, or have found a bug, please feel free to submit a Pull Request or create an Issue.

📄 License

This project is licensed under the MIT License.

目录标签

目录标签

C#数据分析API集成API提取本地部署.NET工具元数据分析JSON输出XML文档解析

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

1

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP