1. Home
  2. Platforms
  3. Custom code & MCP
Custom code & MCP

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.

In shortThe 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.
Request to scoreIllustrative
What it does

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
SIT-01
Your repo + coding agentYour site
MCP
PRK-01
Scoring · AI · DashboardPugRank backend
Request to scoreIllustrative
Control level

What you can change and test

ConnectorMCP server
Write pathA coding agent working in your codebase uses the MCP server to get scores and recommendations and applies the changes directly in code.
Level of controlHighest: changes are made in the code itself.
A/B testingComing soon Scheduled by default; simultaneous testing could follow as an option.
Linking

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.

FAQ

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.

Stop reading audits. Start shipping fixes.

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