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.
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
- A Google Cloud project with the My Business Business Information API and My Business Account Management API enabled
- An OAuth 2.0 Client ID (Desktop or Web type) with
http://localhost:3456/callbackas an authorized redirect URI - 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:
- My Business Account Management API — accounts
- My Business Business Information API — locations
- Google My Business API v4 — posts, reviews, media
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.