{
  "markdown": "# SourceMedium for Gemini CLI\n\nQuery and analyze the commerce data your organization maintains in SourceMedium, from Gemini CLI. The extension installs SourceMedium's remote MCP server and gives the agent a data-analysis workflow that preserves SourceMedium's metric definitions and data boundaries.\n\n## What it provides\n\n- SourceMedium MCP tools for warehouse, Shopify, Meta Ads, health, catalog, and documentation data.\n- OAuth connection through SourceMedium's existing authorization flow, discovered automatically from the server.\n- An agent skill that starts with data context, prefers canonical metrics, bounds custom SQL, and reports assumptions.\n\nThe server is read-only. It cannot change provider settings, credentials, connections, or warehouse data. No Google Cloud project, `gcloud` login, or BigQuery credential is required: your SourceMedium organization membership determines what the server can reach.\n\n## Install\n\n```bash\ngemini extensions install https://github.com/source-medium/sourcemedium-gemini\n```\n\nRestart Gemini CLI, then authenticate:\n\n```text\n/mcp auth sourcemedium\n```\n\nComplete the SourceMedium sign-in and consent flow in the browser. Verify with `/extensions list` and `/mcp`.\n\nAn active SourceMedium account is required. If sign-in succeeds but every tool denies access, your user is not yet entitled to an organization; contact your SourceMedium administrator.\n\n## Local development\n\n```bash\ngemini extensions validate .\ngemini extensions link \"$PWD\"\n```\n\nRestart Gemini CLI and confirm the extension appears in `/extensions list`, the SourceMedium server appears in `/mcp`, and OAuth completes. Unlink the local copy and install from GitHub in a clean environment before tagging a release, so the path a first-time user takes is the one that was tested.\n\n## Data-use workflow\n\nFor an analysis session, the agent should first inspect the available data with `get_data_context`, use `search_data_catalog` before querying, and prefer `query_metrics` for SourceMedium-defined metrics. It should only use custom SQL after inspecting the relevant tables and columns, and should state the source, date range, freshness, and assumptions in its answer.\n\n## Support\n\nDocumentation: [Connect an AI assistant](https://sourcemedium.com/docs/ai-analyst/connect-an-ai-assistant)\n\nFor help, contact [SourceMedium support](mailto:support@sourcemedium.com).\n",
  "bytes": 2375,
  "sha": "41e6a184d8c9e1a94a351ce1c1cf0a5af03112b128500679a4f8b21d38598228",
  "repo_slug": "source-medium/sourcemedium-gemini",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_source_medium_sourcemedium_gemini_ec500822/readme"
}