Skip to content

Commit 1b65aca

Browse files
committed
scan: log script_content forwarding for local-script servers
1 parent 64417fc commit 1b65aca

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/coding_discovery_tools/scan_single_mcp_server.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ def scan_one(server_name, server_config):
3434
# recomputes sha256 -> `script:<hash>` fingerprint and stores the body.
3535
if obj is not None and isinstance(server_config, dict) and server_config.get('script_content'):
3636
obj['script_content'] = server_config['script_content']
37+
print(f"info: forwarding script_content ({len(server_config['script_content'])} b64 chars) for {server_name}",
38+
file=sys.stderr)
3739
return obj
3840

3941

0 commit comments

Comments
 (0)