-
Notifications
You must be signed in to change notification settings - Fork 10
51 lines (44 loc) · 1.4 KB
/
remote-conformance.yml
File metadata and controls
51 lines (44 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Remote Conformance Test
#
# This workflow tests against a deployed MCP server endpoint.
#
# To use this workflow:
# 1. Deploy your MCP server to a hosting service
# 2. Add the following repository secrets:
# - MCP_REMOTE_URL: Your deployed server's MCP endpoint (e.g., https://my-mcp-server.example.com/mcp)
# 3. Uncomment the workflow below
#
# Example: Testing a server deployed to Railway, Fly.io, etc.
name: Remote Conformance Test
on:
# Run on schedule to catch environment drift
# schedule:
# - cron: '0 0 * * 0' # Weekly on Sunday
# Run on releases to validate deployed versions
push:
tags: ['v*']
# Manual trigger for on-demand testing
workflow_dispatch:
inputs:
server_url:
description: 'MCP Server URL to test'
required: false
default: ''
permissions:
contents: read
jobs:
remote-conformance:
# Only run if remote URL is configured
if: vars.MCP_REMOTE_URL != '' || github.event.inputs.server_url != ''
uses: SamMorrowDrums/mcp-conformance-action/.github/workflows/conformance.yml@v2.3.0
with:
# No build needed for remote testing
install_command: "echo 'Testing remote server'"
configurations: |
[
{
"name": "remote-production",
"transport": "http",
"server_url": "${{ github.event.inputs.server_url || vars.MCP_REMOTE_URL }}"
}
]