# PugRank MCP server: SEO fixes for custom code sites

URL: https://pugrank.vercel.app/platforms/mcp-custom-code

> Connect your coding agent over MCP to scan your site, read scores and fetch fixes to apply in your repo.

# Custom code sites are first-class

A coding agent in your repo uses the PugRank MCP server to analyse pages, then edits your code from PugRank’s recommendations. PugRank never writes to your repo.

[Get started →](https://app.pugrank.com)[See pricing](https://pugrank.vercel.app/pricing)

**In short:** The MCP server is PugRank’s route to every site that is not on a supported builder. Your coding agent edits your code from PugRank’s recommendations, giving the highest freedom of any connector. PugRank never writes to your repo.

## Let your coding agent do the work

Rather than PugRank writing to a CMS, your agent asks the MCP server for scores and recommendations, then edits your codebase. Custom-code sites get the same analysis as everyone else.

- Same scoring, recommendations and dashboard
- Your agent edits your code; PugRank never writes to your repo
- Highest freedom of any connector

Connector flow

Your repo + coding agentYour site

⇄  
MCP

Scoring · AI · DashboardPugRank backend

## What you can change and test

|  |  |
| --- | --- |
| Connector | MCP server |
| Write path | A coding agent working in your codebase uses the MCP server to get scores and recommendations and applies the changes directly in code. |
| Level of control | Highest: changes are made in the code itself. |
| A/B testing | Coming soon. Scheduled by default; simultaneous testing could follow as an option. |

## Connect, approve, done

Get started first, then add the MCP server to your coding assistant.

1. ### Add the MCP server

   Add the PugRank MCP server to your coding assistant.
2. ### Approve the connection

   Approve the connection once (OAuth).
3. ### Your assistant calls ten tools

   Your assistant calls ten tools: scan, read scores, fetch fixes. Credit-spending actions can need your approval; there is a 24-hour credit cap (default 20).
4. ### Manage connections

   Manage connections under Account → AI assistants.
5. ### Revoke any time

   Revoke a connection there any time.

## Custom code & MCP questions

What is MCP?

Model Context Protocol is an open standard that lets AI agents use external tools. PugRank’s MCP server exposes scans, scores and recommendations to your coding agent.

Does PugRank write to my repo?

No. Your agent does, under your control. PugRank provides the analysis and recommendations.

Which frameworks work?

Any, because changes are made in code by your agent. The analysis works on the rendered site.

## Related pages

[### WordPress

Plugin with backups and undo.

Read more →](https://pugrank.vercel.app/platforms/wordpress)[### Webflow (coming soon)

Scan works today. The app is coming soon.

Read more →](https://pugrank.vercel.app/platforms/webflow)[### Shopify

Theme-aware store app.

Read more →](https://pugrank.vercel.app/platforms/shopify)

## Stop reading audits. Start shipping fixes.

Run a free scan on your own site and see what PugRank would change. No write access needed.

[Get started →](https://app.pugrank.com)[Compare plans](https://pugrank.vercel.app/pricing)
