docs: add Claude Code and Cursor setup examples; fix bare except#146
Open
ZLeventer wants to merge 1 commit intogoogleanalytics:mainfrom
Open
docs: add Claude Code and Cursor setup examples; fix bare except#146ZLeventer wants to merge 1 commit intogoogleanalytics:mainfrom
ZLeventer wants to merge 1 commit intogoogleanalytics:mainfrom
Conversation
- Add Claude Code and Cursor/VS Code configuration examples - Rename "Configure Gemini" to "Configure your MCP client" - Move credential/project substitution instructions above client configs to reduce duplication - Replace bare except with except Exception in _get_package_version_with_fallback
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
except:withexcept Exception:in_get_package_version_with_fallback(PEP 8 E722)Motivation
The setup docs currently only show Gemini CLI/Code Assist configuration, but the server works with any MCP client. Claude Code and Cursor are two of the most popular MCP clients alongside Gemini — adding their config examples reduces friction for new users.
The bare except change is a minor code quality fix — bare excepts catch
SystemExitandKeyboardInterrupt, which should propagate normally.Test plan
analytics_mcp/tools/utils.pystill handles import errors gracefully