@griddo/mcp-common
v0.1.1
Published
Shared utilities for Griddo MCP servers: auth client, error types, query helpers.
Maintainers
Readme
@griddo/mcp-common
Shared utilities for Griddo MCP servers.
Exports an authenticated fetch-based client for the Griddo private REST API, a typed configuration loader, error types, query-string helpers, and a fetchAsToolResult adapter that maps HTTP responses to MCP tool results.
This package is consumed by the Griddo MCP servers (e.g. @griddo/activity-log-mcp). It is not intended to be used directly by end users.
Configuration
The client reads from environment variables:
GRIDDO_API_URLGRIDDO_API_EMAILGRIDDO_API_PASSWORD
It logs in lazily on the first request (POST /login_check), caches the returned token, and transparently re-authenticates on 401.
License
MIT
