What an agent can use
- The scan. No account or key. An agent can scan a site and read its score, checks and fix prompt. See the Scan API.
- Sites and runs. With your API key an agent can add a site, start a run, wait for it and read the report. See the Runs API.
- The skills and the prompt below. They teach an agent how to plan a good run and how to read the result.
Give your agent a key, safely
- Sign in, open your account menu and choose API keys. Create a key and copy it. It is shown once.
- Put it in the environment your agent runs in, as
AGENTFRENDLY_API_KEY. Do not paste it into the chat and do not commit it. - Revoke the key on the same screen when the agent no longer needs it.
An agent that follows our skills never asks you for the key. If the variable is missing, it tells you to set it and waits.
MCP server
https://agentfrendly.com/mcp speaks MCP over Streamable HTTP. Send the key as Authorization: Bearer $AGENTFRENDLY_API_KEY. Scanning works without a key.
{
"mcpServers": {
"agentfrendly": {
"type": "http",
"url": "https://agentfrendly.com/mcp",
"headers": { "Authorization": "Bearer ${AGENTFRENDLY_API_KEY}" }
}
}
}For Claude Code, run this in your project:
claude mcp add --transport http agentfrendly https://agentfrendly.com/mcp \
--header "Authorization: Bearer $AGENTFRENDLY_API_KEY"Tools: scan_site, list_sites, add_site, verify_site, list_agents, start_run, get_run, list_runs, get_report.
Starting a run spends runs from your account: tasks × agents × attempts, at most 30 per start and 10 a day. Runs are bought in packs, and only you can buy them, signed in on the website. Our skills tell the agent to show you the plan and the run count before it starts one, and to ask you to buy runs when the account is short.
Skills
- agentfrendly-runs: plan, start and read an agent run.
- agentfrendly-scan: scan a site and fix what the report finds.
To add one to a project for Claude Code, run this in the project folder:
mkdir -p .claude/skills/agentfrendly-runs && curl -sS https://agentfrendly.com/skills/agentfrendly-runs/SKILL.md -o .claude/skills/agentfrendly-runs/SKILL.mdOther agents: save the file where yours loads skills, or give it the file's address.
The prompt
Signed in, open Help in the top bar and choose Copy prompt for agent, or use the same button in the setup guide. Paste it into your agent. It carries the same instructions as the skills.