homielab-mcp
OfficialProvides read-write tools for App Store Connect: TestFlight, app versions and metadata, review submission, release, customer reviews, in-app purchases, and sales and finance reports.
Provides read-write tools for the Blogger API v3 to create, edit, publish, schedule, and delete posts and pages, moderate comments, and view page views.
Provides read-write tools for the Chrome Web Store API v2: check status, upload, publish with staged rollout, cancel, rollback, and access reviews and metrics.
Provides read-write tools for the addons.mozilla.org API v5: manage listings, icons, and screenshots, upload and validate add-ons, submit versions, roll back, and access ratings and search.
Provides read-write tools for the Google Play Developer API: manage tracks and staged rollouts, upload .aab/.apk files, edit listings and images, manage in-app products, handle reviews, and verify purchases.
mcp-homielab
Model Context Protocol servers for people who build and ship apps, browser extensions and websites. Let Claude, Cursor or any MCP client read your AdSense, AdMob and Search Console reports, publish to Google Play, App Store Connect, Chrome Web Store and Firefox Add-ons, manage a Blogger blog, and generate images, speech, music and video with Gemini.
One static binary, no runtime. Each service runs as its own stdio MCP server
(mcp-homielab <service>), so you add only the ones you use.
Unofficial: not affiliated with or endorsed by Google, Apple or Mozilla. You use your own API credentials; nothing is sent anywhere except the API each service wraps.
Install
macOS / Linux:
curl -fsSL https://raw.githubusercontent.com/homielab/homielab-mcp/main/install.sh | shInstalls to ~/.local/bin (set MCP_HOMIELAB_INSTALL_DIR to change). Windows: download the zip
from Releases. With Go 1.27+:
go install github.com/homielab/homielab-mcp/cmd/mcp-homielab@latest.
Related MCP server: adsense-mcp
Quick start
mcp-homielab add searchconsole # register with Claude Code (or: add all)
mcp-homielab searchconsole login # Google services: sign in once (setup below)Other clients: mcp-homielab add --client claude-desktop <service>, --client cursor, or
--client json to print the config:
{
"mcpServers": {
"searchconsole": { "command": "/path/to/mcp-homielab", "args": ["searchconsole"] }
}
}Run mcp-homielab to list services, mcp-homielab <service> --help for one service's commands
and credential lookup.
Services
Service | API | Auth |
AdSense Management API v2 (read-only): reports by site, page, ad unit, country…, 18 presets, CSV export, policy issues | ||
AdMob API v1 (read-only): apps, ad units, network and mediation reports, 13 presets, period comparison, CSV export | ||
Search Console: Search Analytics, quick report, period comparison, sitemaps, URL inspection; add/remove properties and sitemaps | ||
Google Play Developer API (read-write): tracks and staged rollout, .aab/.apk upload, listings and images, IAP, reviews, purchase verification | ||
App Store Connect API (read-write): TestFlight, versions and metadata, review submission, release, customer reviews, IAP, sales and finance reports | API key | |
Blogger API v3 (read-write): posts and pages (create, edit, publish, schedule, delete), comment moderation, page views | ||
Chrome Web Store API v2 (read-write): status, upload, publish (staged, % rollout), cancel, rollback, reviews, metrics | ||
addons.mozilla.org API v5 (read-write): listing, icon, screenshots, upload and validation, version submit, rollback, ratings, search | API key | |
Gemini API media generation (paid per call): images, speech, music, video, spend log | API key |
Setup per service
Google services (adsense, admob, searchconsole, googleplay, blogger,
chromewebstore) share one OAuth client:
In Google Cloud Console, enable the APIs you need and create one OAuth Client ID of type Desktop app. Download its JSON.
Put it in the shared config dir, so it serves every Google service:
macOS:
~/Library/Application Support/mcp-homielab/Linux:
~/.config/mcp-homielab/Windows:
%AppData%\mcp-homielab\
mcp-homielab <service> login(or ask the agent; it calls<prefix>_login).
App Store Connect: mcp-homielab appstoreconnect setup --key-file AuthKey_<KEYID>.p8 --issuer-id <ID>
(details).
Firefox Add-ons: mcp-homielab firefoxaddons setup --issuer <JWT issuer>
(details).
Gemini: set GEMINI_API_KEY, or mcp-homielab gemini setup
(details).
Step-by-step guide and troubleshooting: INSTALL.md.
Credentials, tokens and state live in <user config dir>/mcp-homielab/<service>/ with mode 0600.
Set MCP_HOMIELAB_CONFIG_DIR to use another dir.
Safety
Several services can write: publish releases, edit store listings, delete items. gemini
spends money on every call. Read a service's README before giving an agent access, and add only
the services you need.
Development
git clone https://github.com/homielab/homielab-mcp.git && cd homielab-mcp
./build.sh # gofmt + vet + test, then builds mcp-homielab into $(go env GOPATH)/binPath | Contents |
| Service list and entry point |
| One service: |
| CLI ( |
| OAuth loopback + PKCE, client secret lookup, token store, background login |
| JSON client: retry on 429/5xx, |
| Config dir ( |
| Date presets; Markdown/CSV tables and CSV export |
Add a service:
Create
services/<id>/main.gowithfunc Service() mcpkit.Server. A Google API declares agoogleauth.Provider(Name = id, scope, env prefix, tool prefix) and adds the id togoogleauth.Collection; an API-key service setsID,Credentialsand asetupcommand (seeservices/gemini).API client:
googleapi.New(hc, "<API name>")withhcfromauth.HTTPClient(ctx).Tools:
mcpkit.AddLoginTools, then the service's tools (withTitleandAnnotations), prompts and tests.Add it to the list in
cmd/mcp-homielab/main.go.
Release: push a tag vX.Y.Z; GitHub Actions runs GoReleaser and attaches binaries for macOS,
Linux and Windows (amd64, arm64). Publishing the release lists every service in the
MCP Registry as io.github.homielab/<service>.
Contributing
Issues and pull requests are welcome. Run ./build.sh before a PR. Tests use local fake servers
and never call a real API; keep it that way, and never commit real account ids, tokens or keys.
Report a vulnerability privately through GitHub security advisories, not a public issue.
License
Available Tools
15 toolsgsc_add_siteAdd Search Console PropertyAIdempotent
WRITE: add a property to the logged-in account — a URL prefix (https://www.example.com/) or a domain property (sc-domain:example.com). It stays unverified (no data) until ownership is verified in Search Console; adding an existing property is a no-op.
Inputs: siteUrl (required).
gsc_delete_siteRemove Search Console PropertyAIdempotent
WRITE, DESTRUCTIVE: remove a property from the logged-in account (other owners and the site itself are unaffected; re-adding needs verification again). siteUrl must match gsc_list_sites exactly. Confirm with the user before calling.
Inputs: siteUrl (required).
gsc_delete_sitemapDelete SitemapAIdempotent
WRITE, DESTRUCTIVE: remove a submitted sitemap from a property's Sitemaps report (the file on the site is untouched; Google may still crawl it). Confirm with the user before calling.
Inputs: feedpath (required), siteUrl.
gsc_get_sitemapGet Sitemap DetailsARead-only
Get details of one submitted sitemap (feedpath) for a property: status, contents and error counts.
Inputs: feedpath (required), siteUrl.
gsc_inspect_urlInspect URL Index StatusARead-only
URL Inspection: Google-index status of one URL (verdict, coverage state, robots.txt state, canonicals, last crawl, sitemaps) plus AMP / mobile usability / rich results when available. The URL must belong to the given property. Quota is limited (~2,000 queries/property/day) — do not loop it over many URLs.
Inputs: inspectionUrl (required), siteUrl, languageCode.
gsc_inspect_urlsInspect Several URLsARead-only
URL Inspection for up to 10 URLs of one property in one call, run concurrently. Returns a summary (indexed / not indexed / canonical mismatch / robots.txt block / fetch error / invalid rich results) and one row per URL. Each URL costs one inspection from the ~2,000/property/day quota. Use gsc_inspect_url for the full detail of one URL.
Inputs: urls (required), siteUrl.
gsc_list_sitemapsList SitemapsARead-only
List sitemaps submitted for a Search Console property with submission dates, indexability and per-content-type submitted/indexed counts. Pass sitemapIndex to list the child sitemaps of one sitemap index.
Inputs: siteUrl, sitemapIndex.
gsc_list_sitesList Search Console PropertiesARead-only
List Search Console properties (URL-prefix like https://www.example.com/ or domain like sc-domain:example.com) with your permission level. The returned exact siteUrl values should be passed to other tools.
gsc_loginSearch Console LoginA
Authorize access to Google Search Console: opens the browser at Google's OAuth consent page and stores the refresh token locally. Non-blocking: returns immediately while approval is pending — call gsc_login_status afterwards. Required once before any other tool. Scope: webmasters (read, plus adding/removing properties and sitemaps).
gsc_login_statusSearch Console Login StatusARead-only
Check whether the Search Console OAuth flow is running/finished and whether a stored token exists. Use right after gsc_login.
gsc_logoutSearch Console LogoutA
Delete the locally stored Search Console OAuth token.
gsc_period_comparisonCompare Analytics PeriodsARead-only
Period-over-period comparison of Search Analytics: runs the same query for the given window and a baseline window — by default the immediately preceding window of equal length, or baselineStartDate/baselineEndDate (e.g. the same window last year) — then reports per-key deltas (current minus baseline: clicks, impressions, CTR, position) sorted by absolute click change. Best with query / page / device / country dimensions — not with date. Dimensions: date, hour, query, page, country (ISO-3166 alpha-3), device (DESKTOP/MOBILE/TABLET), searchAppearance. Search type (type): web (default), image, video, news, discover, googleNews. Aggregation: auto (default), byPage, byProperty. Filter operators: contains, equals (default), notContains, notEquals, includingRegex (RE2), excludingRegex (RE2).
Inputs: type, endDate, filters, siteUrl, +7 more.
gsc_quick_reportSearch Analytics Quick ReportARead-only
Run several Search Analytics cuts in ONE call — the fastest way to a broad SEO picture: daily trend, top queries, top pages, device split, country split, and query→page mapping. Each cut comes back as its own markdown table; a cut the API rejects is reported inline without aborting the others. Use gsc_period_comparison for period-over-period deltas and gsc_inspect_url for index status.
Inputs: type, endDate, filters, maxRows, +4 more.
gsc_search_analyticsSearch Analytics ReportARead-only
Search Analytics (performance) report: clicks, impressions, CTR and average position grouped by dimensions, for a property and date range. Typical combos: daily trend [dimensions=["date"]], top queries [dimensions=["query"]], top pages [dimensions=["page"]], queries on one page [dimensions=["query"], filters=[{dimension:"page",expression:"...",operator:"equals"}]], device split [dimensions=["device"]], country split [dimensions=["country"]], query×page [dimensions=["query","page"]]. Dimensions: date, hour, query, page, country (ISO-3166 alpha-3), device (DESKTOP/MOBILE/TABLET), searchAppearance. Search type (type): web (default), image, video, news, discover, googleNews. Aggregation: auto (default), byPage, byProperty. Filter operators: contains, equals (default), notContains, notEquals, includingRegex (RE2), excludingRegex (RE2). Data lags ~2 days (dataState "all" includes fresher partial data). Max 25,000 rows per call; paginate with startRow. Results are top-N, sorted by clicks (by date when grouping by date); sortBy/sortOrder re-sort and minImpressions/minPosition/maxPosition filter the returned rows, e.g. page-two opportunities: dimensions ["query","page"], rowLimit 5000, minPosition 11, maxPosition 20, minImpressions 100, sortBy impressions.
Inputs: type, sortBy, endDate, filters, +13 more.
gsc_submit_sitemapSubmit SitemapAIdempotent
WRITE: submit (or resubmit) a sitemap URL for a property so Google fetches it. Processing is asynchronous — check gsc_get_sitemap later for status and counts.
Inputs: feedpath (required), siteUrl.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Most tools target a distinct resource+action (sites, sitemaps, inspection, auth), and the single-vs-batch inspection pair is explicitly cross-referenced. The only soft spot is the analytics trio (gsc_search_analytics, gsc_quick_report, gsc_period_comparison), which all wrap the same Search Analytics API; descriptions do distinguish them (raw cuts, bundled cuts, period deltas), so confusion risk is moderate rather than severe.
Every tool follows the same gsc_ prefix plus verb_noun snake_case pattern (gsc_list_sites, gsc_get_sitemap, gsc_submit_sitemap, gsc_inspect_url). Destructive vs write vs read intent is signaled consistently in descriptions, so naming is fully predictable.
15 tools is a well-scoped size for a Search Console server covering three API surfaces plus auth. Each tool maps to a real API operation or a justified convenience wrapper (gsc_quick_report, gsc_inspect_urls).
CRUD coverage is solid: sites (add/list/delete), sitemaps (list/get/submit/delete), analytics (standard, comparison, quick), inspection (single and batch), and auth lifecycle (login/status/logout). Minor gaps remain: no way to update a site's permission level, and no direct sitemap-index management beyond listing children.
Maintenance
Related MCP Connectors
Hosted MCP server for GA4, Google Ads and Search Console. Google OAuth, nothing to install.
Google Ads MCP server — manage campaigns, keywords, and metrics.
Hosted MCP server for marketing agencies: connect Google Ads, GA4, Search Console, Meta, LinkedIn and more to Claude or ChatGPT. Pull reports and make changes via OAuth login, no setup.
Google Ads MCP server: run Search, Display, Demand Gen and PMax campaigns from AI.
Related MCP Servers
- AlicenseBqualityBmaintenanceUnified MCP server for App Store Connect & Google Play Console — manage listings, screenshots, releases, reviews & submissions188323 npm41MIT
- AlicenseAqualityDmaintenanceMCP server for Google AdSense management. Create ad units, generate framework-specific ad code, manage earnings reports, and automate ads.txt — all from your AI assistant.12MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for managing Google Ads campaigns through the official Google Ads API, covering accounts, campaigns, budgets, keywords, search terms, and keyword ideas. It provides tools for both reading and mutating live ads data, such as pausing campaigns, updating budgets, and adding keywords.MIT
- AlicenseAqualityCmaintenanceMCP server that gives AI assistants structured, read-only access to the Google AdMob API — publisher accounts, apps, ad units, and performance reports.6MIT