Логотип mcp-reporter

mcp-reporter

Сообщество
cyanheads

mcp-reporter is a streamlined utility that generates comprehensive capability reports for Model Context Protocol servers, empowering developers to easily understand available functionality across their MCP servers ecosystem for both documentation and integration into other tools.

Издательcyanheads
Репозиторийmcp-reporter
ЯзыкTypeScript
Форки
3
Звёзды
12
Доступные инструменты
0
Тип транспортаstdio
Категории
ЛицензияApache-2.0
Ссылки
  • Подключайте инструменты к рабочим процессам с ИИ

    mcp-reporter предоставляет возможности MCP, доступные совместимым ИИ-клиентам и агентам.

  • Доступные инструменты: 0

    Ниже представлены доступные для вызова действия с названиями и описаниями, если сервер их предоставляет.

  • Готовая конфигурация для копирования

    Используйте примеры конфигурации, чтобы настроить этот сервер в предпочитаемом MCP-клиенте.

  • Показатели интереса к открытому проекту

    Звёзды: 12, форки: 3 — в связанном репозитории.

Version License Node.js MCP SDK

Quick start · Configuration · Report contents · Library · Development


mcp-reporter connects to local stdio processes and remote Streamable HTTP endpoints, reads their advertised capabilities, and writes a report you can keep alongside project documentation or pass to another tool.

It enumerates tools, resources, resource templates, and prompts. It does not execute tools, read resource contents, or expand prompts. View a synthetic example report.

Quick start

Requires Node.js 22.12 or newer. Development uses Bun 1.4 or newer.

Create mcp-servers.json with a server you already run:

json
{
  "mcpServers": {
    "local-server": {
      "command": "node",
      "args": ["/absolute/path/to/server/dist/index.js"]
    }
  }
}

Generate a report:

bash
npx mcp-reporter --config mcp-servers.json --output output/report.md

Configuration

The configuration is a JSON object containing mcpServers. Each key identifies a server in the report. Local and remote entries can share one file:

json
{
  "mcpServers": {
    "local-server": {
      "command": "node",
      "args": ["/absolute/path/to/server/dist/index.js"],
      "env": { "EXAMPLE_API_KEY": "REPLACE_WITH_YOUR_KEY" }
    },
    "remote-server": {
      "type": "http",
      "url": "https://example.com/mcp",
      "headers": { "Authorization": "Bearer REPLACE_WITH_YOUR_TOKEN" }
    },
    "disabled-server": {
      "command": "node",
      "args": ["/absolute/path/to/another/server.js"],
      "disabled": true
    }
  }
}
FieldApplies toMeaning
commandstdioExecutable to spawn
argsstdioOptional argument array
envstdioOptional string-valued environment entries, passed to the SDK transport
cwdstdioOptional working directory for the child process
urlHTTPStreamable HTTP endpoint, including its MCP path
headersHTTPOptional static request headers
typeEitherOptional stdio or http; must agree with the entry
disabledEitherSkip the entry when true
alwaysAllowEitherAccepted for config compatibility; no tools are invoked

Supply exactly one of command or url. The reporter validates the entire file before connecting. Paths are resolved from the process working directory; use absolute paths when sharing a configuration between callers. Interactive OAuth and legacy SSE endpoints are not supported.

Configuration values can contain credentials. The reporter omits env/header values, raw command arguments, and URL paths/query/userinfo from its diagnostics and launch metadata. Child stderr is suppressed; failures use safe error categories. Server-provided descriptions, schemas, instructions, and extension metadata are retained as report content, so review those before sharing a report.

Choose a protocol mode

Legacy negotiation is the default, preserving compatibility with servers that expect initialize.

--protocol-eraBehavior
legacyUse the legacy handshake without a discovery probe
autoDiscover modern support, falling back on legacy evidence
2026-07-28Require that modern revision; no legacy fallback
bash
npx mcp-reporter --config mcp-servers.json --protocol-era auto

Auto mode can start an extra short-lived stdio process and wait for a probe timeout before using the legacy handshake. HTTP authorization failures and timeouts are reported as failures, not evidence of legacy support. The report records the actual selected protocol version and era.

Report contents

SectionIncluded information
Executive summaryConnection counts and collected capability counts
Connection failuresConfigured server ID and safe failure reason
Server informationTransport, implementation identity, negotiated protocol, connection time, advertised flags, instructions
ToolsNames, titles, descriptions, input/output schemas, annotations, icons and extension metadata
Resources and templatesURIs/templates, names, descriptions, MIME types and supplied metadata
PromptsNames, descriptions, arguments, required flags and supplied metadata

