1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "servers": [
10 "https://mcp.deepwiki.com/mcp",
11 "https://mcp.context7.com/mcp",
12 "https://huggingface.co/mcp",
13 "https://api.githubcopilot.com/mcp/",
14 ],
15 "ledger_name": "DEFAULT",
16 "alert_on": [
17 "tool_added",
18 "tool_removed",
19 "input_schema_changed",
20 "destructive_hint_changed",
21 "auth_requirement_changed",
22 ],
23 "request_timeout_seconds": 20,
24 "concurrency": 5,
25 "max_redirects": 3,
26 "max_response_bytes": 2000000,
27 "count_resources_and_prompts": True,
28 "probe_oauth_metadata": True,
29 "max_server_seconds": 60,
30 "max_run_seconds": 900,
31}
32
33
34run = client.actor("kingii98/remote-mcp-server-tool-surface-and-permission-change-ledger").call(run_input=run_input)
35
36
37print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
38for item in client.dataset(run.default_dataset_id).iterate_items():
39 print(item)
40
41