Google Business Profile MCP Server

Google Business Profile MCP Server

Enables AI assistants to manage Google Business Profiles by creating posts, replying to reviews, listing locations, and more through natural language commands.

Category
访问服务器

README

Google Business Profile MCP Server

An MCP (Model Context Protocol) server that lets AI assistants manage your Google Business Profile — create posts, reply to reviews, list locations, and more.

Built for use with Claude Code, Cursor, and other MCP-compatible AI tools.

Features

Tool Description
gbp_list_accounts List all GBP accounts
gbp_list_locations List business locations for an account
gbp_create_post Create a post (standard, event, or offer) with optional photo/video and CTA button
gbp_list_posts List posts for a location
gbp_get_post Get details of a specific post
gbp_update_post Update a post's text or call-to-action
gbp_delete_post Delete a post
gbp_list_reviews List reviews for a location
gbp_get_review Get a specific review
gbp_reply_review Reply to a review on behalf of the business
gbp_delete_review_reply Delete a business reply to a review
gbp_list_media List media (photos/videos) for a location

Post types

  • Standard — text + optional image + optional CTA button (Learn More, Book, Shop, etc.)
  • Event — with title, start/end dates and times
  • Offer — with coupon code, terms, and redeem URL

Prerequisites

  1. A Google Cloud project with the My Business Business Information API and My Business Account Management API enabled
  2. An OAuth 2.0 Client ID (Desktop or Web type) with http://localhost:3456/callback as an authorized redirect URI
  3. Your Google account must have access to a Google Business Profile

Setup

1. Clone and install

git clone https://github.com/narkov/gbp-mcp.git
cd gbp-mcp
npm install
npm run build

2. Configure credentials

Copy the example env file and fill in your OAuth credentials:

cp .env.example .env

Edit .env:

GOOGLE_CLIENT_ID=your-client-id.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=GOCSPX-your-secret

3. Authorize with Google (one-time)

npm run auth

This opens a browser for Google OAuth consent. After approval, tokens are saved to credentials/gbp-tokens.json and auto-refresh on subsequent use.

4. Add to your MCP client

Claude Code (.mcp.json)

{
  "mcpServers": {
    "gbp": {
      "command": "node",
      "args": ["dist/index.js"],
      "cwd": "/path/to/gbp-mcp",
      "env": {
        "GOOGLE_CLIENT_ID": "your-client-id.apps.googleusercontent.com",
        "GOOGLE_CLIENT_SECRET": "GOCSPX-your-secret"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

Same format as above.

Usage examples

Once connected, your AI assistant can:

"List all my GBP locations"
"Create a post on my Kyiv location about a spring sale with a Shop Now button"
"Show me recent reviews and draft replies for negative ones"
"Delete last week's expired offer post"

API reference

This server uses the following Google APIs:

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选
mcp-server-qdrant

mcp-server-qdrant

这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。

官方
精选