Skip to content

Make explicit that GOOGLE_APPLICATION_CREDENTIALS is required in env vars for secops #189

@dandye

Description

@dandye

In docs, we have:

      "command": "uvx",
      "args": [
        "secops-mcp"
      ],
      "env": {
        "CHRONICLE_PROJECT_ID": "your-project-id",
        "CHRONICLE_CUSTOMER_ID": "01234567-abcd-4321-1234-0123456789ab",
        "CHRONICLE_REGION": "us"
      },

we need:

      "command": "uvx",
      "args": [
        "secops-mcp"
      ],
      "env": {
        "CHRONICLE_PROJECT_ID": "your-project-id",
        "CHRONICLE_CUSTOMER_ID": "01234567-abcd-4321-1234-0123456789ab",
        "CHRONICLE_REGION": "us",
        "GOOGLE_APPLICATION_CREDENTIALS": "/Users/dandye/.config/gcloud/application_default_credentials.json"
      },

The call to SecOpsClient() in server.py hangs, so the issue presents to the user as a prompt that never returns and times out after value set in timeout. So, we should also investigate how to make noise (i.e. log an error) when this issue occurs.

I have more notes on the issue to add soon, but want to stub ASAP.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions