How to make a Lovable site visible to ChatGPT and other AI agents
A site that looks great in a browser can reach an AI agent almost empty. Here is how to check your Lovable site in a minute, have Lovable itself make the fixes, and measure what AI assistants send to it.
Checked on 13 November 2026
Why it happens
Lovable projects created before May 2026 use React with Vite: the page reaches the visitor nearly empty and the content is built in the browser by JavaScript. Many AI agents do not run JavaScript; they read the HTML they received and move on. For these projects Lovable serves a pre-rendered copy of the pages to the search and AI crawlers it recognises. New projects use TanStack Start, which builds pages on the server, and Lovable offers the upgrade to older projects that can be migrated.
In practice: a new or upgraded project delivers its content to any agent. An older project depends on the agent being recognised. The way to know is to check the published site.
Check your site
Knocklog's check reads the site as an unknown visitor and shows a 0–100 score, what robots.txt allows or blocks for each AI agent, whether the content appears without JavaScript, whether there is an llms.txt and whether the site offers markdown to agents. If the result says the content depends on JavaScript, upgrading the project to TanStack Start is the fix that works for every agent.
Connect Knocklog to Lovable's chat
Lovable accepts MCP servers in chat on every plan. With Knocklog connected, Lovable itself can check the site and fix what lives in the project.
- In Lovable, open Connectors, click Add custom and choose MCP server.
- In Server name, type Knocklog.
- In Server URL, paste https://api.knocklog.ai/mcp/directory
- For authentication, choose No authentication and click Add server.
- In the project chat, ask for the check and the fixes with the text below, using your site's address.
Using the Knocklog connector, check how my published site
(example.com) treats AI agents.
Then fix what you can in this project:
- robots.txt (allow AI search and assistants;
AI training as I prefer);
- an llms.txt describing the site;
- each page's title and description.
Finally, tell me what cannot be fixed inside the project.The connector is read-only: it checks public websites and looks up Knocklog's directory of AI agents. It needs no key and does not read your project's data.
Measure who arrives through AI
Fixing shows what agents may read. To see what actually happens, create a free Knocklog project with the site's address. There are two paths, depending on the domain:
- Your own domain running through Cloudflare: when you connect the domain in Lovable, use the advanced option "Uses Cloudflare or similar proxy". Then install Knocklog on Cloudflare with one click from the Knocklog dashboard. You see every AI agent visit, whether it was genuine and the pages each one read.
- No Cloudflare: Lovable runs the server and agent visits are not visible to you. Install the leads script to count the people AI assistants send and the contacts they make. Ask Lovable in chat:
Add this line to the <head> of every page of the site,
and change nothing else:
<script src="https://api.knocklog.ai/leads.js" data-project="YOUR_PROJECT" async></script>Replace YOUR_PROJECT with the code shown in the Your plan tab of the Knocklog report.
See how your Lovable site treats AI agents
The check is free and needs no sign-up.
Sources
- Lovable: Custom MCP servers
- Lovable: FAQ (rendering and SEO)
- Lovable: Custom domain
- Knocklog's AI agent directory
Read next
- Knocklog vs Cloudflare AI Crawl Control vs Known Agents
- How to block AI training without disappearing from ChatGPT
- What is llms.txt and how to create yours
- An RB2B alternative that also sees the AI agents
- GPTBot vs ChatGPT-User vs OAI-SearchBot: what each OpenAI bot does
- How to see AI bot traffic on WordPress
- How to tell if the GPTBot, ClaudeBot or Googlebot that visited your site is fake
- How to see AI crawler traffic on a Next.js site on Vercel or Netlify
- How the 1,000 most-visited websites treat AI agents
- How to see ChatGPT traffic in Google Analytics 4
- Tools to see which AI agents and crawlers visit your website
- How to see which AI agents visit my website
- Directory of AI agents