Connect your AI assistant directly to your BlogHunch publication to automate content research, drafting, SEO briefs, analytics, and distribution via the Model Context Protocol (MCP).
The BlogHunch MCP Server supports two transport modes:
- STDIO: Runs locally for Claude Desktop, Cursor, Windsurf, Zed, and VS Code.
- HTTP: Runs as a remote HTTPS connector for ChatGPT Developer Mode.
Available MCP Tools
| Tool | Description | AI Studio Required |
|---|---|---|
bh_get_stats |
Analytics snapshot (pageviews, subscribers, posts) | No |
bh_list_posts |
List posts with status or keyword filters | No |
bh_get_post |
Read full content and details of a single post | No |
bh_create_post |
Create a post manually as a draft | No |
bh_update_post |
Update an existing draft post | No |
bh_list_subscribers |
List newsletter subscribers | No |
bh_generate_post |
Complete AI generation (SEO brief → RAG → Draft) | Yes |
bh_generate_ideas |
Brainstorm 5 post angles for any topic | Yes |
bh_generate_titles |
Generate 5 SEO-optimized title suggestions | Yes |
bh_generate_seo_brief |
Generate a comprehensive SEO brief | Yes |
bh_social_echo |
Generate Twitter/X, LinkedIn, and newsletter assets | Yes |
bh_discover_topics |
Trigger GSC-powered SEO topic discovery | Yes |
bh_get_topic_discoveries |
List discovered topic opportunities | Yes |
On Lifetime Deal (LTD) plans, tools marked AI Studio Required require the AI Studio Add-on and a configured Gemini or OpenAI API key in Settings → Integrations → AI.
Setup for Claude Desktop, Cursor & Windsurf (STDIO)
1. Configure environment & build
Generate an API key in Settings → Developers, then clone and build v1/mcp-server:
cp .env.example .env
npm install
npm run build
Set these variables in .env:
BLOGHUNCH_API_KEY=bh_live_xxxxxxxxxxxx
BLOGHUNCH_SUBDOMAIN=your-subdomain
BLOGHUNCH_API_URL=https://api.bloghunch.com/api/v1
2. Add to your AI client config
Add the server to Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json), Cursor (Settings → Features → MCP), or Windsurf (~/.codeium/windsurf/mcp_config.json):
{
"mcpServers": {
"bloghunch": {
"command": "node",
"args": ["/absolute/path/to/mcp-server/dist/index.js"],
"env": {
"BLOGHUNCH_API_KEY": "bh_live_xxxxxxxxxxxx",
"BLOGHUNCH_SUBDOMAIN": "your-subdomain"
}
}
}
}
Setup for ChatGPT (Remote HTTP Mode)
- Deploy
mcp-serverbehind HTTPS withTRANSPORT=http,PORT=3001,MCP_SERVER_URL=https://mcp.yourdomain.com, andBLOGHUNCH_API_URL=https://api.bloghunch.com/api/v1. - In ChatGPT, open Settings → Apps & Connectors → Advanced settings and enable Developer Mode.
- Click Create connector, enter your public
MCP_SERVER_URL, choose OAuth, and sign in with your BlogHunch API key.