Lists are collected page by page. Each capability is reported as not advertised, complete (possibly empty), or incomplete. Page limits, repeated cursors and request failures keep collected entries and mark their counts as partial. A failed server or list does not discard successful neighbors.

Tables and text carry the report; collapsible details hold longer definitions. Icons remain metadata rather than remote image loads. Server annotations are hints supplied by the server, not independently verified safety guarantees. Enumeration retains advertisements even when a client might refuse to call a tool with an invalid schema extension.

CLI options

OptionDefaultPurpose
-c, --config <path>mcp-servers.jsonConfiguration file
-o, --output <path>output/mcp_server_report.mdMarkdown destination
--no-schemasSchemas includedHide input schemas; output schemas remain visible
--no-metadataMetadata includedHide server information, advertised flags and instructions
--no-examplesExamples includedHide caller-supplied examples
--protocol-era <era>legacylegacy, auto, or 2026-07-28
--max-pages <count>64Positive page bound for each capability list
--timeout <ms>30000Positive connection/request timeout
-q, --quietOffSuppress progress; fatal errors still go to stderr
-V, --version—Print package version
-h, --help—Print help

For HTTP servers, the timeout bounds the entire handshake, including the initialized notification response. A timeout closes the transport, records a connection failure, and allows the remaining servers to be reported. Each capability-list request retains its own timeout.

Existing positive flags -s/--schemas, -m/--metadata, and -e/--examples remain accepted. MCP enumeration has no examples source; examples appear only when a programmatic caller supplies them to the renderer.

Progress goes to stderr, and the report is written to the selected file. Exit code 0 means the report was written, including any recorded connection/list failures. Invalid configuration or a report-write failure exits 1.

Use as a library

bash
bun add mcp-reporter
ts
import { McpReporter } from 'mcp-reporter';

const reporter = new McpReporter('./mcp-servers.json', {
  outputPath: './output/capabilities.md',
  protocolEra: 'auto',
  includeInputSchemas: true,
  includeServerMetadata: true,
  maxPages: 64,
  timeoutMs: 30_000,
  progressCallback(event) {
    console.error(event.message);
  },
});

await reporter.run();

The library is ESM and stays quiet without a progress callback. run() resolves after writing the report and closing connections; it rejects configuration/file errors. A second run starts a fresh collection. ReportOptions.transportFactory(config, serverId) can supply a transport for embedding or deterministic tests.

Types are exported from the package root. To render an already collected ServerReport[], import MarkdownGenerator from mcp-reporter and call generateReport(reports, options). It honors the same rendering flags and preserves optional ToolInfo.examples supplied by the caller.

See upgrading to 1.1.0 for runtime, module, and reporting changes.

Development

Build a source checkout:

bash
git clone https://github.com/cyanheads/mcp-reporter.git
cd mcp-reporter
bun install
bun run rebuild

Run the built CLI with node dist/cli.js --config mcp-servers.json.

CommandPurpose
bun run devcheckLint, source/script/test typechecks, changelog check, full test suite
bun run rebuildClean and compile the Node package
bun run test:allRun deterministic behavior tests
bun run test:packageVerify compiled Node CLI/library and package contents
bun run formatApply Biome formatting and safe fixes
bun run example:reportRegenerate the synthetic example report
bun run treeRegenerate the directory map
bun run list-skillsList project workflows

Tests use in-memory SDK servers, loopback HTTP and synthetic stdio processes. They need no credentials or external MCP servers. Release workflows use local gates, per-version changelogs, conventional commits and annotated tag digests; npm and GitHub are the publication targets.

Contributing · Security · Changelog · Apache-2.0 license

Built by Casey Hand · Support the project

Установка

TypingMind
{
  "mcpServers": {
    "mcp-reporter": {
      "command": "npx",
      "args": [
        "mcp-reporter",
        "--config",
        "mcp-servers.json",
        "--output",
        "output/report.md"
      ]
    }
  }
}

Используйте MCP mcp-reporter с разными ИИ-моделями

TypingMind подключает инструменты MCP на уровне рабочего пространства, поэтому после подключения mcp-reporter вы можете использовать их с разными моделями ИИ в TypingMind, не настраивая подключение отдельно для каждой модели. Эта интеграция MCP работает локально на вашем устройстве через коннектор MCP TypingMind.

Руководство по настройке локального коннектора

Выберите этот способ, если серверу MCP нужен доступ к локальным файлам, приложениям или закрытым ресурсам на вашем компьютере.

1

Откройте настройки MCP

