Skip to content

docs: add Claude Code and Cursor setup examples; fix bare except#146

Open
ZLeventer wants to merge 1 commit intogoogleanalytics:mainfrom
ZLeventer:docs/mcp-client-configs
Open

docs: add Claude Code and Cursor setup examples; fix bare except#146
ZLeventer wants to merge 1 commit intogoogleanalytics:mainfrom
ZLeventer:docs/mcp-client-configs

Conversation

@ZLeventer
Copy link
Copy Markdown

Summary

  • Add Claude Code (Anthropic) and Cursor/VS Code MCP configuration examples alongside the existing Gemini examples
  • Rename "Configure Gemini" section to "Configure your MCP client" since the server is client-agnostic
  • Move credential/project substitution instructions above client-specific configs to reduce repetition
  • Replace bare except: with except 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 SystemExit and KeyboardInterrupt, which should propagate normally.

Test plan

  • Verify README renders correctly on GitHub
  • Confirm analytics_mcp/tools/utils.py still handles import errors gracefully

- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant