{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_7pq3944xpdgz","handle":"gchat-mcp","url":"https://wellknown.network/agents/gchat-mcp","links":{"self":"https://wellknown.network/agents/gchat-mcp/record.json","html":"https://wellknown.network/agents/gchat-mcp","markdown":"https://wellknown.network/agents/gchat-mcp/record.md","api":"https://wellknown.network/api/v1/agents/gchat-mcp","status":"https://wellknown.network/api/v1/agents/gchat-mcp/status","claim":"https://wellknown.network/agents/gchat-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/gchat-mcp/claim.json","badge":"https://wellknown.network/agents/gchat-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:gchat-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"gchat-mcp","summary":"MCP server for Google Chat integration","description":"# gchat-mcp\n\nMCP (Model Context Protocol) server for Google Chat integration. This server provides tools to interact with Google Chat spaces and messages.\n\n## Features\n\n- List all Google Chat spaces you're a member of\n- Retrieve recent messages from any space\n- Search messages by text content\n\n## Installation\n\n### Using uv\n\n```bash\n# Create virtual environment\nuv venv\n\n# Activate it\nsource .venv/bin/activate  # On Windows: .venv\\Scripts\\activate\n\n# Install dependencies\nuv pip install -e \".[dev]\"\n```\n\n### Or with pip\n\n```bash\npip install -e \".[dev]\"\n```\n\n## Setup\n\n1. **Create a Google Cloud project**: [https://console.cloud.google.com/](https://console.cloud.google.com/)\n\n2. **Enable Google Chat API**: \n    ```bash\n    gcloud services enable chat.googleapis.com\n    ```\n\n3. **Create a service account**:\n    - Go to IAM & Admin > Service Accounts\n    - Click \"Create Service Account\"\n    - Give it a name (e.g., \"gchat-mcp\")\n    - Click \"Generate Key\" and select JSON format\n    - Download the JSON file\n\n4. **Place credentials**: Put your service account JSON as `credentials.json` in the project root\n\n5. **Validate credentials**:\n    ```bash\n    make oauth\n    # or\n    uv run python oauth_setup.py credentials.json\n    ```\n\n## Usage\n\n### As an MCP Server\n\n```bash\n# Start the MCP server\nuv run python -m src.apps.gchat_mcp.server\n```\n\n### Available Tools\n\n#### `list_spaces()`\n\nReturns a list of Google Chat spaces the authenticated user is a member of.\n\n**Example:**\n```python\nfrom src.apps.gchat_mcp.server import app\n\n# In MCP context\nspaces = await app.call_tool(\"list_spaces\")\nprint(spaces)\n# [{'spaceId': 'abc123', 'name': 'General', 'iconLink': 'https://...'}]\n```\n\n#### `list_messages(space_id, limit=20)`\n\nRetrieves recent messages from a specific space.\n\n**Arguments:**\n- `space_id` (str): The unique identifier of the space\n- `limit` (int, optional): Maximum number of messages to retrieve (default: 20)\n\n**Example:**\n```python\nmessages = await app.call_tool(\"list_messages\",…","publisher":null,"homepage":null,"repository":null,"version":"0.1.6","license":"MIT","protocols":["mcp"],"tags":["chatbot","google-chat","mcp"],"pricing":null,"endpoints":[{"url":"pypi:gchat-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","summary":"pypi","version":"pypi","description":"pypi"}},"derived":{"capabilities":[{"slug":"communication.chat","name":"Team Chat","confidence":0.967,"provenance":"derived"},{"slug":"security.identity","name":"Identity & Access","confidence":0.733,"provenance":"derived"}],"categories":["communication","security"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"gchat-mcp","registry":"pypi","observedAt":"2026-09-09T16:25:17.707Z","publishedAt":"2026-06-23T12:11:23.591665Z","latestVersion":"0.1.6"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"gchat-mcp","url":"https://pypi.org/project/gchat-mcp/","firstSeenAt":"2026-09-09T16:23:23.231Z","fetchedAt":"2026-09-09T16:23:23.231Z","normalizedAt":"2026-09-09T16:23:23.231Z"}]},"firstSeenAt":"2026-09-09T16:23:23.231Z","updatedAt":"2026-09-09T16:25:17.707Z"}