В TypingMind откройте «Настройки», затем «Расширенные настройки», перейдите в раздел «Протокол контекста модели» и выберите «Настроить коннектор».

  1. Откройте TypingMind в браузере.
  2. Нажмите значок настроек.
  3. Перейдите в «Расширенные настройки».
  4. Откройте раздел «Протокол контекста модели».
  5. Нажмите «Настроить коннектор» и выберите «Это устройство».
Экран настройки коннектора MCP в TypingMind с выбранным вариантом «Это устройство»
2

Выполните команду коннектора

Выберите «Это устройство», скопируйте команду из TypingMind и выполните её в терминале. Не останавливайте процесс, пока используете MCP.

  1. Скопируйте команду настройки, показанную в TypingMind.
  2. Откройте «Терминал» в macOS или Windows Terminal в Windows.
  3. Вставьте и выполните команду.
  4. Подтвердите установку пакета, если терминал запросит разрешение продолжить.
  5. Не закрывайте окно терминала и не останавливайте процесс, пока используете инструменты MCP.
3

Добавьте mcp-reporter как сервер

Когда статус коннектора сменится на «Готов», нажмите «Изменить серверы» и вставьте конфигурацию сервера MCP.

  1. Дождитесь, пока статус коннектора сменится на «Готов».
  2. Нажмите «Изменить серверы».
  3. Вставьте конфигурацию сервера MCP для mcp-reporter.
  4. Сохраните список серверов.
  5. Обновите статус, если хотите убедиться, что коннектор по-прежнему готов к работе.
Настройки MCP в TypingMind с активным сервером и кнопкой «Изменить серверы»
{
  "mcpServers": {
    "mcp-reporter": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-reporter"
      ]
    }
  }
}
4

Используйте подключение с разными моделями

Сохраните список серверов, откройте раздел «Плагины», включите инструменты MCP для mcp-reporter, затем выберите любую поддерживаемую модель ИИ в TypingMind и используйте инструменты в чате или назначьте их ИИ-агенту.

  1. Откройте страницу «Плагины» в TypingMind.
  2. Включите инструменты MCP для mcp-reporter.
  3. Начните чат и выберите модель ИИ, которую хотите использовать.
  4. Используйте инструменты MCP в чате или назначьте их ИИ-агенту.
  5. При необходимости переключайтесь на другую модель ИИ без повторного подключения MCP.
Чат TypingMind с включёнными инструментами MCP и выбранной ИИ-моделью
Можете помочь мне с этой задачей с помощью mcp-reporter?
mcp-reporter
Конечно. Я всё прочитал.
Вот что я нашёл с помощью mcp-reporter.

Часто задаваемые вопросы

Для чего используется сервер MCP mcp-reporter?

mcp-reporter — это сервер MCP, который позволяет совместимым ИИ-клиентам подключаться к внешним инструментам и получать контекст. В TypingMind достаточно один раз добавить этот сервер MCP, чтобы его инструменты стали доступны в вашем рабочем пространстве с ИИ.

Можно ли использовать сервер MCP mcp-reporter с несколькими ИИ-моделями в TypingMind?

Да. TypingMind подключает инструменты MCP на уровне рабочего пространства, поэтому вы можете использовать mcp-reporter с разными ИИ-моделями, например Claude, ChatGPT, Gemini или другими моделями, настроенными в TypingMind, без отдельной настройки сервера MCP для каждой модели.

Зачем использовать MCP mcp-reporter с TypingMind?

TypingMind — один из лучших интерфейсов для чата с LLM: он объединяет разные ИИ-модели, промпты, плагины, ИИ-агентов, ключи API и инструменты MCP в одном рабочем пространстве. Подключив mcp-reporter, вы сможете использовать его инструменты MCP с предпочитаемыми моделями, сохраняя удобную организацию работы с чатами в TypingMind.

Как подключить сервер MCP mcp-reporter к TypingMind?

mcp-reporter работает через локальный коннектор MCP TypingMind. Этот вариант лучше всего подходит, когда серверу MCP нужен доступ к локальным файлам, настольным приложениям, инструментам командной строки или закрытым ресурсам на вашем компьютере.

Какие инструменты предоставляет сервер MCP mcp-reporter в TypingMind?

mcp-reporter предоставляет возможности MCP, которые можно включить на странице «Плагины» в TypingMind и использовать в чате или назначить ИИ-агентам.

Нужно ли передавать TypingMind свои ключи API для использования сервера MCP mcp-reporter?

Нет. TypingMind ориентирован прежде всего на локальную работу и позволяет вам контролировать выбор провайдеров моделей, ключи API, промпты и конфигурацию MCP. Если mcp-reporter требует аутентификации, при создании подключения добавьте необходимые заголовки, настройки OAuth или локальную конфигурацию для этого сервера MCP.

Похожие серверы MCP

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