Populr MCP server
Give your AI coding assistant the SEO changes your team approved in Populr, so it can apply them in your site's code and confirm they're live.
Overview
Populr drafts better page titles, meta descriptions and structured data for a business's website, from what each page actually says, and the owner approves them. Populr can apply approved changes with a one-line script, which Google reads. The MCP server hands the same approved changes to an assistant working in the site's code — so they end up in the HTML as served, which every search engine, AI crawler and link preview reads.
Or turn it on and let Populr do the rest. One step — Populr: Turn on in VS Code or Cursor, or the turn_on tool from any agent — writes today's fixes into your code once and adds Populr's one-line snippet. From then on Populr fixes broken titles and descriptions itself, new pages included, through the snippet: no more code changes for SEO. Turning it on is the approval; every automatic fix is listed in Populr with an undo.
The server speaks the Model Context Protocol over HTTP. Anything that supports remote MCP servers can use it.
Quickstart
- Open Access keys in Populr and create one. Copy it — it's shown once — and the setup for your editor appears with the key filled in.
- On the same page, set up the SEO autopilot for your site and approve at least one page fix.
- Add Populr to your editor (below), then ask your assistant: “Apply my Populr SEO fixes.”
https://www.trypopulr.in/api/mcpConnect your editor
Sign in (recommended): give your editor just the server URL. The first time it connects, it opens Populr in your browser; sign in and click Allow. There's nothing to copy, the sign-in renews itself, and you can disconnect the app any time on the keys page. It's standard MCP authorization — OAuth 2.1 with PKCE — supported by Claude Code, VS Code, Cursor and Smithery.
Or an access key: send it as Authorization: Bearer <key> — or as X-Populr-Key: <key>, for gateways that can't add the Bearer prefix. Keep keys out of version control.
One click: Add to Cursor (Cursor adds Populr and asks you to sign in), or Add to VS Code (installs the Populr extension). There's also the Populr plugin for Cursor, with a skill, a rule and commands.
In your project's terminal:
claude mcp add --transport http populr https://www.trypopulr.in/api/mcpThen run /mcp in Claude Code, pick populr and choose Authenticate — a browser tab opens to sign in to Populr.
Other clients: any MCP client that supports the Streamable HTTP transport with a custom header will work. Point it at the server URL above.
VS Code & Cursor extension
The Populr extension registers Populr with your editor's agent, so there's no mcp.json to write. It installs as populr.populr-seo.
- Install it:
- Cursor — search Populr SEO in the Extensions panel (it's on Open VSX).
- VS Code — search Populr SEO in the Extensions view (it's on the Visual Studio Marketplace). Works in VS Code 1.82+; the agent tools need 1.100 or later. Offline or locked down? Download the .vsix and run Extensions: Install from VSIX…
- Sign in. There's no key to copy: the first time the agent uses Populr, VS Code asks you to sign in to Populr in your browser; in Cursor, click Login next to Populr under Cursor Settings → MCP. Populr: Connect takes you there too.
- Run Populr: Turn on — or click Turn on when the extension offers it in a website project. It hands the job to your editor's agent with Populr's instructions: in VS Code, agent chat starts by itself (allow the
turn_ontool when asked); in Cursor, the prompt opens in chat and you press Enter. The agent writes the fixes, structured data, llms.txt and the snippet into your code. Deploy, and Populr keeps the site fixed from there.
Rather drive it yourself? Ask the agent anything — in VS Code, open chat in Agent mode, where Populr's tools are in the tools picker; in Cursor, Populr is listed under MCP servers.
Prefer an access key? Run Populr: Connect, choose Use an access key and paste it; it's kept in the editor's secret storage. Keys are also what VS Code 1.100 uses, and what the commands below use in Cursor (Cursor's sign-in belongs to its agent). In Cursor, a key goes through a small local relay that adds it to each request — Cursor's extension API can't send it to a remote server directly. The relay gets the key through its environment, never its command line, and stops when you disconnect.
Commands it adds:
- Populr: Turn on — the one step: your agent sets the site up in code, and Populr keeps it fixed.
- Populr: Show SEO status — what's approved and waiting.
- Populr: Audit a page — on-page problems of any public URL, in the Populr output panel.
- Populr: Insert structured data — the approved JSON-LD for a page, at the cursor. In
.tsx/.jsxfiles it's written the way React needs it. - Populr: Create llms.txt — writes it to your site's
public/folder (orstatic/, for SvelteKit and Hugo). - Populr: Disconnect — forgets the key. A sign-in belongs to the editor: end it by disconnecting the app on the keys page.
The workflow
Fastest: turn it on — the turn_on prompt (in Claude Code, /mcp__populr__turn_on), Populr: Turn on in the extension, or just “Turn on Populr for this project.” One tool call sets everything up, and Populr applies fixes itself from then on.
Step by step, approving each change: the set_up_seo prompt (in Claude Code, /mcp__populr__set_up_seo), or “Set up Populr SEO for this project.” It does every step below and asks you before saving anything.
seo_status— what's set up, approved and waiting.- First time:
setup_sitewith the site's public address, thenset_business_detailswith the facts the site states. No need to open Populr. draft_page_fixfor the main pages — Populr drafts a title and description from what each page says. Review them;approve_page_fixthe ones you accept, with your edits.get_seo_fixes— the exact tags. Apply them in the page<head>or your framework's metadata API (Next.jsexport const metadata, NuxtuseHead, Astro's<head>). Replace existing tags; don't add duplicates.generate_llms_txt— save it aspublic/llms.txt.- Deploy, then
verify_pagewith the live URL — it checks each change is in the served HTML.
Owners who prefer the web app can do steps 2–3 in Populr instead; the tools see the same settings.
Tools reference
seo_status read-only
Start here. Shows the site Populr manages for this workspace, which page fixes are approved and ready to apply in code, which are waiting for the owner's approval, and whether the business details for structured data are filled in.
No inputs.
turn_on Turns on automatic SEO fixes for your site
The one-step setup, for when the user turns Populr on. Sets the site up if it isn't, saves the business facts you pass, and switches on automatic mode: Populr fixes pages itself from then on — new pages too — without waiting for approval. Checks the main pages now, fixes broken titles and descriptions, and returns everything to write into the code: Populr's one-line snippet for the root layout, each page's fixes, structured data and llms.txt. Pass only facts the project itself states — never guess.
| Input | Type | Description |
|---|---|---|
site | string | The website's public address, e.g. https://yourshop.in — from the project (metadataBase, a sitemap, the deploy URL). Optional if a site is already set up. |
business | object | Facts the project states about the business. Becomes the site's structured data and llms.txt. |
setup_site Saves your site in Populr
Starts managing a website's SEO in Populr for this workspace. Pass the site's public address (e.g. https://yourshop.in) — take it from the project (Next.js metadataBase, a sitemap, the deploy URL) or ask the user. Does nothing if a site is already set up; to switch sites, the owner changes it in Populr.
| Input | Type | Description |
|---|---|---|
site * | string | The website's public address, e.g. https://yourshop.in |
set_business_details Saves your business details
Saves the facts Populr builds structured data (schema.org JSON-LD) and llms.txt from: name, type, description, phone, email, address, opening hours and profiles elsewhere. Use only facts the user confirms or that the site itself states — never guess. Replaces any details saved before; show the user what you'll save first.
| Input | Type | Description |
|---|---|---|
name * | string | The business's name |
type | string | schema.org type; LocalBusiness if unsure |
description | string | One or two sentences on what it offers and where |
telephone | string | |
email | string | |
logo | string | Absolute URL of the logo |
address | object | |
openingHours | array | schema.org format, e.g. "Mo-Sa 09:00-21:00" |
sameAs | array | Profile URLs: Instagram, LinkedIn, Google Maps… |
get_seo_fixes read-only
Returns the SEO changes the site owner has approved in Populr — each page's <title>, meta description and JSON-LD structured data — so you can apply them in the site's source code. Pass a path for one page, or omit it for every page.
| Input | Type | Description |
|---|---|---|
path | string | A page path such as / or /about. Omit for all pages. |
get_structured_data read-only
Returns schema.org JSON-LD for a page, built only from the business details the owner entered in Populr (name, type, contact, address, hours, profiles; FAQs on the home page). Ready to paste into the page's <head>.
| Input | Type | Description |
|---|---|---|
path | string | Page path, default / |
audit_page read-only
Fetches a live page and checks its on-page SEO: title length, meta description, H1, canonical, viewport, Open Graph and structured data. Returns each problem with why it matters.
| Input | Type | Description |
|---|---|---|
url * | string | Full public URL, e.g. https://example.com/about |
draft_page_fix Saves a draft for approval
Reads one page of the managed site and drafts a better <title> and meta description from what the page actually says. The draft is saved in Populr for the owner to approve; nothing changes on the live site.
| Input | Type | Description |
|---|---|---|
path * | string | Page path on the managed site, e.g. /pricing |
approve_page_fix Approves a fix — live via the snippet, if installed
Approves the drafted title and description for a page — as drafted, or with your edits — so get_seo_fixes returns it to apply in code. Ask the user first, and show them the exact text: if Populr's snippet is installed on the site, an approved fix goes live through it straight away.
| Input | Type | Description |
|---|---|---|
path * | string | Page path, e.g. / or /pricing |
title | string | The title to approve, if not the drafted one (15–65 characters works best) |
description | string | The description to approve, if not the drafted one (70–170 characters) |
generate_llms_txt read-only
Builds an llms.txt for the managed site from the owner's business details and the approved page titles and descriptions — a plain map of the site for AI assistants. Save it at the site root as /llms.txt.
No inputs.
verify_page read-only
Fetches a live page of the managed site and checks that its approved title, description and structured data are present in the HTML as served. Use after deploying.
| Input | Type | Description |
|---|---|---|
url * | string | Live URL of a page on the managed site |
* required
Access keys & security
- A key belongs to one workspace and opens only its SEO settings. Nothing in a request can name another workspace.
- Keys start with
pop_so secret scanners can recognise a leaked one. Populr stores only a SHA-256 fingerprint; the key is shown once. - Revoke a key in Populr at any time; it stops working immediately. Each key shows when it was last used.
- 6 of the 11 tools only read.
turn_on,setup_site,set_business_details,draft_page_fixandapprove_page_fixchange only your Populr settings, and are marked so your editor asks you before running them. - No tool edits your code or deploys. Two have a live effect through Populr's snippet, where it's installed:
approve_page_fixmakes an approved fix live, andturn_onswitches on automatic mode — Populr fixes broken titles and descriptions itself, never a page you undid, and at most ten new pages a day. - Pages are fetched only from public addresses, with every redirect re-checked.
Limits
- 60 requests per minute per key. Over that, the server answers 429 with
Retry-After. - Up to 10 keys per workspace, and fixes for up to 50 pages.
- Fetched pages are capped at 3 MB and 15 seconds.
Troubleshooting
- 401 — “Missing access key” or “isn't valid”
- Send the key as
Authorization: Bearer pop_…. If it was revoked, create a new one. - “SEO autopilot isn't set up for this workspace”
- Set it up on the Access keys page first; the tools read its settings.
get_seo_fixesreturns nothing for a page- Only approved fixes are returned. Drafts wait for the owner's approval in Populr.
verify_pagesays a change is missing after deploying- Check the page isn't served from a stale cache, and that the change is in the server-rendered HTML rather than added later in the browser.
- The editor doesn't list Populr's tools
- Restart the MCP connection after adding it, and check the client supports remote HTTP servers with headers.
Protocol details
- Transport: Streamable HTTP.
POSTJSON-RPC 2.0 tohttps://www.trypopulr.in/api/mcp; responses areapplication/json. No server-sent stream (GETreturns 405) and no sessions. - Protocol versions: 2025-11-25, 2025-06-18, 2025-03-26. An unsupported request gets the latest.
- Methods:
initialize,ping,tools/list,tools/call,prompts/list,prompts/get. Notifications are accepted with 202. Onlytools/callneeds a key. - Prompts:
apply_seo_fixes(optionalpath) andseo_audit(url) — clients that support prompts offer them as commands. - Tool failures come back as results with
isError: true, so the assistant can read them; protocol problems are JSON-RPC errors.
curl -s https://www.trypopulr.in/api/mcp \
-H "Authorization: Bearer $POPULR_KEY" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'