-
Notifications
You must be signed in to change notification settings - Fork 213
Description
Environment
OS: Windows 11
MCP Client: Claude Desktop (v0.12.55)
Server: google-analytics-mcp (latest from main branch)
Python: 3.13
Authentication: Application Default Credentials (ADC)
Issue Summary
Admin API functions work correctly, but all Data API functions return "No result received from client-side tool execution" when used with Claude Desktop as the MCP client.
Working Functions ✅
get_account_summaries - Returns complete account and property data
Other Admin API functions (assumed working based on account summaries success)
Failing Functions
run_report - Returns "No result received from client-side tool execution"
get_property_details - Returns "No result received from client-side tool execution"
Authentication Setup
# ADC configured with correct scopes
gcloud auth application-default login --scopes=https://www.googleapis.com/auth/analytics.readonly,https://www.googleapis.com/auth/cloud-platform
# Token verification shows correct scopes
curl "https://www.googleapis.com/oauth2/v1/tokeninfo?access_token=TOKEN"
# Returns: "scope": "https://www.googleapis.com/auth/analytics.readonly https://www.googleapis.com/auth/cloud-platform"
Claude Desktop Configuration
{
"mcpServers": {
"analytics-mcp": {
"command": "pipx",
"args": [
"run",
"--spec",
"git+https://github.com/googleanalytics/google-analytics-mcp.git",
"google-analytics-mcp"
]
}
}
}
Reproduction Steps
- Set up ADC with correct scopes using gcloud auth application-default login
- Configure analytics-mcp server in Claude Desktop
- Restart Claude Desktop
- Call get_account_summaries - Works perfectly
- Call run_report with valid parameters - Fails with "No result received from client-side tool execution"
Expected Behaviour
Data API functions should return report data just like Admin API functions return account data.
Actual Behaviour
Data API functions fail silently with "No result received from client-side tool execution" error.
Additional Context
- The server can be executed directly via pipx run --spec git+https://github.com/googleanalytics/google-analytics-mcp.git google-analytics-mcp without errors
- ADC credentials are valid and include the required scopes
- The same authentication previously worked with manual token configuration (using @accesstokenprototype branch)
- Admin API and Data API use the same authentication, but only Admin API functions work
Just figured its important you know this all