File tree Expand file tree Collapse file tree
examples/clients/simple-auth-multiprotocol-client Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2- # Phase 4 DPoP integration test: start simple-auth (AS) and simple-auth-multiprotocol ( RS with DPoP) ,
2+ # DPoP integration test: start simple-auth AS and simple-auth-multiprotocol RS with DPoP,
33# then run automated DPoP verification tests and optional OAuth+DPoP manual test.
44#
5- # Usage: from repo root, run: ./scripts/run_phase4_dpop_integration_test.sh
5+ # This test is for testing DPoP + OAuth2 flow with multi-protocol support.
6+ # Usage: in the repo root, run: ./examples/clients/simple-auth-multiprotocol-client/run_dpop_test.sh
67#
78# Env variables:
89# MCP_RS_PORT - Resource Server port (default: 8002)
1718
1819set -e
1920
20- REPO_ROOT=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) /.." && pwd) "
21+ REPO_ROOT=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) /../../.. " && pwd) "
2122SIMPLE_AUTH_SERVER=" ${REPO_ROOT} /examples/servers/simple-auth"
2223MULTIPROTOCOL_SERVER=" ${REPO_ROOT} /examples/servers/simple-auth-multiprotocol"
2324MULTIPROTOCOL_CLIENT=" ${REPO_ROOT} /examples/clients/simple-auth-multiprotocol-client"
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2- # Phase 2 multi -protocol integration test: start simple-auth-multiprotocol RS (and optionally AS for OAuth),
2+ # Multi -protocol integration test: start simple-auth-multiprotocol RS (and optionally AS for OAuth),
33# then run client with API Key, OAuth, or Mutual TLS (placeholder).
4- # Usage: from repo root, run: ./scripts/run_phase2_multiprotocol_integration_test.sh
4+ # This test is for testing multi-protocol support with API Key, OAuth, or Mutual TLS.
5+ # Usage: in the repo root, run: ./examples/clients/simple-auth-multiprotocol-client/run_multiprotocol_test.sh
56# Env: MCP_PHASE2_PROTOCOL=api_key (default) | oauth | mutual_tls (client will show "not implemented" for mTLS).
67# For api_key/mutual_tls: simple-auth-multiprotocol-client; for oauth: simple-auth-client (complete OAuth in browser).
78# You must run at mcp> prompt: list, call get_time {}, quit.
89
910set -e
1011
11- REPO_ROOT=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) /.." && pwd) "
12+ REPO_ROOT=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) /../../.. " && pwd) "
1213SIMPLE_AUTH_SERVER=" ${REPO_ROOT} /examples/servers/simple-auth"
1314MULTIPROTOCOL_SERVER=" ${REPO_ROOT} /examples/servers/simple-auth-multiprotocol"
1415MULTIPROTOCOL_CLIENT=" ${REPO_ROOT} /examples/clients/simple-auth-multiprotocol-client"
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2- # Phase 1 OAuth2 integration test: start simple-auth (AS + RS) and run simple-auth-client.
3- # Usage: from repo root, run: ./scripts/run_phase1_oauth2_integration_test.sh
2+ # OAuth2 integration test: start simple-auth (AS + RS) and run simple-auth-client.
3+ # This test is for testing Oauth2 flow with multi-protocol support.
4+ # Usage: in the repo root, run: ./examples/clients/simple-auth-multiprotocol-client/run_oauth2_test.sh
45# You must complete OAuth in the browser and run list / call get_time / quit at the mcp> prompt.
56
67set -e
78
8- REPO_ROOT=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) /.." && pwd) "
9+ REPO_ROOT=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) /../../.. " && pwd) "
910SIMPLE_AUTH_SERVER=" ${REPO_ROOT} /examples/servers/simple-auth"
1011SIMPLE_AUTH_CLIENT=" ${REPO_ROOT} /examples/clients/simple-auth-client"
1112AS_PORT=9000
You can’t perform that action at this time.
0 commit comments