0.3.1 • Published 9 months ago

@principle-c/mcp-googleanalytics4 v0.3.1

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

mcp-googleanalytics4 MCP Server

Google Analytics 4の管理を行うためのMCPサーバー。アカウント・プロパティ一覧の表示と、標準レポートの出力、アカウント・プロパティのユーザー管理を行うことができます。

An MCP server for managing Google Analytics 4. It allows you to display account and property lists, generate standard reports, and manage users for accounts and properties.

Features

Resources

This implementation uses the Google Analytics Admin API and Data API. You need to enable the corresponding API in the API Console and obtain an OAuth2 authentication token.

The required scopes are as follows:

Also, Node.js must be installed on the computer where you will run this. Please refer to here for Node.js installation instructions.

Tools

  • listAccountSummariesTool - List google analytics account summaries with pagination
  • listPropertyAccessBindingsTool - List google analytics property permission with pagination
  • listAccountAccessBindingsTool - List google analytics account permission with pagination
  • createPropertyAccessBindingTool - Create google analytics property permission
  • createAccountAccessBindingTool - Create google analytics account permission
  • deletePropertyAccessBindingTool - Delete google analytics property permission
  • deleteAccountAccessBindingTool - Delete google analytics account permission
  • getPropertyDetailTool - Get a google analytics property description
  • runReportTool - Get a report data on a google analytics property

MCP Server Setting

{
  "mcpServers": {
    "mcp-googleanalytics4": {
      "command": "npx",
      "args": [
        "-y",
        "@principle-c/mcp-googleanalytics4"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "[[REPLACE_WITH_YOUR_CLIENT_ID]]",
        "GOOGLE_CLIENT_SECRET": "[[REPLACE_WITH_YOUR_CLIENT_SECRET]]",
        "GOOGLE_REDIRECT_URI": "[[REPLACE_WITH_YOUR_REDIRECT_URI]]",
        "GOOGLE_REFRESH_TOKEN": "[[REPLACE_WITH_YOUR_REFRESH_TOKEN]]"
      }
    }
  }
}
0.3.1

9 months ago

0.3.0

9 months ago

0.2.1

9 months ago

0.2.0

9 months ago

0.1.1

9 months ago

0.1.0

9 months ago