Blogger MCP Server
Provides tools for interacting with Google's Blogger API, enabling AI assistants to retrieve blog information, list and search posts, fetch specific posts, and with OAuth create, update, and delete posts.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Blogger MCP Server List my recent blog posts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Blogger MCP Server
A working Model Context Protocol (MCP) server for Google's Blogger API that enables AI assistants like Claude to interact with Blogger blogs.
Features
Get blog information by URL or ID
List blog posts with pagination
Retrieve specific posts by ID
Search posts within a blog
Proper MCP protocol implementation
TypeScript support with full type safety
Related MCP server: MCP Blogger Posting Server
Prerequisites
Node.js 18+ and npm
Google Cloud API key with Blogger API v3 enabled
A Blogger blog (blogs must be created manually via blogger.com)
Installation
Option 1: From Source (Recommended)
git clone https://github.com/your-username/blogger-mcp-server.git
cd blogger-mcp-server
npm install
npm run buildOption 2: Global Installation
npm install -g blogger-mcp-server-fixedSetup
1. Get Google API Key
Go to Google Cloud Console
Create a new project or select existing one
Enable the Blogger API v3
Create an API key in the Credentials section
Note the API key for configuration
2. Configure MCP Client
For Claude Desktop, add to your claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"blogger": {
"command": "node",
"args": [
"/path/to/blogger-mcp-server/dist/index.js"
],
"env": {
"BLOGGER_API_KEY": "your_google_api_key_here",
"BLOGGER_ID": "your_blog_id_here",
"GOOGLE_CLIENT_ID": "your_oauth_client_id_here",
"GOOGLE_CLIENT_SECRET": "your_oauth_client_secret_here"
}
}
}
}3. Restart Claude Desktop
Completely close and restart Claude Desktop to load the new configuration.
Usage
Once configured, you can interact with your Blogger blog through natural language:
Read Operations:
"Get information about my blog at myblog.blogspot.com"
"List the recent posts on my blog"
"Search for posts about photography in my blog"
"Show me the details of post ID 123456789"
Write Operations (requires OAuth):
"Create a draft blog post about my recent photo shoot"
"Update the post with ID 123456789"
"Delete the draft post with ID 987654321"
Important: Always use the correct blog URL or ID. The server will target the specific blog you reference in your requests.
Finding Your Blog ID
To get your blog ID, use the get_blog_info tool with your blog URL:
"Get information about my blog at myblog.blogspot.com"The response will include the blog ID that you can use for other operations. For example:
{
"id": "1234567890123456789",
"name": "My Blog",
"url": "https://myblog.blogspot.com/"
}Use the id field for subsequent operations like creating posts.
Environment Variables
BLOGGER_API_KEY (required for read operations)
Your Google Cloud API key with Blogger API v3 enabled
Used for read-only operations (listing published posts, getting blog info, etc.)
BLOGGER_ID (optional, recommended)
Your blog's numeric ID (e.g., "1234567890123456789")
Purpose: Provides a default blog ID when not explicitly specified in tool calls
Benefits:
Eliminates the need to specify the blog ID in every request when working with a single blog
Acts as a fallback when
blogIdorblogUrlparameters are missing or emptyMakes commands more concise: "List my draft posts" instead of "List draft posts for blog 1234567890123456789"
How to find: Use the
get_blog_infotool with your blog URL to retrieve the IDNote: You can still override this by explicitly providing a
blogIdin any tool call
GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET (required for write operations and drafts)
OAuth 2.0 credentials from Google Cloud Console
Required for creating, updating, or deleting posts
Required for accessing draft posts (drafts require authenticated access)
Required for listing scheduled posts
See OAUTH_SETUP.md for detailed setup instructions
Available Tools
get_blog_info
Get comprehensive information about a blog.
Parameters:
blogUrl(string): Blog URL (e.g.,myblog.blogspot.com) or Blog ID
list_posts
List posts from a specific blog. Can filter by status to show drafts, published posts, or scheduled posts.
Parameters:
blogId(string, optional): The blog's ID. If not provided, uses BLOGGER_ID from environment variablesmaxResults(number, optional): Maximum posts to return (default: 10)status(string, optional): Filter by status - "draft", "live", or "scheduled". Note: Drafts and scheduled posts require OAuth authentication
get_post
Retrieve a specific blog post.
Parameters:
blogId(string): The blog's IDpostId(string): The post's ID
search_posts
Search for posts within a blog.
Parameters:
blogId(string): The blog's IDquery(string): Search terms
Development
Running in Development Mode
npm run devBuilding
npm run buildTesting
# Set your API key
export BLOGGER_API_KEY="your_api_key"
# Test the server
node dist/index.jsThe server should start and wait for MCP protocol messages via stdin/stdout.
API Limitations
Note these Blogger API limitations:
Blog Creation: Cannot create new blogs via API - must be done manually through blogger.com
Search: No direct search endpoint - implemented by fetching and filtering posts
Authentication: API key provides access to public blogs only. OAuth required for private blogs
Troubleshooting
Common Issues and Solutions
Server Not Connecting
Wrong command in configuration: Ensure you're using
"command": "node"not"command": "npx"Incorrect file path: Use the absolute path to
dist/index.js, not a placeholder pathFile permissions: Run
chmod +x dist/index.jsto make the file executableRestart required: Completely quit and restart Claude Desktop after configuration changes
OAuth Authentication Issues
Missing redirect URI: Add
http://localhost:3000/oauth/callbackto your OAuth client in Google Cloud ConsoleWrong application type: Use "Web application" not "Desktop application" for OAuth client
Missing scopes: Ensure both
https://www.googleapis.com/auth/bloggerandhttps://www.googleapis.com/auth/blogger.readonlyare added to OAuth consent screenTest user setup: Add your Google account as a test user if the app is in testing mode
"Tool execution failed" Errors
Wrong blog ID: Ensure you're using the correct blog ID for your target blog
ES module errors: If you see
__dirname is not defined, rebuild the project withnpm run buildToken file permissions: Tokens should save to the project directory, not system root
Stale tokens: Delete
tokens.jsonand restart to force fresh OAuth flow
Permission Errors
"You don't have permission to access this resource": Verify you're targeting the correct blog ID and have admin access
Blog ownership: Confirm you can manually create posts on the target blog via blogger.com
OAuth scope issues: Ensure the OAuth consent screen includes both read and write Blogger scopes
Debug Commands
# Test server startup
node dist/index.js
# Check OAuth token loading (replace with your actual credentials)
GOOGLE_CLIENT_ID="your_id" GOOGLE_CLIENT_SECRET="your_secret" node -e "import('./dist/oauth.js').then(async ({BloggerOAuth}) => { const oauth = new BloggerOAuth(); const client = await oauth.getAuthenticatedClient(); console.log('Token scopes:', client.credentials); });"
# View recent logs
tail -30 ~/Library/Logs/Claude/mcp-server-blogger.log
# Make file executable
chmod +x dist/index.js
# Clean rebuild
npm run buildCommon Error Messages
"npm ERR! ENOENT: no such file or directory": Using
npxinstead ofnodein configuration"__dirname is not defined in ES module scope": Need to rebuild project after ES module fixes
"EROFS: read-only file system": Token file trying to save in wrong location
"We're sorry, but you don't have permission to access this resource": Wrong blog ID or insufficient OAuth scopes
"Tool execution failed": Generic error - check logs for specific details
Windows Path Issues
Use double backslashes in Windows paths:
"args": ["C:\\path\\to\\blogger-mcp-server\\dist\\index.js"]Contributing
Contributions welcome! Please:
Fork the repository
Create a feature branch
Make your changes
Add tests if applicable
Submit a pull request
License
MIT License - see LICENSE file for details.
Acknowledgments
Built for the Model Context Protocol ecosystem
Uses Google's Blogger API v3
Fixes issues present in other Blogger MCP implementations
Available Tools
7 toolscreate_postC
Create a new blog post
Inputs: title (required), blogId (required), content (required), labels, +1 more.
delete_postC
Delete a blog post
Inputs: blogId (required), postId (required).
get_blog_infoB
Get information about a blog by URL or ID
Inputs: blogUrl (required).
get_postC
Get a specific post by ID
Inputs: blogId (required), postId (required).
list_postsC
List posts from a blog
Inputs: blogId (required), status, maxResults.
search_postsC
Search for posts in a blog
Inputs: query (required), blogId (required).
update_postC
Update an existing blog post
Inputs: blogId (required), postId (required), title, labels, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool maps to a distinct resource/action, with post CRUD operations clearly separated from retrieval tools. The only mild overlap is between list_posts and search_posts, though the descriptions (enumerate vs. query) give enough signal to distinguish them.
All tools follow a strict verb_noun snake_case pattern (get_blog_info, list_posts, create_post, etc.). The convention is predictable and readable throughout.
Seven tools is a well-scoped surface for a blogging server, with each tool earning its place in the read/write lifecycle. No redundant or filler tools.
Full CRUD coverage for posts plus blog info and search covers the core domain well. Minor gaps exist around comments, draft/publish state transitions, and blog-level settings, but agents can work around these.
Maintenance
Related MCP Connectors
Read, write, translate and sync WordPress and Webflow blog articles from Claude.
Manage WordPress blogs and WooCommerce shops from Claude, ChatGPT, Cursor and other MCP apps.
Publish blog posts, send newsletters and emails from Claude, Claude Code, Codex and ChatGPT.
Create, edit, organize, publish, and configure JustBlogged blogs from MCP clients.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn intermediary server that enables AI models to interact with Google's Blogger platform, automating the creation and management of blogs, posts, and labels through the Blogger API.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to automate Google Blogger content management by providing tools for single and batch post creation via the Blogger API. It supports secure OAuth2 authentication and allows for seamless blog integration through the Model Context Protocol.1MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to interact with the Google Blogger API v3 to manage blog posts and metadata. It supports the full post lifecycle including creating, updating, publishing, and deleting content through natural language.1020 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI models to interact with Google Blogger blogs, manage posts, labels, and retrieve blog information via API key or OAuth2.12 npmMIT