Add a Website Feedback Widget With Claude Code and an MCP Server

Add a Website Feedback Widget With Claude Code and an MCP Server
If an AI assistant already works in your project, it can add a website feedback widget for you. It creates the site in your account, finds your layout file, puts the widget snippet in the right place and checks that a test ticket arrives. You approve the change before anything is committed.
This uses the Notedis MCP server, a remote MCP server you connect to with a URL and a token. MCP (Model Context Protocol) is the open standard that lets assistants such as Claude Code, Claude Desktop and Cursor call tools on other services. If you are looking for MCP server examples that do real work, this is a short one: a website feedback tool you can set up and run from a prompt.
1. Add the MCP server to Claude Code
Create a token under API Tokens in your account menu. For setup it needs the read and create permissions. Add update if the assistant should also be able to look up the snippet for a site that already exists.
Then add the MCP server. In Claude Code that is one command:
claude mcp add --transport http notedis https://notedis.com/mcp \
--header "Authorization: Bearer YOUR_API_TOKEN"
Claude Desktop, Cursor and other MCP clients take the same details as JSON:
{
"mcpServers": {
"notedis": {
"type": "http",
"url": "https://notedis.com/mcp",
"headers": { "Authorization": "Bearer YOUR_API_TOKEN" }
}
}
}
Check it with "List my Notedis sites". The MCP server is part of the Pro plan; see pricing.
2. Ask it to install the feedback widget
Open the project and say:
Set up Notedis on this site.
The server ships a skill called set-up-notedis that tells the assistant how to do this job properly. It loads the skill, then works through these steps.
It works out which site this is. It reads the README, package.json or composer.json, deployment config and sitemap settings to find the name and the production URL. It uses the real domain, not localhost or a .test address. If it cannot tell, it asks.
It checks for an existing site. It calls list-sites and compares domains, ignoring www., the scheme and a trailing slash. If the site is already in your account it reuses it. This is what stops you ending up with three copies of the same site.
It creates the site if needed. create-site takes a name and the full URL and returns the widget key and the embed snippet. If you are at your plan's site limit it tells you and stops.
It places the feedback widget snippet. First it searches the project for an existing install, so the widget is never added twice. Then it puts the snippet once, just before </body>, in the layout every page shares:
| Project | Where it goes |
|---|---|
| Laravel Blade | resources/views/layouts/app.blade.php or the layout component |
| Next.js | the end of <body> in app/layout.tsx |
| Statamic | the notedis/statamic-notedis addon, or layout.antlers.html |
| Craft CMS | the notedis/craft-notedis plugin, or _layout.twig |
| WordPress | the Notedis Widget plugin, or a child theme's footer.php |
| Astro, Nuxt, SvelteKit, Vue, React | the root layout or index.html |
Where a plugin exists it prefers the plugin, and asks first because that changes your dependencies.
It reports and stops. You see which file changed and the diff. It does not commit, push or deploy until you say so.
3. Verify
After you deploy, or on your local site, ask:
I sent a test ticket. Did it arrive?
The assistant calls list-feedback for the new site and shows the ticket with the page address it came from. If the button is missing, it checks whether the site is active and whether notedisConfig is in the page source.
If you would rather paste it yourself
Ask for the snippet instead:
Give me the Notedis snippet for example.com and tell me where it goes in Webflow.
That uses the install-widget skill. The assistant creates or finds the site, gives you the snippet exactly as Notedis returned it, and tells you where to paste it for your platform.
What it will not do
- Create a duplicate of a site you already have.
- Hard-code the site key in more than one place.
- Commit, push, deploy or publish without being told to.
Next
Once a site is live, the same connection can change its settings and work through its tickets. Full reference: MCP server docs.
Ready to simplify your feedback?
Start your 14-day free trial today. No credit card required.