From 114cd20f2bdb2eddc6bb60d7bd7bdee3df0a7a61 Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Sat, 16 May 2026 18:57:16 +0000 Subject: [PATCH] chore: remove .mokogitea/mcp-tool-inventory.yml (moved to .gitea/) [skip ci] --- .mokogitea/mcp-tool-inventory.yml | 61 ------------------------------- 1 file changed, 61 deletions(-) delete mode 100644 .mokogitea/mcp-tool-inventory.yml diff --git a/.mokogitea/mcp-tool-inventory.yml b/.mokogitea/mcp-tool-inventory.yml deleted file mode 100644 index cc4c614..0000000 --- a/.mokogitea/mcp-tool-inventory.yml +++ /dev/null @@ -1,61 +0,0 @@ -# MCP Tool Inventory -# Copyright (C) 2026 Moko Consulting -# SPDX-License-Identifier: GPL-3.0-or-later -# -# Generates a tool inventory report on each push to main. -# Extracts tool names, descriptions, and parameter counts from src/index.ts. - -name: MCP Tool Inventory - -on: - push: - branches: [main] - paths: ['src/index.ts'] - workflow_dispatch: - - -permissions: - contents: read - -jobs: - inventory: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - - name: Generate tool inventory - run: | - echo "# MCP Tool Inventory" > TOOLS.md - echo "" >> TOOLS.md - echo "Auto-generated from \`src/index.ts\` on $(date -u +%Y-%m-%dT%H:%M:%SZ)" >> TOOLS.md - echo "" >> TOOLS.md - - # Count tools - TOOL_COUNT=$(grep -c "server\.tool(" src/index.ts || true) - echo "**Total tools: ${TOOL_COUNT}**" >> TOOLS.md - echo "" >> TOOLS.md - - # Extract tool names and descriptions - echo "| Tool | Description |" >> TOOLS.md - echo "|------|-------------|" >> TOOLS.md - - grep -A1 "server\.tool(" src/index.ts | grep -E "^\s*'" | while read -r line; do - TOOL_NAME=$(echo "$line" | sed "s/.*'\([^']*\)'.*/\1/") - # Get next line for description - DESC=$(grep -A2 "'${TOOL_NAME}'" src/index.ts | grep -E "^\s*'" | tail -1 | sed "s/.*'\([^']*\)'.*/\1/" || echo "") - echo "| \`${TOOL_NAME}\` | ${DESC} |" >> TOOLS.md - done - - echo "" >> TOOLS.md - echo "---" >> TOOLS.md - echo "*Generated by MCP Tool Inventory workflow*" >> TOOLS.md - - cat TOOLS.md - - - name: Upload inventory artifact - uses: actions/upload-artifact@v4 - with: - name: tool-inventory - path: TOOLS.md - retention-days: 90