Skip to content

SEO audits in OpenCode via MCP

OpenCode reads remote MCP servers from opencode.json. Add Crawlwise and authenticate once with opencode mcp auth.

1. Add the server

Add the block below to opencode.json in your project (or ~/.config/opencode/opencode.json).

opencode.json

json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "crawlwise": {
      "type": "remote",
      "url": "https://crawlwise.site/mcp",
      "enabled": true
    }
  }
}

2. Sign in

The first tool call opens the Crawlwise sign-in page. Approve it and the tools stay connected. If your client cannot do OAuth, create a key at /account/api (Pro and above) and send it as Authorization: Bearer cw_live_….

3. Check it worked

Start OpenCode and ask it to list crawlwise tools.

4. No MCP? Pipe the CLI

The CLI works without an account for a first look (1 page a day). Its llm format is written for an agent: only defects, each citing its check.

bash
npx crawlwise audit https://example.com --format llm

Prompts to try

  • Audit https://example.com with crawlwise and fix the priority items. Re-audit until none are left.
  • Use crawlwise to check whether GPTBot, ClaudeBot and PerplexityBot can read https://example.com.
  • Crawl my verified site with crawlwise and list broken internal links and redirect chains.

The agent should fix only what is under priority. Items marked not measured are tests that returned no result, not defects.

OpenCode calls a hosted server type remote.

All agents · Integrations · MCP reference · Claude Code · OpenAI Codex · Gemini CLI · GitHub Copilot · ChatGPT · GitHub Action