DEV Community

Cover image for Building a zero-auth Streamable HTTP MCP server for mobile SDKs
Jessejee
Jessejee

Posted on Originally published at ad-o-matic.com

Building a zero-auth Streamable HTTP MCP server for mobile SDKs

Most mobile developer services assume a human will open a browser, create an account, verify an email, copy an API key into .env or Gradle, and click through campaign forms. When an AI coding agent in Cursor, Claude Code, Windsurf or Antigravity tries to add an SDK for you, that whole portal step brings the flow to a halt.

Full disclosure: I built Ad-o-matic (https://ad-o-matic.com/mcp, Official MCP Registry ID com.ad-o-matic/adomatic) to test what happens when you strip away the human dashboard completely and let the coding agent handle SDK integration, audience description and pre-launch registration over a public Streamable HTTP MCP server.

Ad-o-matic demo

Designing for zero auth without creating a spam open relay

Making POST /mcp work with zero login and zero API keys only makes sense if there is no private user balance or arbitrary link target to hijack. In Ad-o-matic:

  • there are no ad budgets, no user-visible credit portals and no external URLs to edit
  • every banner destination is locked on both the server and client SDKs to official Google Play (play.google.com) or Apple App Store (apps.apple.com) listings
  • placeholder package names like com.example.* are rejected during onboarding so test prompts do not pollute the live catalog
  • apps sharing a developer identity cluster under developer_group_key so sibling apps cannot farm artificial impressions or hog founding spots
  • every new or updated build enters a Self-Preview Test Period inside the developer's own app once store-verified (24-hour fast-track for the first 15 verified AI-approved Genesis apps, 7 days standard) before entering peer rotation
  • when no matching P2P peer campaign is available yet—or when a high-traffic app reaches the 25,000 balance cap—the slot switches automatically to an optional AdMob or custom fallback view (fallbackAdmobUnitId / ADMOB_MEDIATION) and seamlessly returns to P2P once peer capacity is available or balance drains below 85% (21,250)

Transport and discovery endpoints

The server exposes Streamable HTTP JSON-RPC 2.0 directly at https://ad-o-matic.com/mcp plus static discovery manifests so both MCP-native IDEs and plain-HTTP agents find the same spec:

  • https://ad-o-matic.com/mcp for Streamable HTTP JSON-RPC 2.0
  • https://ad-o-matic.com/.well-known/mcp.json for client discovery
  • https://ad-o-matic.com/server.json for the Official MCP Registry (com.ad-o-matic/adomatic)
  • https://ad-o-matic.com/SKILL.md and /AGENTS.md for coding agents reading workspace rules
  • https://ad-o-matic.com/openapi.json for function-calling clients
  • /sdk/adomatic-mcp.js (or npx -y mcp-remote https://ad-o-matic.com/mcp) for clients that still require stdio

The 4 exposed MCP tools

Keep the tool surface small so models do not pick the wrong endpoint:

  • adomatic_get_integration returns the 1-line UI call, official package install command (flutter pub add adomatic_banner, npm install adomatic-react-native, SwiftPM), and the single-file SDK URL or inline source for Android Jetpack Compose (HouseAdBanner.kt), iOS SwiftUI (HouseAdBanner.swift), Flutter (HouseAdBanner.dart), React Native (HouseAdBanner.tsx) or Hybrid WebView (ad-widget.js)
  • adomatic_onboard_app registers the app pre-launch with its real package/bundle ID, bannerText and targetAudience, locking its store link automatically
  • adomatic_verify_integration checks onboarding state, preview period status and remaining Genesis Member spots
  • adomatic_network_status returns public pool status

A typical client config in Cursor or Claude Code is three lines:

{
  "mcpServers": {
    "adomatic": {
      "url": "https://ad-o-matic.com/mcp"
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

Replacing category dropdowns with codebase-inferred targetAudience

Traditional ad dashboards force developers to pick coarse buckets like "Utilities" or "Lifestyle". A coding agent already has the entire project open in context: strings, features, onboarding copy and UI layout. Instead of picking from a fixed dropdown, the agent passes an open-ended targetAudience string (up to 220 characters) describing real end users, region if local, and optional age band:

  • music utility: "guitarists, musicians, chord tuner, songwriting, global, 18-44"
  • stargazing app: "amateur astronomers, stargazing, telescope owners, astrophotography, global"
  • regional EV app: "EV drivers, Tesla owners, spot electricity home charging, countries: FI SE NO, 25-44"
  • freelancer tool: "freelancers, solo founders, small businesses, invoicing, global, 25-44"

That same information feeds contextual matching (strictly Android-to-Android and iOS-to-iOS) without touching personal user data, GAID/IDFA or cookies.

What else stays blocked automatically

Opening an MCP server to indie developers still requires basic content hygiene. Gambling, NSFW/adult content, crypto scams, hate speech and illegal apps are rejected by Google/Apple store review or by Ad-o-matic's platform checks, whichever catches them first.

There are still 49 out of 50 Genesis Member spots open for early store-verified apps (receiving a better impression exchange rate, extra free boost impressions as real views are served, listing with a direct store link on ad-o-matic.com, and the Genesis Member badge in banners).

If you build MCP clients or mobile tooling and notice anything awkward in the tool schemas or Streamable HTTP responses at https://ad-o-matic.com/mcp, you can inspect all SDK source files on GitHub and let me know what breaks or feels unergonomic.

Br,
Jessejee

Top comments (0)