Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 17, 2025

This PR adds a new agentic workflow that systematically inspects and documents all shared MCP (Model Context Protocol) server configurations in the repository.

What's New

A new workflow .github/workflows/mcp-inspector.md that:

  • Imports all shared MCP configurations from .github/workflows/shared/mcp/*.md (16 out of 17 configurations)
  • Systematically reads each configuration file to extract server details, connection types, available tools, and required secrets
  • Generates a comprehensive inspection report with inventory tables and server statistics
  • Creates discussions in the "Audits" category to share findings with the team

Workflow Details

Engine: GitHub Copilot CLI (copilot) with strict mode enabled

Schedule: Runs weekly on Mondays at 10am UTC (also manually triggerable)

MCP Servers Inspected: arxiv, ast-grep, brave, context7, datadog, deepwiki, fabric-rti, gh-aw, markitdown, microsoft-docs, notion, sentry, serena, server-memory, slack, tavily

Output Format:

# 🔍 MCP Inspector Report

## Summary
- Servers Inspected: 16
- By Type: HTTP: X, Container: Y, Local: Z

## Inventory Table
| Server | Type | Tools | Secrets | Status |
|--------|------|-------|---------|--------|
| ...    | ...  | ...   | ...     | ✅/⚠️/❌ |

Key Features

  • Cache Memory Storage: Saves inspection data to /tmp/gh-aw/cache-memory/mcp-inspections/ for historical trend analysis
  • Safe Outputs: Uses safe-outputs.create-discussion to create discussions without requiring write permissions on the main job
  • Comprehensive Analysis: Documents server configuration status, available tools, secret requirements, and any issues
  • Actionable Recommendations: Provides suggestions for improving MCP configurations

Note on azure.md

The azure.md configuration file is not imported due to a schema validation issue with the entrypointArgs field. The workflow still manually inspects this file and includes it in the report.

Validation

  • ✅ Compiles successfully (257.2 KB lock file generated)
  • ✅ All imports processed correctly
  • ✅ MCP servers properly configured in compiled workflow
  • ✅ Workflow recognized by gh-aw status command

This workflow helps maintain visibility into our MCP server ecosystem and identify configuration issues or improvements needed.

Original prompt

Add a shared mcp inspector agentic workflow.

  • imports all shared agentic workflows under shared/mcp
  • prompts the agent to systematically read the source of the shared agentic workflow and investigate the list of available tools.

Generate a table listing the MCP server name, and statistics about the available tools / error state.

Generate a discussion with the results under "Audits"


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

@pelikhan
Copy link
Contributor

@copilot use copilot engine, strict mode

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Add shared MCP inspector agentic workflow Add MCP Inspector agentic workflow for shared MCP server auditing Oct 17, 2025
Copilot AI requested a review from pelikhan October 17, 2025 10:33
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Oct 17, 2025

@copilot use copilot engine, strict mode

Changed engine to copilot. Strict mode was already enabled in the workflow. (commit: TBD)

@pelikhan pelikhan marked this pull request as ready for review October 17, 2025 10:39
@pelikhan pelikhan merged commit 2a1d0c8 into main Oct 17, 2025
5 checks passed
@pelikhan pelikhan deleted the copilot/add-shared-mcp-inspector-workflow branch October 17, 2025 10:40
github-actions bot added a commit that referenced this pull request Oct 17, 2025
Document two new agentic workflows added in the last 24 hours:

- Basic Research workflow: Performs web research using Tavily MCP
- MCP Inspector workflow: Audits and documents MCP server configurations

Both workflows are now documented in the Research, Status & Planning
samples page with descriptions, value propositions, and trigger info.

Related PRs:
- #1840 - Add basic research workflow with Tavily integration
- #1846 - Add MCP Inspector agentic workflow for shared MCP server auditing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
pelikhan added a commit that referenced this pull request Oct 17, 2025
Document two new agentic workflows added in the last 24 hours:

- Basic Research workflow: Performs web research using Tavily MCP
- MCP Inspector workflow: Audits and documents MCP server configurations

Both workflows are now documented in the Research, Status & Planning
samples page with descriptions, value propositions, and trigger info.

Related PRs:
- #1840 - Add basic research workflow with Tavily integration
- #1846 - Add MCP Inspector agentic workflow for shared MCP server auditing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Daily Documentation Updater <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants