gogcli-mcp-docs 2.0.0 → 2.0.2
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/README.md +3 -0
- package/dist/index.js +5 -2
- package/manifest.json +1 -1
- package/package.json +13 -2
package/README.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# gogcli-mcp-docs
|
|
2
2
|
|
|
3
|
+
> [!WARNING]
|
|
4
|
+
> **AI-developed project.** This codebase was built and is actively maintained by [Claude Code](https://www.anthropic.com/claude). Review all code and tool permissions before use.
|
|
5
|
+
|
|
3
6
|
Extended Google Docs [MCP](https://modelcontextprotocol.io) server via [gogcli](https://github.com/steipete/gogcli). Includes auth tools plus 14 additional dedicated Docs tools for editing, exporting, comments, and more.
|
|
4
7
|
|
|
5
8
|
## Requirements
|
package/dist/index.js
CHANGED
|
@@ -30189,7 +30189,9 @@ function toError(err) {
|
|
|
30189
30189
|
return toText(err instanceof Error ? `Error: ${err.message}` : String(err));
|
|
30190
30190
|
}
|
|
30191
30191
|
var AUTH_ERROR_PATTERN = /\b(401|unauthorized|token.*(expired|revoked)|invalid_grant)\b/i;
|
|
30192
|
+
var TRANSIENT_ERROR_PATTERN = /\b429\b|\b5\d\d\b|\bquota\b|rateLimit|\bDEADLINE_EXCEEDED\b/i;
|
|
30192
30193
|
var AUTH_HINT = "\n\nAuthentication may have expired. Use gog_auth_add to re-authorize the account. Ask the user if they would like to re-authenticate.";
|
|
30194
|
+
var TRANSIENT_HINT = "\n\nThis error is often transient. Retry the same call before trying a different approach (do not fall back to smaller writes or row-by-row operations).";
|
|
30193
30195
|
async function runOrDiagnose(args, options) {
|
|
30194
30196
|
try {
|
|
30195
30197
|
return toText(await run(args, options));
|
|
@@ -30197,7 +30199,8 @@ async function runOrDiagnose(args, options) {
|
|
|
30197
30199
|
const base = toError(err);
|
|
30198
30200
|
const errText = base.content[0].text;
|
|
30199
30201
|
const isAuthError = AUTH_ERROR_PATTERN.test(errText);
|
|
30200
|
-
const
|
|
30202
|
+
const isTransientError = !isAuthError && TRANSIENT_ERROR_PATTERN.test(errText);
|
|
30203
|
+
const hint = isAuthError ? AUTH_HINT : isTransientError ? TRANSIENT_HINT : "";
|
|
30201
30204
|
try {
|
|
30202
30205
|
const accounts = await run(["auth", "list"]);
|
|
30203
30206
|
return toText(`${errText}
|
|
@@ -30357,7 +30360,7 @@ function registerDocsTools(server2) {
|
|
|
30357
30360
|
}
|
|
30358
30361
|
|
|
30359
30362
|
// ../gogcli-mcp/src/server.ts
|
|
30360
|
-
var VERSION = true ? "2.0.
|
|
30363
|
+
var VERSION = true ? "2.0.2" : "0.0.0";
|
|
30361
30364
|
function createServer(options) {
|
|
30362
30365
|
return new McpServer({
|
|
30363
30366
|
name: options?.name ?? "gogcli",
|
package/manifest.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"manifest_version": "0.3",
|
|
4
4
|
"name": "gogcli-mcp-docs",
|
|
5
5
|
"display_name": "gogcli (Docs)",
|
|
6
|
-
"version": "2.0.
|
|
6
|
+
"version": "2.0.2",
|
|
7
7
|
"description": "Extended Google Docs for Claude via gogcli — auth + full Docs and comments support",
|
|
8
8
|
"author": {
|
|
9
9
|
"name": "Chris Hall",
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gogcli-mcp-docs",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "Extended Google Docs MCP server via gogcli — all base tools plus full Docs support",
|
|
5
|
+
"author": "Claude Code (AI) <https://www.anthropic.com/claude>",
|
|
5
6
|
"repository": {
|
|
6
7
|
"type": "git",
|
|
7
8
|
"url": "https://github.com/chrischall/gogcli-mcp"
|
|
@@ -25,5 +26,15 @@
|
|
|
25
26
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
26
27
|
"zod": "^4.3.6"
|
|
27
28
|
},
|
|
28
|
-
"license": "MIT"
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"keywords": [
|
|
31
|
+
"mcp",
|
|
32
|
+
"model-context-protocol",
|
|
33
|
+
"claude",
|
|
34
|
+
"ai",
|
|
35
|
+
"google",
|
|
36
|
+
"gogcli",
|
|
37
|
+
"google-docs",
|
|
38
|
+
"documents"
|
|
39
|
+
]
|
|
29
40
|
}
|