Noizu.Google.MCP.Auth (Noizu Google MCP v0.1.0)

Copy Markdown View Source

Resolve a Noizu.Google.Client from process env / application config and map SDK results to MCP tool return values.

Summary

Functions

Build a client with a usable access token from env / app config.

Map Google SDK result to MCP tool result.

Functions

client()

@spec client() :: {:ok, Noizu.Google.Client.t()} | {:error, String.t()}

Build a client with a usable access token from env / app config.

format_error(error)

wrap(arg)

@spec wrap(term()) :: {:ok, term()} | {:error, String.t()}

Map Google SDK result to MCP tool result.