Agent Servers for AI

Agentize your site with an agent server that lets AI agents search, read, and understand your website — hosted free by w2agent or self-hosted on your own infrastructure.

What is MCP?

The Model Context Protocol (MCP) is an open standard that lets AI agents interact with external tools and data sources. Instead of scraping your HTML, an AI agent connects to your MCP server and calls structured tools — like searching your site or reading a specific page.

Think of it as an API designed specifically for AI. Claude Desktop, Cursor, Windsurf, and other AI clients already support MCP natively.

How w2agent Agents Work

1. Crawl

w2agent crawls your site, extracts content, and converts pages to clean markdown.

2. Index

Pages are indexed for full-text search with titles, URLs, and structured content.

3. Serve

An agent endpoint goes live instantly — AI agents can connect and query your content.

Agentize in one command

npx w2agent agentize https://your-site.com

Hosted vs Self-Host

By default, w2agent hosts your agent server for free on w2agent.dev. If you need full control, you can self-host on Vercel or Cloudflare Workers.

HostedSelf-Host (Vercel)Self-Host (CF)
SetupOne click or CLI--self-host vercel--self-host cf
Infraw2agent.dev (free)Your Vercel accountYour CF account
UpdatesWebhooks / CLIRedeployRedeploy
Custom domainslug.w2agent.devYour domainYour domain

Auto-Detected Tools

Every agent server w2agent deploys exposes these tools automatically:

list-pagesReturns all indexed pages with titles and URLs.
get-pageFetches the full markdown content of a specific page.
search-siteFull-text search across all indexed pages.
search-faqSearches FAQ-style content extracted from your site.

Connecting AI Clients

Once deployed, add your agent to any compatible AI client:

Claude Desktop — claude_desktop_config.json

{
  "mcpServers": {
    "my-site": {
      "url": "https://my-site.agent.w2agent.dev"
    }
  }
}

Cursor — .cursor/mcp.json

{
  "mcpServers": {
    "my-site": {
      "url": "https://my-site.agent.w2agent.dev"
    }
  }
}

Keeping Content Fresh

Your agent server reflects the content at deploy time. To keep it current:

Webhooks

w2agent provides a webhook URL at deploy time. Wire it to your CMS (WordPress save_post, Shopify webhooks) to re-index on publish.

CLI update

Run npx w2agent mcp update to re-crawl and refresh the index on demand.

Platform plugins

The generated WordPress plugin and Next.js API route call the webhook automatically when content changes.

Get Started

Run an audit to get your w2agent score, then agentize your site in one click — or one command.

Score your site now

Get your free w2agent score and generate the files your site needs.

Get Your Score
Agent Servers for AI | w2agent