MCP server for Google Business Profile — review performance, reply to reviews and publish location updates from an AI app
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add google-business-profile --env GOOGLE_BUSINESS_CLIENT_SECRET='<GOOGLE_BUSINESS_CLIENT_SECRET>' --env GOOGLE_BUSINESS_REFRESH_TOKEN='<GOOGLE_BUSINESS_REFRESH_TOKEN>' --env GOOGLE_BUSINESS_ACCESS_TOKEN='<GOOGLE_BUSINESS_ACCESS_TOKEN>' -- npx -y mcp-google-business~/.codex/config.toml
[mcp_servers.google-business-profile]
command = "npx"
args = ["-y", "mcp-google-business"]
env = { GOOGLE_BUSINESS_CLIENT_SECRET = "<GOOGLE_BUSINESS_CLIENT_SECRET>", GOOGLE_BUSINESS_REFRESH_TOKEN = "<GOOGLE_BUSINESS_REFRESH_TOKEN>", GOOGLE_BUSINESS_ACCESS_TOKEN = "<GOOGLE_BUSINESS_ACCESS_TOKEN>" }
# codex mcp add google-business-profile --env GOOGLE_BUSINESS_CLIENT_SECRET='<GOOGLE_BUSINESS_CLIENT_SECRET>' --env GOOGLE_BUSINESS_REFRESH_TOKEN='<GOOGLE_BUSINESS_REFRESH_TOKEN>' --env GOOGLE_BUSINESS_ACCESS_TOKEN='<GOOGLE_BUSINESS_ACCESS_TOKEN>' -- npx -y mcp-google-business~/.cursor/mcp.json
{
"mcpServers": {
"google-business-profile": {
"command": "npx",
"args": [
"-y",
"mcp-google-business"
],
"env": {
"GOOGLE_BUSINESS_CLIENT_SECRET": "<GOOGLE_BUSINESS_CLIENT_SECRET>",
"GOOGLE_BUSINESS_REFRESH_TOKEN": "<GOOGLE_BUSINESS_REFRESH_TOKEN>",
"GOOGLE_BUSINESS_ACCESS_TOKEN": "<GOOGLE_BUSINESS_ACCESS_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"google-business-profile": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-google-business"
],
"env": {
"GOOGLE_BUSINESS_CLIENT_SECRET": "<GOOGLE_BUSINESS_CLIENT_SECRET>",
"GOOGLE_BUSINESS_REFRESH_TOKEN": "<GOOGLE_BUSINESS_REFRESH_TOKEN>",
"GOOGLE_BUSINESS_ACCESS_TOKEN": "<GOOGLE_BUSINESS_ACCESS_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"google-business-profile": {
"command": "npx",
"args": [
"-y",
"mcp-google-business"
],
"env": {
"GOOGLE_BUSINESS_CLIENT_SECRET": "<GOOGLE_BUSINESS_CLIENT_SECRET>",
"GOOGLE_BUSINESS_REFRESH_TOKEN": "<GOOGLE_BUSINESS_REFRESH_TOKEN>",
"GOOGLE_BUSINESS_ACCESS_TOKEN": "<GOOGLE_BUSINESS_ACCESS_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"google-business-profile": {
"command": "npx",
"args": [
"-y",
"mcp-google-business"
],
"env": {
"GOOGLE_BUSINESS_CLIENT_SECRET": "<GOOGLE_BUSINESS_CLIENT_SECRET>",
"GOOGLE_BUSINESS_REFRESH_TOKEN": "<GOOGLE_BUSINESS_REFRESH_TOKEN>",
"GOOGLE_BUSINESS_ACCESS_TOKEN": "<GOOGLE_BUSINESS_ACCESS_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"google-business-profile": {
"command": "npx",
"args": [
"-y",
"mcp-google-business"
],
"env": {
"GOOGLE_BUSINESS_CLIENT_SECRET": "<GOOGLE_BUSINESS_CLIENT_SECRET>",
"GOOGLE_BUSINESS_REFRESH_TOKEN": "<GOOGLE_BUSINESS_REFRESH_TOKEN>",
"GOOGLE_BUSINESS_ACCESS_TOKEN": "<GOOGLE_BUSINESS_ACCESS_TOKEN>"
}
}
}
}Environment variables
GOOGLE_BUSINESS_CLIENT_SECRETGOOGLE_BUSINESS_REFRESH_TOKENGOOGLE_BUSINESS_ACCESS_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.