Skip to content

About

Playground to experiment with Gemini CLI: custom commands, MCP servers, and observability on GCP.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Gemini CLI playground

This playground lets technicians practice and experiment with Gemini CLI. It is based on the Gemini CLI Tutorial Series and adds useful features including custom sample commands and advanced configuration scenarios relevant to real-world use.

Setup

To set up the project, install Gemini CLI using the official Quick Install guide.

Next, configure the following environment variables in a .env file.

  • CONTEXT7_API_KEY. Context7 API key used by the Context7 MCP server.
  • GOOGLE_APPLICATION_CREDENTIALS. Path to the service account JSON token used for sending logs and metrics to Google Cloud Platform.
  • GITHUB_PAT. GitHub Personal Access Token to enable interaction with the GitHub API. For details on creating a token, refer to the GitHub documentation on Managing your personal access tokens

Observability

This project provides observability for the Gemini CLI by sending logs and metrics to Google Cloud Platform. To enable this, set the environment variable GOOGLE_APPLICATION_CREDENTIALS in the .env file to your GCP service account JSON token.

The configuration follows the guidelines in Gemini CLI Tutorial Series : Part 13 : Gemini CLI Observability. To disable observability, set telemetry.enabled to false in .gemini/settings.json.

To test this feature locally, run the Docker OpenTelemetry LGTM container and update the configuration to reference it.

References

MCP Servers

About

Playground to experiment with Gemini CLI: custom commands, MCP servers, and observability on GCP.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors