Skip to main content
Glama
README.md
# Alleds MCP Server: Google reviews & restaurant feedback guides

A public **Model Context Protocol (MCP) server** that lets AI assistants (Claude, ChatGPT, Cursor, Cline and any MCP client) search and read [Alleds](https://alleds.com/)' library of practical guides for restaurants, cafés and multi-outlet F&B groups: **getting and replying to Google reviews, Google Business Profile, review policies, QR code feedback, complaint handling and service recovery, customer feedback, and local SEO**, with a Singapore and Southeast Asia focus. Also exposes Alleds' product pages in English and Chinese (中文).

- **MCP endpoint:** `https://mcp.alleds.com/content`
- **Transport:** Streamable HTTP (remote MCP server, stateless JSON-RPC 2.0)
- **Auth:** none (public, read-only)
- **MCP capabilities:** tools (no resources or prompts)
- **Homepage:** https://alleds.com/mcp/ · **Terms:** https://alleds.com/mcp-terms/

Every tool result includes a citable alleds.com URL and a ready-made `Cite as:` line, and the `initialize` response asks clients to cite sources.

## MCP tools

| Tool | What it does |
|---|---|
| `search_articles(query, topic?, lang?, limit?)` | Keyword search across guides and pages (English and Chinese). Returns titles, summaries, topics, dates and citable URLs. |
| `get_article(slug)` | Full Markdown text of one guide or page (accepts a slug or an alleds.com URL), with dates, references, FAQs and a citation line. |
| `list_topics()` | Guide topics with article counts (Google Reviews, Replying to Reviews, Review Policy, QR Codes, Complaints & Recovery, Customer Feedback, Local SEO, Operations, Singapore, Industries, Reputation Management). |
| `list_recent_articles(topic?, limit?)` | Latest guides, optionally within a topic. |
| `list_pages(lang?)` | Alleds product and company pages (features, industries, pricing, about, terms, privacy) in English or Chinese. |

All tools are read-only (`readOnlyHint: true`).

## Connect

**Claude (claude.ai / Claude Desktop):** Settings → Connectors → Add custom connector → `https://mcp.alleds.com/content`

**Claude Code:**
```bash
claude mcp add --transport http alleds https://mcp.alleds.com/content
```

**Cursor / Cline / other MCP clients (JSON config):**
```json
{
  "mcpServers": {
    "alleds": { "type": "streamable-http", "url": "https://mcp.alleds.com/content" }
  }
}
```

**ChatGPT:** Settings → Connectors (developer mode) → add `https://mcp.alleds.com/content` as an MCP server.

**MCP Inspector:**
```bash
npx @modelcontextprotocol/inspector
# Transport: Streamable HTTP · URL: https://mcp.alleds.com/content
```

**curl:**
```bash
curl -s -X POST https://mcp.alleds.com/content \
  -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_articles","arguments":{"query":"respond to negative reviews"}}}'
```

## Example questions

- "How should a restaurant reply to a one-star Google review about slow service?"
- "Is it allowed to offer a discount in exchange for a Google review in Singapore?"
- "Where should we place feedback QR codes in a café?"
- "How do I get notified of new Google reviews for each outlet?"

## How it works

A single Cloudflare Worker (`src/index.js`) implements the MCP protocol (`initialize`, `tools/list`, `tools/call`, `ping`, notifications) over Streamable HTTP with CORS. Content is mirrored from alleds.com (published pages only, using each page's Markdown copy at `{url}.md`) into a Cloudflare D1 table, so search is fast and the server never touches the website at request time. Calls are logged anonymously (tool, query, result count, client name; no IP addresses) to learn which topics are missing.

```
src/index.js               MCP server + admin sync/stats endpoints
migrations/0001_content.sql  D1 schema (site_content, mcp_calls)
wrangler.jsonc             Worker config (production: mcp.alleds.com)
```

### Run locally
```bash
npm install
printf 'ADMIN_TOKEN=%s\n' "$(openssl rand -hex 24)" > .dev.vars
npm run migrate:local
npm run dev        # http://localhost:8799/content
```

## Related

- `llms.txt`: https://alleds.com/llms.txt · full text: https://alleds.com/llms-full.txt
- Alleds is a QR feedback and Google review platform for multi-outlet restaurants: https://alleds.com/

## License

MIT