workspace-mcp 0.2.0__py3-none-any.whl → 1.0.0__py3-none-any.whl
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.
- core/server.py +7 -2
- main.py +6 -1
- {workspace_mcp-0.2.0.dist-info → workspace_mcp-1.0.0.dist-info}/METADATA +1 -1
- {workspace_mcp-0.2.0.dist-info → workspace_mcp-1.0.0.dist-info}/RECORD +8 -8
- workspace_mcp-1.0.0.dist-info/entry_points.txt +2 -0
- workspace_mcp-0.2.0.dist-info/entry_points.txt +0 -2
- {workspace_mcp-0.2.0.dist-info → workspace_mcp-1.0.0.dist-info}/WHEEL +0 -0
- {workspace_mcp-0.2.0.dist-info → workspace_mcp-1.0.0.dist-info}/licenses/LICENSE +0 -0
- {workspace_mcp-0.2.0.dist-info → workspace_mcp-1.0.0.dist-info}/top_level.txt +0 -0
core/server.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import logging
|
2
2
|
import os
|
3
3
|
from typing import Dict, Any, Optional
|
4
|
+
from importlib import metadata
|
4
5
|
|
5
6
|
from fastapi import Header
|
6
7
|
from fastapi.responses import HTMLResponse
|
@@ -84,10 +85,14 @@ def get_oauth_redirect_uri_for_current_mode() -> str:
|
|
84
85
|
async def health_check(request: Request):
|
85
86
|
"""Health check endpoint for container orchestration."""
|
86
87
|
from fastapi.responses import JSONResponse
|
88
|
+
try:
|
89
|
+
version = metadata.version("google-workspace-mcp")
|
90
|
+
except metadata.PackageNotFoundError:
|
91
|
+
version = "dev"
|
87
92
|
return JSONResponse({
|
88
93
|
"status": "healthy",
|
89
|
-
"service": "google-workspace-mcp",
|
90
|
-
"version":
|
94
|
+
"service": "google-workspace-mcp",
|
95
|
+
"version": version,
|
91
96
|
"transport": _current_transport_mode
|
92
97
|
})
|
93
98
|
|
main.py
CHANGED
@@ -2,6 +2,7 @@ import argparse
|
|
2
2
|
import logging
|
3
3
|
import os
|
4
4
|
import sys
|
5
|
+
from importlib import metadata
|
5
6
|
|
6
7
|
# Local imports
|
7
8
|
from core.server import server, set_transport_mode
|
@@ -55,7 +56,11 @@ def main():
|
|
55
56
|
print("🔧 Google Workspace MCP Server")
|
56
57
|
print("=" * 35)
|
57
58
|
print("📋 Server Information:")
|
58
|
-
|
59
|
+
try:
|
60
|
+
version = metadata.version("google-workspace-mcp")
|
61
|
+
except metadata.PackageNotFoundError:
|
62
|
+
version = "dev"
|
63
|
+
print(f" 📦 Version: {version}")
|
59
64
|
print(f" 🌐 Transport: {args.transport}")
|
60
65
|
if args.transport == 'streamable-http':
|
61
66
|
print(f" 🔗 URL: {base_uri}:{port}")
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: workspace-mcp
|
3
|
-
Version: 0.
|
3
|
+
Version: 1.0.0
|
4
4
|
Summary: Comprehensive, highly performant Google Workspace Streamable HTTP & SSE MCP Server for Calendar, Gmail, Docs, Sheets, Slides & Drive
|
5
5
|
Author-email: Taylor Wilsdon <taylor@taylorwilsdon.com>
|
6
6
|
License-Expression: MIT
|
@@ -1,4 +1,4 @@
|
|
1
|
-
main.py,sha256=
|
1
|
+
main.py,sha256=drNfzWJrtGRn6o5pHZ06rgqyDpA4pn3IaRb0Po1CGVE,6819
|
2
2
|
auth/__init__.py,sha256=gPCU3GE-SLy91S3D3CbX-XfKBm6hteK_VSPKx7yjT5s,42
|
3
3
|
auth/google_auth.py,sha256=OdKFI7kW-R0peZutv9VXCnDvxH5jAtbeFYiXK9sxqjQ,25998
|
4
4
|
auth/oauth_callback_server.py,sha256=-vaaLO9f7oz6QsHUXjRFHjlEleFm0Y9ccBB33YX22wQ,9177
|
@@ -6,7 +6,7 @@ auth/oauth_responses.py,sha256=qbirSB4d7mBRKcJKqGLrJxRAPaLHqObf9t-VMAq6UKA,7020
|
|
6
6
|
auth/scopes.py,sha256=kMRdFN0wLyipFkp7IitTHs-M6zhZD-oieVd7fylueBc,3320
|
7
7
|
auth/service_decorator.py,sha256=jux1Fboa_ncau_5XcGekSpuD1USPvmIpDu9hNBA15Vk,15267
|
8
8
|
core/__init__.py,sha256=AHVKdPl6v4lUFm2R-KuGuAgEmCyfxseMeLGtntMcqCs,43
|
9
|
-
core/server.py,sha256=
|
9
|
+
core/server.py,sha256=VWlzRfhX1qsy2ZtGVbrokdcrKjbA-ri421_lyngxQc0,9846
|
10
10
|
core/utils.py,sha256=Xsc2E0LSQl-tjcC95CtnmNFTJi8K8iwJvTUIjbRtu4o,8830
|
11
11
|
gcalendar/__init__.py,sha256=D5fSdAwbeomoaj7XAdxSnIy-NVKNkpExs67175bOtfc,46
|
12
12
|
gcalendar/calendar_tools.py,sha256=ptS_iyi6JBPhstbdPnRD5ruZtKzkAEbfaimiPabYLTo,20982
|
@@ -24,9 +24,9 @@ gsheets/__init__.py,sha256=jFfhD52w_EOVw6N5guf_dIc9eP2khW_eS9UAPJg_K3k,446
|
|
24
24
|
gsheets/sheets_tools.py,sha256=mZU7kf3kRRhjz406rDBlVtwNMAjye2F81W1cveXlBFY,14481
|
25
25
|
gslides/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
26
26
|
gslides/slides_tools.py,sha256=NAkApdjkX7GtZRksy7fLmjmbsa1khkeAJKNN6NZe0t8,11846
|
27
|
-
workspace_mcp-0.
|
28
|
-
workspace_mcp-0.
|
29
|
-
workspace_mcp-0.
|
30
|
-
workspace_mcp-0.
|
31
|
-
workspace_mcp-0.
|
32
|
-
workspace_mcp-0.
|
27
|
+
workspace_mcp-1.0.0.dist-info/licenses/LICENSE,sha256=bB8L7rIyRy5o-WHxGgvRuY8hUTzNu4h3DTkvyV8XFJo,1070
|
28
|
+
workspace_mcp-1.0.0.dist-info/METADATA,sha256=j3LAXMvMJu8znnKW4fWCGI16kLsufmBhVuTxAUJ9-_w,1287
|
29
|
+
workspace_mcp-1.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
30
|
+
workspace_mcp-1.0.0.dist-info/entry_points.txt,sha256=kPiEfOTuf-ptDM0Rf2OlyrFudGW7hCZGg4MCn2Foxs4,44
|
31
|
+
workspace_mcp-1.0.0.dist-info/top_level.txt,sha256=Y8mAkTitLNE2zZEJ-DbqR9R7Cs1V1MMf-UploVdOvlw,73
|
32
|
+
workspace_mcp-1.0.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|