Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
google-docs-mcp
command
Command google-docs-mcp is a Model Context Protocol server for Google Docs.
|
Command google-docs-mcp is a Model Context Protocol server for Google Docs. |
|
internal
|
|
|
auth
Package auth implements Google's documented OAuth flow for desktop applications: a loopback redirect on 127.0.0.1 with a random port and PKCE, then a refresh-token-backed token source for API calls.
|
Package auth implements Google's documented OAuth flow for desktop applications: a loopback redirect on 127.0.0.1 with a random port and PKCE, then a refresh-token-backed token source for API calls. |
|
config
Package config loads and validates runtime configuration.
|
Package config loads and validates runtime configuration. |
|
credentials
Package credentials stores and resolves the OAuth refresh token.
|
Package credentials stores and resolves the OAuth refresh token. |
|
doc
Package doc holds the parsed document model.
|
Package doc holds the parsed document model. |
|
doc/doctest
Package doctest loads the synthetic document fixture for tests in several packages.
|
Package doctest loads the synthetic document fixture for tests in several packages. |
|
gapi
Package gapi is a thin raw REST client for the Google Docs and Drive APIs.
|
Package gapi is a thin raw REST client for the Google Docs and Drive APIs. |
|
gdocs
Package gdocs defines the Docs API v1 wire types this server reads.
|
Package gdocs defines the Docs API v1 wire types this server reads. |
|
markdown
Package markdown turns markdown written by the model into a neutral fragment: headings, paragraphs, list items, code lines and tables with styled inline runs.
|
Package markdown turns markdown written by the model into a neutral fragment: headings, paragraphs, list items, code lines and tables with styled inline runs. |
|
plan
Package plan compiles high-level edit operations into Docs API batchUpdate requests.
|
Package plan compiles high-level edit operations into Docs API batchUpdate requests. |
|
render
Package render turns the document model into text for the model to read: markdown (default), plain text, and an outline.
|
Package render turns the document model into text for the model to read: markdown (default), plain text, and an outline. |
|
server
Package server wires the MCP SDK to the tools and offers a schema dump through an in-memory client session.
|
Package server wires the MCP SDK to the tools and offers a schema dump through an in-memory client session. |
|
service
Package service orchestrates reads: fetch a document, parse it, keep the handle memory, resolve a read scope, and render.
|
Package service orchestrates reads: fetch a document, parse it, keep the handle memory, resolve a read scope, and render. |
|
tools
Package tools registers the MCP tools.
|
Package tools registers the MCP tools. |
|
userconfig
Package userconfig stores non-secret, per-profile settings that survive between runs: where the OAuth client JSON lives, which account was logged in, and where the refresh token was stored.
|
Package userconfig stores non-secret, per-profile settings that survive between runs: where the OAuth client JSON lives, which account was logged in, and where the refresh token was stored. |
|
version
Package version exposes the build-time version string.
|
Package version exposes the build-time version string. |
Click to show internal directories.
Click to hide internal directories.