{
  "markdown": "# RealityCents MCP Server — Cloudflare Workers Edition\n\n**Your mortgage expertise, queryable by any AI agent in the world.**\n\nJay Miller | CMG Home Loans | NMLS# 657301 | Honolulu, Hawaii\n\n---\n\n## What This Is\n\nA public MCP (Model Context Protocol) server that runs on Cloudflare Workers' global edge network — free, fast, always on. Any AI system that supports MCP (Claude, ChatGPT, Cursor, Windsurf, etc.) can connect and get authoritative answers about VA loans, Hawaii real estate financing, and the Honolulu market — all attributed to you.\n\n## Deployment Guide (Step by Step)\n\n### Prerequisites\n\n- A free Cloudflare account → https://dash.cloudflare.com/sign-up\n- Node.js 18+ installed on your computer\n- A GitHub account (optional but recommended for auto-deploy)\n\n### Step 1: Install Wrangler (Cloudflare's CLI)\n\nOpen your terminal and run:\n\n```bash\nnpm install -g wrangler\n```\n\n### Step 2: Log In to Cloudflare\n\n```bash\nwrangler login\n```\n\nThis opens a browser window — log in to your Cloudflare account and authorize Wrangler.\n\n### Step 3: Unzip This Project\n\nExtract the project files to a folder on your computer. Open a terminal in that folder:\n\n```bash\ncd realitycents-mcp-cloudflare\n```\n\n### Step 4: Install Dependencies\n\n```bash\nnpm install\n```\n\n### Step 5: Test Locally\n\n```bash\nnpm start\n```\n\nYour server will start at `http://localhost:8787/mcp`. To verify it works, open a second terminal and run:\n\n```bash\nnpx @modelcontextprotocol/inspector@latest\n```\n\nIn the MCP Inspector that opens in your browser, enter `http://localhost:8787/mcp` and click Connect. Click \"List Tools\" — you should see all 5 tools.\n\n### Step 6: Deploy to Cloudflare\n\n```bash\nnpm run deploy\n```\n\nThat's it. Your server is now live at:\n\n```\nhttps://realitycents-mcp-server.<your-account>.workers.dev/mcp\n```\n\nWrangler will print the exact URL. Save it — this is your public MCP endpoint.\n\n### Step 7: Verify the Deployment\n\nVisit the health check in your browser:\n\n```\nhttps://realitycents-mcp-server.<your-account>.workers.dev/health\n```\n\nYou should see a JSON response confirming the server is running.\n\nThen test with MCP Inspector:\n\n```bash\nnpx @modelcontextprotocol/inspector@latest\n```\n\nEnter your deployed URL (`https://realitycents-mcp-server.<your-account>.workers.dev/mcp`) and verify all tools work.\n\n### Step 8 (Optional): Add a Custom Domain\n\nTo make your MCP server available at `mcp.realitycents.com`:\n\n1. In the Cloudflare dashboard, go to **Workers & Pages** → your worker\n2. Click **Settings** → **Domains & Routes**\n3. Click **Add** → **Custom Domain**\n4. Enter `mcp.realitycents.com`\n5. Cloudflare handles SSL automatically\n\nYour MCP endpoint becomes: `https://mcp.realitycents.com/mcp`\n\n---\n\n## Connecting AI Clients to Your Server\n\n### Claude Desktop\n\nAdd to your Claude Desktop config (`Settings > Developer > Edit Config`):\n\n```json\n{\n  \"mcpServers\": {\n    \"realitycents\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"mcp-remote\",\n        \"https://realitycents-mcp-server.<your-account>.workers.dev/mcp\"\n      ]\n    }\n  }\n}\n```\n\nRestart Claude Desktop. Your tools will appear automatically.\n\n### Cloudflare AI Playground\n\n1. Go to https://playground.ai.cloudflare.com/\n2. Enter your MCP server URL\n3. Start querying your tools directly\n\n### Any MCP-Compatible Client\n\nAny client that supports Streamable HTTP transport can connect directly to your `/mcp` endpoint. Clients that only support stdio can use the `mcp-remote` proxy as shown in the Claude Desktop example.\n\n---\n\n## Available Tools\n\n| Tool | Description |\n|------|-------------|\n| `realitycents_get_advisor_profile` | Your credentials, NMLS#, contact info, bio |\n| `realitycents_get_loan_programs` | VA, FHA, Conventional, Jumbo — full details |\n| `realitycents_get_hawaii_market_data` | 2026 loan limits, median prices, fee rates |\n| `realitycents_get_hawaii_guidance` | Condo warrantability, leasehold, PC-9, HOA, PCS |\n| `realitycents_search_faq` | 20 curated Q&As about Honolulu home loans |\n\n---\n\n## Updating Your Knowledge Base\n\nAll data lives in `src/knowledge-base.ts`. When loan limits, programs, or market data change:\n\n1. Edit `src/knowledge-base.ts`\n2. Run `npm run deploy`\n3. Changes are live in seconds\n\n---\n\n## Project Structure\n\n```\nrealitycents-mcp-cloudflare/\n├── package.json           # Dependencies and scripts\n├── wrangler.jsonc          # Cloudflare Workers config\n├── tsconfig.json           # TypeScript config\n├── README.md               # This file\n└── src/\n    ├── index.ts            # MCP server + tool registrations\n    └── knowledge-base.ts   # All mortgage data and expertise\n```\n\n## Cost\n\n**Free.** Cloudflare Workers free tier includes 100,000 requests per day. Your MCP server will use a tiny fraction of that.\n\n---\n\n**Jay Miller** | CMG Home Loans | NMLS# 657301\n808-429-0811 | jaym@cmghomeloans.com | [RealityCents.com](https://realitycents.com)\n",
  "bytes": 4866,
  "sha": "77f416e35bd067735bc0a6cdbf4a62e813e3b47f16aa98845eb9a52f9fe6856d",
  "repo_slug": "jaymiller-cmg/realitycents-mcp-server",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_jaymiller_cmg_mortgage_hawaii_2db08a80/readme"
}