@mutallip/google-workspace-mcp 0.0.0-stage → 2.8.0
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.
- package/LICENSE +21 -0
- package/README.md +353 -2
- package/README.npm.md +28 -0
- package/auth/__init__.py +1 -0
- package/auth/auth_info_middleware.py +419 -0
- package/auth/client_secrets.py +76 -0
- package/auth/credential_store.py +598 -0
- package/auth/external_oauth_provider.py +369 -0
- package/auth/gateway_identity.py +164 -0
- package/auth/google_auth.py +1550 -0
- package/auth/google_oauth_provider.py +20 -0
- package/auth/mcp_session_middleware.py +95 -0
- package/auth/oauth21_session_store.py +1332 -0
- package/auth/oauth_callback_server.py +466 -0
- package/auth/oauth_config.py +693 -0
- package/auth/oauth_proxy_config.py +122 -0
- package/auth/oauth_responses.py +230 -0
- package/auth/oauth_types.py +92 -0
- package/auth/permissions.py +330 -0
- package/auth/port_resolver.py +153 -0
- package/auth/request_identity.py +89 -0
- package/auth/scopes.py +369 -0
- package/auth/service_decorator.py +1109 -0
- package/bin/google-workspace-mcp.cjs +123 -0
- package/core/__init__.py +1 -0
- package/core/api_enablement.py +108 -0
- package/core/attachment_storage.py +496 -0
- package/core/camel_case_middleware.py +98 -0
- package/core/cli.py +161 -0
- package/core/comments.py +609 -0
- package/core/config.py +57 -0
- package/core/context.py +43 -0
- package/core/file_limits.py +632 -0
- package/core/gcs_attachment_storage.py +253 -0
- package/core/http_utils.py +339 -0
- package/core/log_formatter.py +270 -0
- package/core/portable_schema_middleware.py +67 -0
- package/core/server.py +1192 -0
- package/core/startup_ui.py +239 -0
- package/core/storage.py +23 -0
- package/core/telemetry.py +194 -0
- package/core/tool_descriptions.py +19 -0
- package/core/tool_registry.py +311 -0
- package/core/tool_tier_loader.py +197 -0
- package/core/tool_tiers.yaml +179 -0
- package/core/toolset_header_middleware.py +67 -0
- package/core/utils.py +1537 -0
- package/core/valkey_storage.py +271 -0
- package/core/warning_filters.py +19 -0
- package/fastmcp_server.py +198 -0
- package/gappsscript/README.md +512 -0
- package/gappsscript/TESTING.md +254 -0
- package/gappsscript/__init__.py +0 -0
- package/gappsscript/apps_script_tools.py +1940 -0
- package/gcalendar/__init__.py +1 -0
- package/gcalendar/calendar_helpers.py +1323 -0
- package/gcalendar/calendar_tools.py +2252 -0
- package/gchat/__init__.py +7 -0
- package/gchat/chat_helpers.py +410 -0
- package/gchat/chat_tools.py +798 -0
- package/gcontacts/__init__.py +1 -0
- package/gcontacts/contacts_helpers.py +765 -0
- package/gcontacts/contacts_tools.py +1685 -0
- package/gdocs/__init__.py +0 -0
- package/gdocs/docs_anchors.py +163 -0
- package/gdocs/docs_comments.py +89 -0
- package/gdocs/docs_helpers.py +2201 -0
- package/gdocs/docs_links.py +87 -0
- package/gdocs/docs_markdown.py +828 -0
- package/gdocs/docs_markdown_writer.py +592 -0
- package/gdocs/docs_plain_text.py +463 -0
- package/gdocs/docs_structure.py +621 -0
- package/gdocs/docs_tables.py +425 -0
- package/gdocs/docs_tools.py +3300 -0
- package/gdocs/managers/__init__.py +18 -0
- package/gdocs/managers/batch_operation_manager.py +1694 -0
- package/gdocs/managers/header_footer_manager.py +526 -0
- package/gdocs/managers/table_operation_manager.py +488 -0
- package/gdocs/managers/validation_manager.py +1504 -0
- package/gdocs/operation_schemas.py +594 -0
- package/gdrive/__init__.py +0 -0
- package/gdrive/drive_helpers.py +1738 -0
- package/gdrive/drive_tools.py +3085 -0
- package/gforms/__init__.py +3 -0
- package/gforms/forms_tools.py +575 -0
- package/gmail/__init__.py +1 -0
- package/gmail/gmail_helpers.py +2107 -0
- package/gmail/gmail_tools.py +4895 -0
- package/gmail/gmail_web_mime.py +441 -0
- package/gsearch/__init__.py +0 -0
- package/gsearch/search_tools.py +253 -0
- package/gsheets/__init__.py +31 -0
- package/gsheets/sheets_helpers.py +2236 -0
- package/gsheets/sheets_tools.py +3280 -0
- package/gslides/__init__.py +0 -0
- package/gslides/slides_digest.py +390 -0
- package/gslides/slides_helpers.py +392 -0
- package/gslides/slides_markup.py +770 -0
- package/gslides/slides_tools.py +376 -0
- package/gtasks/__init__.py +5 -0
- package/gtasks/tasks_tools.py +936 -0
- package/main.py +1170 -0
- package/package.json +43 -4
- package/pyproject.toml +173 -0
- package/uv.lock +2504 -0
package/package.json
CHANGED
|
@@ -1,6 +1,45 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mutallip/google-workspace-mcp",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "2.8.0",
|
|
4
|
+
"description": "npm launcher for the Google Workspace MCP server",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/mutallipp/google_workspace_mcp.git"
|
|
8
|
+
},
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"type": "commonjs",
|
|
11
|
+
"engines": {
|
|
12
|
+
"node": ">=18"
|
|
13
|
+
},
|
|
14
|
+
"bin": {
|
|
15
|
+
"google-workspace-mcp": "bin/google-workspace-mcp.cjs"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"bin/google-workspace-mcp.cjs",
|
|
19
|
+
"auth/",
|
|
20
|
+
"core/",
|
|
21
|
+
"gmail/",
|
|
22
|
+
"gcalendar/",
|
|
23
|
+
"gchat/",
|
|
24
|
+
"gcontacts/",
|
|
25
|
+
"gdocs/",
|
|
26
|
+
"gdrive/",
|
|
27
|
+
"gforms/",
|
|
28
|
+
"gsearch/",
|
|
29
|
+
"gsheets/",
|
|
30
|
+
"gslides/",
|
|
31
|
+
"gtasks/",
|
|
32
|
+
"gappsscript/",
|
|
33
|
+
"main.py",
|
|
34
|
+
"fastmcp_server.py",
|
|
35
|
+
"pyproject.toml",
|
|
36
|
+
"uv.lock",
|
|
37
|
+
"README.md",
|
|
38
|
+
"README.npm.md",
|
|
39
|
+
"LICENSE"
|
|
40
|
+
],
|
|
41
|
+
"publishConfig": {
|
|
42
|
+
"registry": "https://registry.npmjs.org/",
|
|
43
|
+
"access": "public"
|
|
44
|
+
}
|
|
45
|
+
}
|
package/pyproject.toml
ADDED
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = [ "setuptools==84.2.1", "wheel==0.48.0"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "workspace-mcp"
|
|
7
|
+
version = "2.8.0"
|
|
8
|
+
description = "Comprehensive, highly performant Google Workspace Streamable HTTP & SSE MCP Server for Calendar, Gmail, Docs, Sheets, Slides & Drive"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
keywords = [ "mcp", "google", "workspace", "llm", "ai", "claude", "model", "context", "protocol", "server"]
|
|
11
|
+
license = "MIT"
|
|
12
|
+
requires-python = ">=3.11"
|
|
13
|
+
dependencies = [
|
|
14
|
+
"fastapi>=0.133.0",
|
|
15
|
+
"fastmcp>=4.1.2",
|
|
16
|
+
"google-api-python-client>=2.201.0",
|
|
17
|
+
"google-auth-httplib2>=0.2.0",
|
|
18
|
+
"google-auth-oauthlib>=1.2.2",
|
|
19
|
+
"httpx>=0.28.1",
|
|
20
|
+
"urllib3>=2.8.0",
|
|
21
|
+
"py-key-value-aio>=0.3.0",
|
|
22
|
+
"pyjwt>=2.15.0",
|
|
23
|
+
"python-dotenv>=1.1.0",
|
|
24
|
+
"pyyaml>=6.0.2",
|
|
25
|
+
"cryptography>=50.0.0",
|
|
26
|
+
"defusedxml>=0.7.1",
|
|
27
|
+
"email-validator>=2.0.0",
|
|
28
|
+
"pypdf>=6.21.2",
|
|
29
|
+
"pytz>=2026.1.post1",
|
|
30
|
+
"tzdata>=2026.1",
|
|
31
|
+
"markdown-it-py>=3.0.0",
|
|
32
|
+
]
|
|
33
|
+
classifiers = [
|
|
34
|
+
"Development Status :: 4 - Beta",
|
|
35
|
+
"Environment :: Console",
|
|
36
|
+
"Intended Audience :: Developers",
|
|
37
|
+
"Natural Language :: English",
|
|
38
|
+
"Operating System :: OS Independent",
|
|
39
|
+
"Programming Language :: Python",
|
|
40
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
41
|
+
"Programming Language :: Python :: 3.11",
|
|
42
|
+
"Programming Language :: Python :: 3.12",
|
|
43
|
+
"Programming Language :: Python :: 3.13",
|
|
44
|
+
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
|
|
45
|
+
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
|
|
46
|
+
"Topic :: Software Development :: Libraries :: Application Frameworks",
|
|
47
|
+
"Topic :: Communications :: Chat",
|
|
48
|
+
"Topic :: Office/Business",
|
|
49
|
+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
50
|
+
"Typing :: Typed"
|
|
51
|
+
]
|
|
52
|
+
|
|
53
|
+
[[project.authors]]
|
|
54
|
+
name = "Taylor Wilsdon"
|
|
55
|
+
email = "taylor@taylorwilsdon.com"
|
|
56
|
+
|
|
57
|
+
[project.urls]
|
|
58
|
+
Homepage = "https://workspacemcp.com"
|
|
59
|
+
Repository = "https://github.com/taylorwilsdon/google_workspace_mcp"
|
|
60
|
+
Documentation = "https://github.com/taylorwilsdon/google_workspace_mcp#readme"
|
|
61
|
+
Issues = "https://github.com/taylorwilsdon/google_workspace_mcp/issues"
|
|
62
|
+
Changelog = "https://github.com/taylorwilsdon/google_workspace_mcp/releases"
|
|
63
|
+
|
|
64
|
+
[project.scripts]
|
|
65
|
+
workspace-mcp = "main:main"
|
|
66
|
+
workspace-cli = "core.cli:main"
|
|
67
|
+
|
|
68
|
+
[project.optional-dependencies]
|
|
69
|
+
gcs = [
|
|
70
|
+
"google-cloud-storage>=2.18.0",
|
|
71
|
+
]
|
|
72
|
+
disk = [
|
|
73
|
+
"py-key-value-aio[filetree]>=0.3.0",
|
|
74
|
+
]
|
|
75
|
+
valkey = [
|
|
76
|
+
"py-key-value-aio[valkey]>=0.3.0",
|
|
77
|
+
"valkey-glide>=2.3.0",
|
|
78
|
+
]
|
|
79
|
+
otel = [
|
|
80
|
+
"opentelemetry-sdk>=1.20.0",
|
|
81
|
+
"opentelemetry-exporter-otlp>=1.20.0",
|
|
82
|
+
]
|
|
83
|
+
test = [
|
|
84
|
+
"pytest>=8.3.0",
|
|
85
|
+
"pytest-asyncio>=0.23.0",
|
|
86
|
+
"google-cloud-storage>=2.18.0",
|
|
87
|
+
"opentelemetry-sdk>=1.20.0",
|
|
88
|
+
"opentelemetry-exporter-otlp>=1.20.0",
|
|
89
|
+
"requests>=2.32.3",
|
|
90
|
+
"httpx2>=2.12.0",
|
|
91
|
+
]
|
|
92
|
+
release = [
|
|
93
|
+
"tomlkit>=0.13.3",
|
|
94
|
+
"twine>=5.0.0",
|
|
95
|
+
]
|
|
96
|
+
dev = [
|
|
97
|
+
"pytest>=8.3.0",
|
|
98
|
+
"pytest-asyncio>=0.23.0",
|
|
99
|
+
"google-cloud-storage>=2.18.0",
|
|
100
|
+
"opentelemetry-sdk>=1.20.0",
|
|
101
|
+
"opentelemetry-exporter-otlp>=1.20.0",
|
|
102
|
+
"requests>=2.32.3",
|
|
103
|
+
"httpx2>=2.12.0",
|
|
104
|
+
"ruff>=0.15.22,<0.16",
|
|
105
|
+
"tomlkit>=0.13.3",
|
|
106
|
+
"twine>=5.0.0",
|
|
107
|
+
]
|
|
108
|
+
|
|
109
|
+
[dependency-groups]
|
|
110
|
+
disk = [
|
|
111
|
+
"py-key-value-aio[filetree]>=0.3.0",
|
|
112
|
+
]
|
|
113
|
+
valkey = [
|
|
114
|
+
"py-key-value-aio[valkey]>=0.3.0",
|
|
115
|
+
"valkey-glide>=2.3.0",
|
|
116
|
+
]
|
|
117
|
+
test = [
|
|
118
|
+
"pytest>=8.3.0",
|
|
119
|
+
"pytest-asyncio>=0.23.0",
|
|
120
|
+
"google-cloud-storage>=2.18.0",
|
|
121
|
+
"opentelemetry-sdk>=1.20.0",
|
|
122
|
+
"opentelemetry-exporter-otlp>=1.20.0",
|
|
123
|
+
"requests>=2.32.3",
|
|
124
|
+
"httpx2>=2.12.0",
|
|
125
|
+
]
|
|
126
|
+
release = [
|
|
127
|
+
"tomlkit>=0.13.3",
|
|
128
|
+
"twine>=5.0.0",
|
|
129
|
+
]
|
|
130
|
+
dev = [
|
|
131
|
+
"pytest>=8.3.0",
|
|
132
|
+
"pytest-asyncio>=0.23.0",
|
|
133
|
+
"google-cloud-storage>=2.18.0",
|
|
134
|
+
"opentelemetry-sdk>=1.20.0",
|
|
135
|
+
"opentelemetry-exporter-otlp>=1.20.0",
|
|
136
|
+
"requests>=2.32.3",
|
|
137
|
+
"httpx2>=2.12.0",
|
|
138
|
+
"ruff>=0.15.22,<0.16",
|
|
139
|
+
"tomlkit>=0.13.3",
|
|
140
|
+
"twine>=5.0.0",
|
|
141
|
+
]
|
|
142
|
+
|
|
143
|
+
[tool.setuptools]
|
|
144
|
+
py-modules = [ "fastmcp_server", "main"]
|
|
145
|
+
|
|
146
|
+
[tool.setuptools.packages.find]
|
|
147
|
+
where = ["."]
|
|
148
|
+
exclude = ["tests*", "docs*", "build", "dist"]
|
|
149
|
+
|
|
150
|
+
[tool.pytest.ini_options]
|
|
151
|
+
addopts = "--ignore=tests/gappsscript/manual_test.py"
|
|
152
|
+
pythonpath = ["."]
|
|
153
|
+
markers = [
|
|
154
|
+
"integration: marks tests as requiring real external services (deselect with '-m \"not integration\"')",
|
|
155
|
+
]
|
|
156
|
+
filterwarnings = [
|
|
157
|
+
"ignore::authlib.deprecate.AuthlibDeprecationWarning",
|
|
158
|
+
"ignore:PdfWriter.add_object\\(\\) is unavailable:UserWarning",
|
|
159
|
+
]
|
|
160
|
+
|
|
161
|
+
[tool.setuptools.package-data]
|
|
162
|
+
core = ["tool_tiers.yaml"]
|
|
163
|
+
|
|
164
|
+
[tool.uv]
|
|
165
|
+
# Security floors for transitive deps
|
|
166
|
+
constraint-dependencies = [
|
|
167
|
+
"mcp>=2.2.0",
|
|
168
|
+
"pyasn1>=0.6.4",
|
|
169
|
+
"oauthlib>=4.0.0",
|
|
170
|
+
"opentelemetry-api>=1.45.2",
|
|
171
|
+
"authlib>=1.9.1",
|
|
172
|
+
"dnspython>=2.9.2",
|
|
173
|
+
]
|