Skip to content

Commit 7bb9a24

Browse files
Rename workflow for mcp-server-diff action
1 parent a50b588 commit 7bb9a24

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

.github/workflows/mcp-diff.yml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: MCP Server Diff
2+
3+
on:
4+
pull_request:
5+
6+
permissions:
7+
contents: read
8+
9+
jobs:
10+
mcp-diff:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Check out code
15+
uses: actions/checkout@v6
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Run MCP Server Diff
20+
uses: SamMorrowDrums/mcp-server-diff@v2
21+
with:
22+
setup_go: "true"
23+
install_command: go mod download
24+
start_command: go run ./cmd/github-mcp-server stdio
25+
env_vars: |
26+
GITHUB_PERSONAL_ACCESS_TOKEN=test-token
27+
configurations: |
28+
[
29+
{"name": "default", "args": ""},
30+
{"name": "read-only", "args": "--read-only"},
31+
{"name": "dynamic-toolsets", "args": "--dynamic-toolsets"},
32+
{"name": "read-only+dynamic", "args": "--read-only --dynamic-toolsets"},
33+
{"name": "toolsets-repos", "args": "--toolsets=repos"},
34+
{"name": "toolsets-issues", "args": "--toolsets=issues"},
35+
{"name": "toolsets-pull_requests", "args": "--toolsets=pull_requests"},
36+
{"name": "toolsets-repos,issues", "args": "--toolsets=repos,issues"},
37+
{"name": "toolsets-all", "args": "--toolsets=all"},
38+
{"name": "tools-get_me", "args": "--tools=get_me"},
39+
{"name": "tools-get_me,list_issues", "args": "--tools=get_me,list_issues"},
40+
{"name": "toolsets-repos+read-only", "args": "--toolsets=repos --read-only"},
41+
{"name": "toolsets-all+dynamic", "args": "--toolsets=all --dynamic-toolsets"},
42+
{"name": "toolsets-repos+dynamic", "args": "--toolsets=repos --dynamic-toolsets"},
43+
{"name": "toolsets-repos,issues+dynamic", "args": "--toolsets=repos,issues --dynamic-toolsets"},
44+
{
45+
"name": "dynamic-tool-calls",
46+
"args": "--dynamic-toolsets",
47+
"custom_messages": [
48+
{"id": 10, "name": "list_toolsets_before", "message": {"jsonrpc": "2.0", "id": 10, "method": "tools/call", "params": {"name": "list_available_toolsets", "arguments": {}}}},
49+
{"id": 11, "name": "get_toolset_tools", "message": {"jsonrpc": "2.0", "id": 11, "method": "tools/call", "params": {"name": "get_toolset_tools", "arguments": {"toolset": "repos"}}}},
50+
{"id": 12, "name": "enable_toolset", "message": {"jsonrpc": "2.0", "id": 12, "method": "tools/call", "params": {"name": "enable_toolset", "arguments": {"toolset": "repos"}}}},
51+
{"id": 13, "name": "list_toolsets_after", "message": {"jsonrpc": "2.0", "id": 13, "method": "tools/call", "params": {"name": "list_available_toolsets", "arguments": {}}}}
52+
]
53+
}
54+
]
55+
56+
- name: Add interpretation note
57+
if: always()
58+
run: |
59+
echo "" >> $GITHUB_STEP_SUMMARY
60+
echo "---" >> $GITHUB_STEP_SUMMARY
61+
echo "" >> $GITHUB_STEP_SUMMARY
62+
echo "ℹ️ **Note:** Differences may be intentional improvements." >> $GITHUB_STEP_SUMMARY
63+
echo "" >> $GITHUB_STEP_SUMMARY
64+
echo "Common expected differences:" >> $GITHUB_STEP_SUMMARY
65+
echo "- New tools/toolsets added" >> $GITHUB_STEP_SUMMARY
66+
echo "- Tool descriptions updated" >> $GITHUB_STEP_SUMMARY
67+
echo "- Capability changes (intentional improvements)" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)