@bugroger/lokka 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,148 @@
1
+ [2026-03-25T09:50:44.662Z] [INFO] Starting Lokka Multi-Microsoft API MCP Server (v0.2.0 - Token-Based Auth Support)
2
+ [2026-03-25T09:50:44.663Z] [INFO] Graph API default version: beta (USE_GRAPH_BETA=undefined)
3
+ [2026-03-25T09:50:44.669Z] [INFO] No cached token found, persistent token mode will open browser for initial auth.
4
+ [2026-03-25T09:50:44.672Z] [INFO] Starting with authentication mode: persistent_token
5
+ [2026-03-25T09:50:44.676Z] [INFO] persistent_token mode using tenant ID: common, client ID: 14d82eec-204b-4c2f-b7e8-296a70dab67e
6
+ [2026-03-25T09:50:44.680Z] [INFO] Initializing Persistent Token authentication (cached token with silent refresh)
7
+ [2026-03-25T09:50:44.684Z] [INFO] No cached token found, starting interactive authentication...
8
+ [2026-03-25T09:50:44.692Z] [INFO] Opening browser for authentication: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=14d82eec-204b-4c2f-b7e8-296a70dab67e&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A60466&scope=User.Read+Mail.Read+Mail.ReadWrite+Mail.Send+Calendars.Read+Calendars.ReadWrite+Tasks.Read+Files.Read+Contacts.Read+offline_access&code_challenge=jYqkM9X3HX_jFcQp34zCfdgAOEKyGlQ8zFLmAeX4_ZA&code_challenge_method=S256&response_mode=query
9
+ [2026-03-25T09:51:50.141Z] [INFO] Starting Lokka Multi-Microsoft API MCP Server (v0.2.0 - Token-Based Auth Support)
10
+ [2026-03-25T09:51:50.142Z] [INFO] Starting Lokka Multi-Microsoft API MCP Server (v0.2.0 - Token-Based Auth Support)
11
+ [2026-03-25T09:51:50.142Z] [INFO] Starting Lokka Multi-Microsoft API MCP Server (v0.2.0 - Token-Based Auth Support)
12
+ [2026-03-25T09:51:50.141Z] [INFO] Starting Lokka Multi-Microsoft API MCP Server (v0.2.0 - Token-Based Auth Support)
13
+ [2026-03-25T09:51:50.142Z] [INFO] Starting Lokka Multi-Microsoft API MCP Server (v0.2.0 - Token-Based Auth Support)
14
+ [2026-03-25T09:51:50.141Z] [INFO] Starting Lokka Multi-Microsoft API MCP Server (v0.2.0 - Token-Based Auth Support)
15
+ [2026-03-25T09:51:50.153Z] [INFO] Graph API default version: beta (USE_GRAPH_BETA=undefined)
16
+ [2026-03-25T09:51:50.153Z] [INFO] Graph API default version: beta (USE_GRAPH_BETA=undefined)
17
+ [2026-03-25T09:51:50.153Z] [INFO] Graph API default version: beta (USE_GRAPH_BETA=undefined)
18
+ [2026-03-25T09:51:50.163Z] [INFO] No cached token found, persistent token mode will open browser for initial auth.
19
+ [2026-03-25T09:51:50.163Z] [INFO] No cached token found, persistent token mode will open browser for initial auth.
20
+ [2026-03-25T09:51:50.167Z] [INFO] Starting with authentication mode: persistent_token
21
+ [2026-03-25T09:51:50.167Z] [INFO] Starting with authentication mode: persistent_token
22
+ [2026-03-25T09:51:50.153Z] [INFO] Graph API default version: beta (USE_GRAPH_BETA=undefined)
23
+ [2026-03-25T09:51:50.153Z] [INFO] Graph API default version: beta (USE_GRAPH_BETA=undefined)
24
+ [2026-03-25T09:51:50.167Z] [INFO] No cached token found, persistent token mode will open browser for initial auth.
25
+ [2026-03-25T09:51:50.153Z] [INFO] Graph API default version: beta (USE_GRAPH_BETA=undefined)
26
+ [2026-03-25T09:51:50.173Z] [INFO] persistent_token mode using tenant ID: common, client ID: 14d82eec-204b-4c2f-b7e8-296a70dab67e
27
+ [2026-03-25T09:51:50.173Z] [INFO] persistent_token mode using tenant ID: common, client ID: 14d82eec-204b-4c2f-b7e8-296a70dab67e
28
+ [2026-03-25T09:51:50.173Z] [INFO] No cached token found, persistent token mode will open browser for initial auth.
29
+ [2026-03-25T09:51:50.173Z] [INFO] Starting with authentication mode: persistent_token
30
+ [2026-03-25T09:51:50.174Z] [INFO] No cached token found, persistent token mode will open browser for initial auth.
31
+ [2026-03-25T09:51:50.173Z] [INFO] No cached token found, persistent token mode will open browser for initial auth.
32
+ [2026-03-25T09:51:50.180Z] [INFO] persistent_token mode using tenant ID: common, client ID: 14d82eec-204b-4c2f-b7e8-296a70dab67e
33
+ [2026-03-25T09:51:50.180Z] [INFO] Starting with authentication mode: persistent_token
34
+ [2026-03-25T09:51:50.180Z] [INFO] Initializing Persistent Token authentication (cached token with silent refresh)
35
+ [2026-03-25T09:51:50.180Z] [INFO] Initializing Persistent Token authentication (cached token with silent refresh)
36
+ [2026-03-25T09:51:50.180Z] [INFO] Starting with authentication mode: persistent_token
37
+ [2026-03-25T09:51:50.180Z] [INFO] Starting with authentication mode: persistent_token
38
+ [2026-03-25T09:51:50.191Z] [INFO] persistent_token mode using tenant ID: common, client ID: 14d82eec-204b-4c2f-b7e8-296a70dab67e
39
+ [2026-03-25T09:51:50.191Z] [INFO] persistent_token mode using tenant ID: common, client ID: 14d82eec-204b-4c2f-b7e8-296a70dab67e
40
+ [2026-03-25T09:51:50.191Z] [INFO] Initializing Persistent Token authentication (cached token with silent refresh)
41
+ [2026-03-25T09:51:50.191Z] [INFO] No cached token found, starting interactive authentication...
42
+ [2026-03-25T09:51:50.191Z] [INFO] persistent_token mode using tenant ID: common, client ID: 14d82eec-204b-4c2f-b7e8-296a70dab67e
43
+ [2026-03-25T09:51:50.191Z] [INFO] No cached token found, starting interactive authentication...
44
+ [2026-03-25T09:51:50.198Z] [INFO] No cached token found, starting interactive authentication...
45
+ [2026-03-25T09:51:50.203Z] [INFO] Opening browser for authentication: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=14d82eec-204b-4c2f-b7e8-296a70dab67e&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A60587&scope=User.Read+Mail.Read+Mail.ReadWrite+Mail.Send+Calendars.Read+Calendars.ReadWrite+Tasks.Read+Files.Read+Contacts.Read+offline_access&code_challenge=AAQzL6t9Dvvto3QeWv8BaDLoJlugzlTUzKSd0gW33zs&code_challenge_method=S256&response_mode=query
46
+ [2026-03-25T09:51:50.198Z] [INFO] Initializing Persistent Token authentication (cached token with silent refresh)
47
+ [2026-03-25T09:51:50.203Z] [INFO] Opening browser for authentication: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=14d82eec-204b-4c2f-b7e8-296a70dab67e&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A60586&scope=User.Read+Mail.Read+Mail.ReadWrite+Mail.Send+Calendars.Read+Calendars.ReadWrite+Tasks.Read+Files.Read+Contacts.Read+offline_access&code_challenge=5gk9qn-r11bZi1JC-S5Sl1DRzrl-esJVQ8vflTLvjqg&code_challenge_method=S256&response_mode=query
48
+ [2026-03-25T09:51:50.198Z] [INFO] Initializing Persistent Token authentication (cached token with silent refresh)
49
+ [2026-03-25T09:51:50.198Z] [INFO] Initializing Persistent Token authentication (cached token with silent refresh)
50
+ [2026-03-25T09:51:50.236Z] [INFO] Opening browser for authentication: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=14d82eec-204b-4c2f-b7e8-296a70dab67e&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A60589&scope=User.Read+Mail.Read+Mail.ReadWrite+Mail.Send+Calendars.Read+Calendars.ReadWrite+Tasks.Read+Files.Read+Contacts.Read+offline_access&code_challenge=gLsw9vdCQe9I42L6QZinwITI3gsZOHoOV44NQohlZCw&code_challenge_method=S256&response_mode=query
51
+ [2026-03-25T09:51:50.230Z] [INFO] No cached token found, starting interactive authentication...
52
+ [2026-03-25T09:51:50.230Z] [INFO] No cached token found, starting interactive authentication...
53
+ [2026-03-25T09:51:50.230Z] [INFO] No cached token found, starting interactive authentication...
54
+ [2026-03-25T09:51:50.321Z] [INFO] Opening browser for authentication: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=14d82eec-204b-4c2f-b7e8-296a70dab67e&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A60590&scope=User.Read+Mail.Read+Mail.ReadWrite+Mail.Send+Calendars.Read+Calendars.ReadWrite+Tasks.Read+Files.Read+Contacts.Read+offline_access&code_challenge=ArTGdvKRXijfHGE9rkYeSItyOxb2eHgqcchhAX4xKyc&code_challenge_method=S256&response_mode=query
55
+ [2026-03-25T09:51:50.321Z] [INFO] Opening browser for authentication: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=14d82eec-204b-4c2f-b7e8-296a70dab67e&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A60592&scope=User.Read+Mail.Read+Mail.ReadWrite+Mail.Send+Calendars.Read+Calendars.ReadWrite+Tasks.Read+Files.Read+Contacts.Read+offline_access&code_challenge=10W2jE9WAjHd2kbLMQzr-IUrY8vK6AnBKSVIcYdi_Fg&code_challenge_method=S256&response_mode=query
56
+ [2026-03-25T09:51:50.321Z] [INFO] Opening browser for authentication: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=14d82eec-204b-4c2f-b7e8-296a70dab67e&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A60591&scope=User.Read+Mail.Read+Mail.ReadWrite+Mail.Send+Calendars.Read+Calendars.ReadWrite+Tasks.Read+Files.Read+Contacts.Read+offline_access&code_challenge=32i8Kwc1G-nVCvhC56lIdIWksbChiwDsbHWkaXrk7LI&code_challenge_method=S256&response_mode=query
57
+ [2026-03-25T09:51:53.039Z] [INFO] Token saved to disk
58
+ [2026-03-25T09:51:53.055Z] [INFO] Authentication successful
59
+ [2026-03-25T09:51:53.089Z] [INFO] Authentication initialized successfully using persistent_token mode
60
+ [2026-03-25T09:52:22.247Z] [INFO] Starting Lokka Multi-Microsoft API MCP Server (v0.2.0 - Token-Based Auth Support)
61
+ [2026-03-25T09:52:22.261Z] [INFO] Graph API default version: beta (USE_GRAPH_BETA=undefined)
62
+ [2026-03-25T09:52:22.272Z] [INFO] Found cached token file, using persistent token mode (silent refresh).
63
+ [2026-03-25T09:52:22.286Z] [INFO] Starting with authentication mode: persistent_token
64
+ [2026-03-25T09:52:22.291Z] [INFO] persistent_token mode using tenant ID: common, client ID: 14d82eec-204b-4c2f-b7e8-296a70dab67e
65
+ [2026-03-25T09:52:22.295Z] [INFO] Initializing Persistent Token authentication (cached token with silent refresh)
66
+ [2026-03-25T09:52:22.299Z] [INFO] Authentication successful
67
+ [2026-03-25T09:52:22.302Z] [INFO] Authentication initialized successfully using persistent_token mode
68
+ [2026-03-25T09:52:52.458Z] [INFO] Executing Lokka-Microsoft tool with params: apiType=graph, path=/me/mailFolders, method=get, graphApiVersion=beta, fetchAll=false, consistencyLevel=undefined
69
+ [2026-03-25T09:52:52.467Z] [INFO] Fetching single page for Graph path: /me/mailFolders
70
+ [2026-03-25T09:53:35.710Z] [INFO] Executing Lokka-Microsoft tool with params: apiType=graph, path=/me/mailFolders/AAMkADhmYjEwOGU4LTQxNTYtNDcyYS1iNzdmLTIwMzlkZTBmYzEyOQAuAAAAAABYPHK-KdhxRJXKr0kf_85ZAQBuhc1TWDVYQJr5CUt2TrjIAAPDmhtfAAA=/messages, method=get, graphApiVersion=beta, fetchAll=false, consistencyLevel=undefined
71
+ [2026-03-25T09:53:35.720Z] [INFO] Fetching single page for Graph path: /me/mailFolders/AAMkADhmYjEwOGU4LTQxNTYtNDcyYS1iNzdmLTIwMzlkZTBmYzEyOQAuAAAAAABYPHK-KdhxRJXKr0kf_85ZAQBuhc1TWDVYQJr5CUt2TrjIAAPDmhtfAAA=/messages
72
+ [2026-03-25T09:53:50.231Z] [ERROR] Authentication test failed
73
+ {}
74
+ [2026-03-25T09:53:50.234Z] [ERROR] Fatal error in main()
75
+ {}
76
+ [2026-03-25T09:53:50.318Z] [ERROR] Authentication test failed
77
+ {}
78
+ [2026-03-25T09:53:50.337Z] [ERROR] Fatal error in main()
79
+ {}
80
+ [2026-03-25T09:54:00.486Z] [INFO] Executing Lokka-Microsoft tool with params: apiType=graph, path=/me/messages/AAMkADhmYjEwOGU4LTQxNTYtNDcyYS1iNzdmLTIwMzlkZTBmYzEyOQBGAAAAAABYPHK-KdhxRJXKr0kf_85ZBwBuhc1TWDVYQJr5CUt2TrjIAAPDmhtfAABuhc1TWDVYQJr5CUt2TrjIAAa2VmkbAAA=, method=get, graphApiVersion=beta, fetchAll=false, consistencyLevel=undefined
81
+ [2026-03-25T09:54:00.497Z] [INFO] Fetching single page for Graph path: /me/messages/AAMkADhmYjEwOGU4LTQxNTYtNDcyYS1iNzdmLTIwMzlkZTBmYzEyOQBGAAAAAABYPHK-KdhxRJXKr0kf_85ZBwBuhc1TWDVYQJr5CUt2TrjIAAPDmhtfAABuhc1TWDVYQJr5CUt2TrjIAAa2VmkbAAA=
82
+ [2026-03-25T09:54:02.264Z] [INFO] Executing Lokka-Microsoft tool with params: apiType=graph, path=/me/messages/AAMkADhmYjEwOGU4LTQxNTYtNDcyYS1iNzdmLTIwMzlkZTBmYzEyOQBGAAAAAABYPHK-KdhxRJXKr0kf_85ZBwBuhc1TWDVYQJr5CUt2TrjIAAPDmhtfAABuhc1TWDVYQJr5CUt2TrjIAAa2LK6JAAA=, method=get, graphApiVersion=beta, fetchAll=false, consistencyLevel=undefined
83
+ [2026-03-25T09:54:02.276Z] [INFO] Fetching single page for Graph path: /me/messages/AAMkADhmYjEwOGU4LTQxNTYtNDcyYS1iNzdmLTIwMzlkZTBmYzEyOQBGAAAAAABYPHK-KdhxRJXKr0kf_85ZBwBuhc1TWDVYQJr5CUt2TrjIAAPDmhtfAABuhc1TWDVYQJr5CUt2TrjIAAa2LK6JAAA=
84
+ [2026-03-25T09:57:03.028Z] [INFO] Executing Lokka-Microsoft tool with params: apiType=graph, path=/me/mailFolders, method=get, graphApiVersion=beta, fetchAll=false, consistencyLevel=undefined
85
+ [2026-03-25T09:57:03.035Z] [INFO] Fetching single page for Graph path: /me/mailFolders
86
+ [2026-03-25T09:57:09.207Z] [INFO] Executing Lokka-Microsoft tool with params: apiType=graph, path=/me/mailFolders/AAMkADhmYjEwOGU4LTQxNTYtNDcyYS1iNzdmLTIwMzlkZTBmYzEyOQAuAAAAAABYPHK-KdhxRJXKr0kf_85ZAQBuhc1TWDVYQJr5CUt2TrjIAAPDmhtfAAA=/messages, method=get, graphApiVersion=beta, fetchAll=false, consistencyLevel=undefined
87
+ [2026-03-25T09:57:09.208Z] [INFO] Fetching single page for Graph path: /me/mailFolders/AAMkADhmYjEwOGU4LTQxNTYtNDcyYS1iNzdmLTIwMzlkZTBmYzEyOQAuAAAAAABYPHK-KdhxRJXKr0kf_85ZAQBuhc1TWDVYQJr5CUt2TrjIAAPDmhtfAAA=/messages
88
+ [2026-03-25T10:36:36.921Z] [INFO] Executing Lokka-Microsoft tool with params: apiType=graph, path=/me/mailFolders, method=get, graphApiVersion=beta, fetchAll=false, consistencyLevel=eventual
89
+ [2026-03-25T10:36:36.927Z] [INFO] Added ConsistencyLevel header: eventual
90
+ [2026-03-25T10:36:36.936Z] [INFO] Fetching single page for Graph path: /me/mailFolders
91
+ [2026-03-25T10:36:45.959Z] [INFO] Executing Lokka-Microsoft tool with params: apiType=graph, path=/me/mailFolders/AAMkADhmYjEwOGU4LTQxNTYtNDcyYS1iNzdmLTIwMzlkZTBmYzEyOQAuAAAAAABYPHK-KdhxRJXKr0kf_85ZAQBuhc1TWDVYQJr5CUt2TrjIAAacVggFAAA=/messages, method=get, graphApiVersion=beta, fetchAll=false, consistencyLevel=undefined
92
+ [2026-03-25T10:36:45.968Z] [INFO] Fetching single page for Graph path: /me/mailFolders/AAMkADhmYjEwOGU4LTQxNTYtNDcyYS1iNzdmLTIwMzlkZTBmYzEyOQAuAAAAAABYPHK-KdhxRJXKr0kf_85ZAQBuhc1TWDVYQJr5CUt2TrjIAAacVggFAAA=/messages
93
+ [2026-03-25T10:36:58.624Z] [INFO] Executing Lokka-Microsoft tool with params: apiType=graph, path=/me/messages/AAMkADhmYjEwOGU4LTQxNTYtNDcyYS1iNzdmLTIwMzlkZTBmYzEyOQBGAAAAAABYPHK-KdhxRJXKr0kf_85ZBwBuhc1TWDVYQJr5CUt2TrjIAAacVggFAABuhc1TWDVYQJr5CUt2TrjIAAalO28-AAA=, method=get, graphApiVersion=beta, fetchAll=false, consistencyLevel=undefined
94
+ [2026-03-25T10:36:58.633Z] [INFO] Fetching single page for Graph path: /me/messages/AAMkADhmYjEwOGU4LTQxNTYtNDcyYS1iNzdmLTIwMzlkZTBmYzEyOQBGAAAAAABYPHK-KdhxRJXKr0kf_85ZBwBuhc1TWDVYQJr5CUt2TrjIAAacVggFAABuhc1TWDVYQJr5CUt2TrjIAAalO28-AAA=
95
+ [2026-03-25T10:36:58.797Z] [INFO] Executing Lokka-Microsoft tool with params: apiType=graph, path=/me/messages/AAMkADhmYjEwOGU4LTQxNTYtNDcyYS1iNzdmLTIwMzlkZTBmYzEyOQBGAAAAAABYPHK-KdhxRJXKr0kf_85ZBwBuhc1TWDVYQJr5CUt2TrjIAAacVggFAABuhc1TWDVYQJr5CUt2TrjIAAalO29CAAA=, method=get, graphApiVersion=beta, fetchAll=false, consistencyLevel=undefined
96
+ [2026-03-25T10:36:58.808Z] [INFO] Fetching single page for Graph path: /me/messages/AAMkADhmYjEwOGU4LTQxNTYtNDcyYS1iNzdmLTIwMzlkZTBmYzEyOQBGAAAAAABYPHK-KdhxRJXKr0kf_85ZBwBuhc1TWDVYQJr5CUt2TrjIAAacVggFAABuhc1TWDVYQJr5CUt2TrjIAAalO29CAAA=
97
+ [2026-03-25T10:36:58.942Z] [INFO] Executing Lokka-Microsoft tool with params: apiType=graph, path=/me/messages/AAMkADhmYjEwOGU4LTQxNTYtNDcyYS1iNzdmLTIwMzlkZTBmYzEyOQBGAAAAAABYPHK-KdhxRJXKr0kf_85ZBwBuhc1TWDVYQJr5CUt2TrjIAAacVggFAABuhc1TWDVYQJr5CUt2TrjIAAanFbZLAAA=, method=get, graphApiVersion=beta, fetchAll=false, consistencyLevel=undefined
98
+ [2026-03-25T10:36:58.958Z] [INFO] Fetching single page for Graph path: /me/messages/AAMkADhmYjEwOGU4LTQxNTYtNDcyYS1iNzdmLTIwMzlkZTBmYzEyOQBGAAAAAABYPHK-KdhxRJXKr0kf_85ZBwBuhc1TWDVYQJr5CUt2TrjIAAacVggFAABuhc1TWDVYQJr5CUt2TrjIAAanFbZLAAA=
99
+ [2026-03-25T10:36:59.118Z] [INFO] Executing Lokka-Microsoft tool with params: apiType=graph, path=/me/messages/AAMkADhmYjEwOGU4LTQxNTYtNDcyYS1iNzdmLTIwMzlkZTBmYzEyOQBGAAAAAABYPHK-KdhxRJXKr0kf_85ZBwBuhc1TWDVYQJr5CUt2TrjIAAacVggFAABuhc1TWDVYQJr5CUt2TrjIAAa2VdcWAAA=, method=get, graphApiVersion=beta, fetchAll=false, consistencyLevel=undefined
100
+ [2026-03-25T10:36:59.126Z] [INFO] Fetching single page for Graph path: /me/messages/AAMkADhmYjEwOGU4LTQxNTYtNDcyYS1iNzdmLTIwMzlkZTBmYzEyOQBGAAAAAABYPHK-KdhxRJXKr0kf_85ZBwBuhc1TWDVYQJr5CUt2TrjIAAacVggFAABuhc1TWDVYQJr5CUt2TrjIAAa2VdcWAAA=
101
+ [2026-03-25T10:43:09.032Z] [INFO] Starting Lokka Multi-Microsoft API MCP Server (v0.2.0 - Token-Based Auth Support)
102
+ [2026-03-25T10:43:09.032Z] [INFO] Starting Lokka Multi-Microsoft API MCP Server (v0.2.0 - Token-Based Auth Support)
103
+ [2026-03-25T10:43:09.036Z] [INFO] Graph API default version: beta (USE_GRAPH_BETA=undefined)
104
+ [2026-03-25T10:43:09.036Z] [INFO] Graph API default version: beta (USE_GRAPH_BETA=undefined)
105
+ [2026-03-25T10:43:09.040Z] [INFO] Found cached token file, using persistent token mode (silent refresh).
106
+ [2026-03-25T10:43:09.040Z] [INFO] Found cached token file, using persistent token mode (silent refresh).
107
+ [2026-03-25T10:43:09.047Z] [INFO] Starting with authentication mode: persistent_token
108
+ [2026-03-25T10:43:09.047Z] [INFO] Starting with authentication mode: persistent_token
109
+ [2026-03-25T10:43:09.050Z] [INFO] persistent_token mode using tenant ID: common, client ID: 14d82eec-204b-4c2f-b7e8-296a70dab67e
110
+ [2026-03-25T10:43:09.050Z] [INFO] persistent_token mode using tenant ID: common, client ID: 14d82eec-204b-4c2f-b7e8-296a70dab67e
111
+ [2026-03-25T10:43:09.066Z] [INFO] Initializing Persistent Token authentication (cached token with silent refresh)
112
+ [2026-03-25T10:43:09.066Z] [INFO] Initializing Persistent Token authentication (cached token with silent refresh)
113
+ [2026-03-25T10:43:09.075Z] [INFO] Authentication successful
114
+ [2026-03-25T10:43:09.075Z] [INFO] Authentication successful
115
+ [2026-03-25T10:43:09.085Z] [INFO] Authentication initialized successfully using persistent_token mode
116
+ [2026-03-25T10:43:09.085Z] [INFO] Authentication initialized successfully using persistent_token mode
117
+ [2026-03-25T10:43:09.196Z] [INFO] Starting Lokka Multi-Microsoft API MCP Server (v0.2.0 - Token-Based Auth Support)
118
+ [2026-03-25T10:43:09.196Z] [INFO] Starting Lokka Multi-Microsoft API MCP Server (v0.2.0 - Token-Based Auth Support)
119
+ [2026-03-25T10:43:09.197Z] [INFO] Graph API default version: beta (USE_GRAPH_BETA=undefined)
120
+ [2026-03-25T10:43:09.198Z] [INFO] Graph API default version: beta (USE_GRAPH_BETA=undefined)
121
+ [2026-03-25T10:43:09.201Z] [INFO] Found cached token file, using persistent token mode (silent refresh).
122
+ [2026-03-25T10:43:09.201Z] [INFO] Found cached token file, using persistent token mode (silent refresh).
123
+ [2026-03-25T10:43:09.203Z] [INFO] Starting with authentication mode: persistent_token
124
+ [2026-03-25T10:43:09.203Z] [INFO] Starting with authentication mode: persistent_token
125
+ [2026-03-25T10:43:09.205Z] [INFO] persistent_token mode using tenant ID: common, client ID: 14d82eec-204b-4c2f-b7e8-296a70dab67e
126
+ [2026-03-25T10:43:09.205Z] [INFO] persistent_token mode using tenant ID: common, client ID: 14d82eec-204b-4c2f-b7e8-296a70dab67e
127
+ [2026-03-25T10:43:09.208Z] [INFO] Initializing Persistent Token authentication (cached token with silent refresh)
128
+ [2026-03-25T10:43:09.208Z] [INFO] Initializing Persistent Token authentication (cached token with silent refresh)
129
+ [2026-03-25T10:43:09.210Z] [INFO] Authentication successful
130
+ [2026-03-25T10:43:09.210Z] [INFO] Authentication successful
131
+ [2026-03-25T10:43:09.213Z] [INFO] Authentication initialized successfully using persistent_token mode
132
+ [2026-03-25T10:43:09.213Z] [INFO] Authentication initialized successfully using persistent_token mode
133
+ [2026-03-25T10:43:20.296Z] [INFO] Starting Lokka Multi-Microsoft API MCP Server (v0.2.0 - Token-Based Auth Support)
134
+ [2026-03-25T10:43:20.296Z] [INFO] Starting Lokka Multi-Microsoft API MCP Server (v0.2.0 - Token-Based Auth Support)
135
+ [2026-03-25T10:43:20.303Z] [INFO] Graph API default version: beta (USE_GRAPH_BETA=undefined)
136
+ [2026-03-25T10:43:20.303Z] [INFO] Graph API default version: beta (USE_GRAPH_BETA=undefined)
137
+ [2026-03-25T10:43:20.310Z] [INFO] Found cached token file, using persistent token mode (silent refresh).
138
+ [2026-03-25T10:43:20.310Z] [INFO] Found cached token file, using persistent token mode (silent refresh).
139
+ [2026-03-25T10:43:20.316Z] [INFO] Starting with authentication mode: persistent_token
140
+ [2026-03-25T10:43:20.316Z] [INFO] Starting with authentication mode: persistent_token
141
+ [2026-03-25T10:43:20.321Z] [INFO] persistent_token mode using tenant ID: common, client ID: 14d82eec-204b-4c2f-b7e8-296a70dab67e
142
+ [2026-03-25T10:43:20.321Z] [INFO] persistent_token mode using tenant ID: common, client ID: 14d82eec-204b-4c2f-b7e8-296a70dab67e
143
+ [2026-03-25T10:43:20.324Z] [INFO] Initializing Persistent Token authentication (cached token with silent refresh)
144
+ [2026-03-25T10:43:20.324Z] [INFO] Initializing Persistent Token authentication (cached token with silent refresh)
145
+ [2026-03-25T10:43:20.328Z] [INFO] Authentication successful
146
+ [2026-03-25T10:43:20.328Z] [INFO] Authentication successful
147
+ [2026-03-25T10:43:20.331Z] [INFO] Authentication initialized successfully using persistent_token mode
148
+ [2026-03-25T10:43:20.331Z] [INFO] Authentication initialized successfully using persistent_token mode
package/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "@bugroger/lokka",
3
+ "version": "0.3.5",
4
+ "description": "Lokka is a Model Context Protocol (MCP) server for Microsoft Graph.",
5
+ "license": "MIT",
6
+ "author": "Merill",
7
+ "homepage": "https://lokka.dev",
8
+ "bugs": "https://github.com/merill/lokka/issues",
9
+ "main": "main.js",
10
+ "type": "module",
11
+ "keywords": [
12
+ "mcp",
13
+ "graph",
14
+ "microsoft",
15
+ "graph",
16
+ "model",
17
+ "context",
18
+ "protocol"
19
+ ],
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/merill/lokka.git",
23
+ "directory": "src/mcp"
24
+ },
25
+ "bin": {
26
+ "lokka": "build/main.js"
27
+ },
28
+ "scripts": {
29
+ "build": "tsc",
30
+ "build:unix": "tsc && chmod 755 build/main.js",
31
+ "demo:token": "node build/demo-token-auth.js",
32
+ "test:token": "node build/test-token-auth.js",
33
+ "test:simple": "node build/simple-token-test.js",
34
+ "test:live": "node build/live-test.js",
35
+ "start": "node build/main.js"
36
+ },
37
+ "files": [
38
+ "build"
39
+ ],
40
+ "dependencies": {
41
+ "@azure/identity": "^4.3.0",
42
+ "@microsoft/microsoft-graph-client": "^3.0.7",
43
+ "@modelcontextprotocol/sdk": "^1.7.0",
44
+ "@types/jsonwebtoken": "^9.0.10",
45
+ "isomorphic-fetch": "^3.0.0",
46
+ "jsonwebtoken": "^9.0.2",
47
+ "zod": "^3.24.2"
48
+ },
49
+ "devDependencies": {
50
+ "@types/isomorphic-fetch": "^0.0.39",
51
+ "@types/node": "^22.13.17",
52
+ "typescript": "^5.8.2"
53
+ }
54
+ }