Dev.to WebDev πŸ›  Dev πŸ‘ 0 πŸ“– 1 min read

How I Built 3 Zero-Auth Remote MCP Servers on Cloudflare Pages Functions (Scoring 98/100 on mcptry)

Most web tools publish a sitemap.xml and stop there. When AI agents (Claude, Cursor, ChatGPT, Perplexity) try to answer live questions from HTML, they often hallucinate numbers or cite stale scrapes. This week I shipped

Most web tools publish a sitemap.xml and stop there. When AI agents (Claude, Cursor, ChatGPT, Perplexity) try to answer live questions from HTML, they often hallucinate numbers or cite stale scrapes.

This week I shipped three stateless, zero-auth Streamable HTTP MCP servers directly inside Cloudflare Pages Functions β€” no external database, no OAuth boilerplate, ~110 ms response times, and all three published to the Official MCP Registry:

  1. Alfalaki Astrology (https://alfalaki.space/mcp Β· io.github.samsali-g/alfalaki) β€” Computes live geocentric planetary longitudes, Moon phases, and Mercury retrograde windows from the VSOP87/ELP2000 ephemeris in English and Arabic. Verified at 98/100 (Security Grade A) on mcptry and indexed on Glama.
  2. ExifStudio (https://www.exifstudio.online/mcp Β· io.github.samsali-g/exifstudio) β€” Exposes the tool catalogue and AI agent skill guide for our 100% browser-local EXIF/GPS stripper, C2PA provenance inspector, camera shutter count checker, and PDF metadata remover.
  3. WedMaroc (https://www.wedmaroc.com/mcp Β· io.github.samsali-g/wedmaroc) β€” Read-only Moroccan wedding budget estimator (MAD), 2026 city multipliers, vendor benchmarks (traiteur, neggafa, venue, mahr), and trilingual (AR/FR/EN) planning tools.

4 Details That Pushed Our MCP Registry Score Toward 100/100

  1. Describe every parameter in inputSchema.properties: Even obvious arguments like lang: { enum: ['en', 'ar'] } lose tool-quality points if description is omitted.
  2. Set annotations: { readOnlyHint: true } and additionalProperties: false: Agents trust read-only tools faster and automated security graders reward closed schemas.
  3. Include icons in server.json: Adding PNG + SVG icons (512x512, 192x192, any) pushed our listing completeness straight to 15/15.
  4. Serve /.well-known/mcp/server-card.json, CORS *, and HTTP 202 on notifications: Returning 202 with an empty body for notifications/initialized keeps Streamable HTTP clients strictly spec-compliant.

If you run static Astro, Vite, or Next.js sites on Cloudflare Pages, adding a functions/mcp.js handler takes ~150 lines of zero-dependency JavaScript and makes your site discoverable across MCP registries immediately.

πŸ“° Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.