Three steps
Create an API key
In Rokapi, go to Settings → API & Access. The key carries your permissions: the role you hold on each project.
Add the server to Cursor
Add Rokapi to Cursor’s mcp.json file, either your project’s or your account’s. Then check that it shows up in the MCP settings.
Ask the agent
Cursor’s agent picks the Rokapi tools it needs: read a crawl, run a query, create a ticket.
Freelance and up
{
"mcpServers": {
"rokapi": {
"url": "https://app.rokapi.io/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
} Replace YOUR_API_KEY with the key you created in Rokapi. Keep it out of your Git repository: use your account’s mcp.json rather than the project’s.
SEO checks where the code gets written
Developers don’t need to open Rokapi to see what the crawl found. The agent queries the project with the key’s permissions.
- Before a release
- While you fix the code, ask the agent to check the latest crawl for pages on a template that have no title tag or return errors.
- Broken links, traced to the source
- The agent lists internal links that point to 404s, with the page that contains each one, so you can fix the faulty component.
- Rerun a crawl without switching tools
- After a fix, the agent can start a new crawl of the project and track its progress.
- Tickets for the SEO team
- What the agent finds goes into Rokapi’s SEO backlog, where the team can review, prioritize and track it.
What Rokapi won’t let it do
- Touch your live site. Through Rokapi, the agent only acts inside your Rokapi projects.
- Write to the database. Its SQL queries are read-only.
- Go beyond your permissions. A Viewer key can read the backlog but can’t write to it.
- Spend your AI credits. The reasoning happens in Cursor, with Cursor’s model.