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.
- 01Coding agentAsks for scores
- 02MCPStandard tool call
- 03PugRankRuns the checks
- 04ScoreReturned to the agent
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
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.
Add the MCP server
Add the PugRank MCP server to your coding assistant.
Approve the connection
Approve the connection once (OAuth).
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).
Manage connections
Manage connections under Account → AI assistants.
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
Stop reading audits. Start shipping fixes.
Run a free scan on your own site and see what PugRank would change. No write access needed.