Token导航 LogoToken导航TokenDH.com
MCP Reporter logo
AI代理未说明官方级别未说明来源级核验

MCP Reporter

MCP Server

MCP Reporter是一款用于生成Model Context Protocol(MCP)服务器功能全面报告的工具,帮助开发者了解其MCP服务器生态系统中的可用功能,并可用于编程生成文档或供其他工具使用。

工具数

0

提示词数

0

GitHub Stars

12

资源数

0
报告生成TypeScript开发工具本地部署

安装说明

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

作者 / 组织

cyanheads

提供方

cyanheads

最后核验

2026/5/17 20:22

快速接入

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

详细介绍

MCP报告器

![TypeScript](https://www.typescriptlang.org/) ![Model Context Protocol](https://modelcontextprotocol.io/) ](<>) ![License](https://opensource.org/licenses/Apache-2.0) ![Status](<>) ](https://github.com/cyanheads/mcp-reporter)

MCP Reporter是一个实用程序,用于生成有关模型上下文协议(MCP)服务器功能的综合报告,帮助开发人员了解其MCP服务器生态系统中可用的功能。还可以通过编程方式生成报告,用于文档编制或输入其他工具。

目录

特性

  • 服务器发现:自动连接到所有启用的MCP服务器
  • 能力分析:提取工具、资源和资源模板
  • Markdown报告生成:制作组织良好的文件
  • 进度监控:在执行过程中提供实时反馈

生成报告的图像预览(部分)

Image Preview

安装

先决条件

  • Node.js 16.x或更高版本
  • npm或纱线

从源代码安装

# Clone the repository
git clone https://github.com/cyanheads/mcp-reporter.git
cd mcp-reporter

# Install dependencies
npm install

# Build the project
npm run build

# Create a symlink (optional)
npm link

配置

MCP Reporter需要一个配置文件来定义要分析的MCP服务器:

# Create a configuration file from the example
cp mcp-servers.json.example mcp-servers.json

配置示例:

{
  "mcpServers": {
    "atlas-mcp-server": {
      "command": "/path/to/node",
      "args": ["/path/to/atlas-mcp-server/dist/index.js"],
      "env": {
        "NEO4J_URI": "bolt://localhost:7687",
        "NEO4J_USER": "neo4j",
        "NEO4J_PASSWORD": "your-password-here"
      }
    },
    "another-server": {
      "command": "/path/to/node",
      "args": ["/path/to/another-server.js"],
      "env": {}
    }
  }
}

用法

命令行接口

mcp-reporter [options]
选项描述默认值
`-c, --config
`MCP服务器配置路径mcp-servers.json
`-o, --output
`报告的输出路径output/mcp_server_report.md
-s, --schemas包括输入模式true
-m, --metadata包含服务器元数据true
-e, --examples包括示例true

例子

您可以通过“npm run start”或使用安装过程中创建的符号链接(可选)运行mcp reporter:

# Generate a report with default settings
npm run start

# Generate a report using symlink
mcp-reporter

程序化使用

import { McpReporter } from "mcp-reporter";

async function generateReport() {
  const reporter = new McpReporter("./my-config.json", {
    outputPath: "./reports/mcp-report.md",
    includeInputSchemas: true,
    includeServerMetadata: true,
  });

  await reporter.run();
}

generateReport().catch(console.error);

报告结构

生成的降价报告包括:

  1. 分析的所有MCP服务器摘要
  2. 对于每台服务器:

- 服务器元数据 - 具有描述和输入模式的可用工具 - 具有URI和描述的可用资源 - 具有URI模板的可用资源模板

项目结构

mcp-reporter/
├── src/               # Source code
│   ├── cli.ts         # Command line interface
│   ├── index.ts       # Main library code
│   ├── types/         # TypeScript type definitions
│   └── utils/         # Utility functions
├── scripts/           # Build and maintenance scripts
├── docs/              # Documentation
├── output/            # Default output directory for reports
└── mcp-servers.json   # Server configuration (create from example)

发展

# Clean build artifacts
npm run clean

# Rebuild the project
npm run rebuild

# Generate project structure visualization
npm run tree

许可证

此项目在Apache 2.0许可证下获得许可-有关详细信息,请参阅License文件。

作者

凯西·汉德(@cyanheads)

目录标签

目录标签

报告生成TypeScript开发工具本地部署MCP协议服务器分析

接入字段

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

未说明

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

none

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

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

0

权限和风险

未说明none部署方式未说明

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

安装前确认

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

仍需确认:installCommand

来源信息

继续浏览同类 MCP