MCP Servers for AI

Deploy an MCP 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 MCP Works

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 MCP endpoint goes live instantly — AI agents can connect and query your content.

Deploy in one command

npx w2agent mcp deploy https://your-site.com

Hosted vs Self-Host

By default, w2agent hosts your MCP 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 MCP 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 MCP server to any compatible AI client:

Claude Desktop — claude_desktop_config.json

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

Cursor — .cursor/mcp.json

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

Keeping Content Fresh

Your MCP 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 see your AI readiness score, then deploy your MCP server in one click — or one command.

Audit your site now

Get a free AI readiness score and generate the files your site needs.

Start Free Audit
MCP Servers for AI | w2agent