From 95315a0691f986efe8ef90971d4ab5cdedd1259f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 17 Oct 2025 11:58:58 +0000 Subject: [PATCH 1/2] Initial plan From 4c88fd088c70e7685669832fbe7839c343a312b1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 17 Oct 2025 12:06:13 +0000 Subject: [PATCH 2/2] Update copilot.yml with Tavily MCP server and JavaScript frameworks prompt Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- .github/workflows/copilot.yml | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/.github/workflows/copilot.yml b/.github/workflows/copilot.yml index 6f9135b4516..b6d5cc7a013 100644 --- a/.github/workflows/copilot.yml +++ b/.github/workflows/copilot.yml @@ -21,27 +21,23 @@ jobs: - name: Setup MCP Configuration env: - GITHUB_PERSONAL_ACCESS_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} + TAVILY_API_KEY: ${{ secrets.TAVILY_API_KEY }} run: | mkdir -p /home/runner/.copilot cat > /home/runner/.copilot/mcp-config.json << 'EOF' { "mcpServers": { - "github": { - "type": "local", - "command": "docker", - "env": { - "GITHUB_PERSONAL_ACCESS_TOKEN": "GITHUB_PERSONAL_ACCESS_TOKEN" - }, - "args": [ - "run", - "-i", - "--rm", - "-e", - "GITHUB_PERSONAL_ACCESS_TOKEN", - "ghcr.io/github/github-mcp-server:sha-09deac4" - ], - "tools": ["*"] + "tavily": { + "type": "http", + "url": "https://mcp.tavily.com/mcp/", + "headers": { + "Authorization": "Bearer ${TAVILY_API_KEY}" + }, + "tools": [ + "*" + ], + "env": { + "TAVILY_API_KEY": "\${TAVILY_API_KEY}" } } } @@ -59,7 +55,7 @@ jobs: run: | mkdir -p $(dirname "$GITHUB_AW_PROMPT") cat > $GITHUB_AW_PROMPT << 'EOF' - List tools defined in the current chat session (do not run commands, I am asking about tools defined in the LLM). Just the names in a table, nothing else. + Search for the latest trends in JavaScript frameworks. Provide a summary of your findings including popular frameworks, new developments, and emerging trends. EOF - name: Print prompt to step summary env: